Poq.SDK.Node

Home > @poq/sdk-sfcc > ExpressCheckoutService > getShippingMethods

ExpressCheckoutService.getShippingMethods() method

Method returns shipping methods available for customer.

Signature:

getShippingMethods(authInfo: AuthInfo, customerId: string, shipmentId?: string): Promise<PoqResponse<ShippingMethodsResponse>>;

Parameters

Parameter Type Description
authInfo AuthInfo The auth info to make request (credentials or token).
customerId string The customer id.
shipmentId string (Optional) Identifier of shipping (target).

Returns:

Promise<PoqResponse<ShippingMethodsResponse>>

Shipping methods available for customer.