Home > @poq/sdk-sfcc > ExpressCheckoutService > setShippingAddress
Method helps to set shipping address.
Signature:
setShippingAddress(authInfo: AuthInfo, customerId: string, shippingAddress: Address, shipmentId?: string): Promise<PoqResponse<ExpressCheckoutSummary>>;
| 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.