Poq.SDK.Node

Home > @poq/sdk-sfcc > IExpressCheckoutService > setShippingAddress

IExpressCheckoutService.setShippingAddress() method

Method helps to set shipping address.

Signature:

setShippingAddress(authInfo: AuthInfo, customerId: string, shippingAddress: Address, 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.
shippingAddress Address Shipping address.
shipmentId string (Optional) Identifier of shipping (target).

Returns:

Promise<PoqResponse<ExpressCheckoutSummary>>

Express checkout summary.