Home > @poq/sdk-sfcc > ExpressCheckoutService > setShippingMethod
Method helps to set shipping method.
Signature:
setShippingMethod(authInfo: AuthInfo, customerId: string, shippingMethodId: string, shipmentId?: string): Promise<PoqResponse<ExpressCheckoutSummary>>;
Parameter | Type | Description |
---|---|---|
authInfo | AuthInfo | The auth info to make request (credentials or token). |
customerId | string | The customer id. |
shippingMethodId | string | Identifier of shipping method. |
shipmentId | string | (Optional) Identifier of shipping (target). |
Returns:
Promise<PoqResponse<ExpressCheckoutSummary>>
Express checkout summary.