Poq.SDK.Node

Home > @poq/sdk-sfcc > BasketsClient > putBasketsByIDBillingAddress

BasketsClient.putBasketsByIDBillingAddress() method

Sets the billing address of a basket.

Signature:

putBasketsByIDBillingAddress(basketId: string, useAsShipping?: boolean, customerAddressId?: string, body?: OrderAddress, options?: RequestOptions): Promise<PoqResponse<Basket>>;

Parameters

Parameter Type Description
basketId string The id of the basket to be modified.
useAsShipping boolean (Optional)
customerAddressId string (Optional)
body OrderAddress (Optional)
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<Basket>>