@plentymarkets/shop-api / getPreferredDeliveryLocationShippingProfiles
Function: getPreferredDeliveryLocationShippingProfiles() ​
getPreferredDeliveryLocationShippingProfiles(
context
):Promise
<Data
<PreferredDeliveryLocationShippingProfilesData
>>
Method getPreferredDeliveryLocationShippingProfiles - Used to get DHL location data.
Parameters ​
• context: PlentysystemsIntegrationContext
Returns ​
Promise
<Data
<PreferredDeliveryLocationShippingProfilesData
>>
Remarks ​
calls /rest/dhl-shipping/preferred-delivery/parcel-manager/available-shipping-profiles
Example ​
ts
const { data } = await useAsyncData(() => useSdk().plentysystems.getPreferredDeliveryLocationShippingProfiles());
Defined in ​
api/getPreferredDeliveryLocationShippingProfiles/index.ts:21