Home > @poq/sdk-sfcc > IBasketsClient > postBasketsByIDShipments
Creates a new shipment for a basket. The created shipment is initialized with values provided in the body document and can be updated with further data API calls. Considered from the body are the following properties if specified: the id the shipping address the shipping method gift boolean flag gift message custom properties
Signature:
postBasketsByIDShipments(basketId: string, body: Shipment, options?: RequestOptions): Promise<PoqResponse<Basket>>;
Parameter | Type | Description |
---|---|---|
basketId | string | the id of the basket to be modified |
body | Shipment | |
options | RequestOptions | (Optional) Override http request option. |
Returns:
Promise<PoqResponse<Basket>>