Poq.SDK.Node

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

ExpressCheckoutService.setShippingMethod() method

Method helps to set shipping method.

Signature:

setShippingMethod(authInfo: AuthInfo, customerId: string, shippingMethodId: string, shipmentId?: string): Promise<PoqResponse<ExpressCheckoutSummary>>;

Parameters

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.