Home > @poq/sdk-sfcc > IBasketsClient > patchBasketsByIDShipmentsByID
Updates a shipment for a basket. The body can include updated values for the following properties: the id the shipping address the shipping method gift boolean flag gift message custom properties
Signature:
patchBasketsByIDShipmentsByID(basketId: string, shipmentId: string, body: Shipment, options?: RequestOptions): Promise<PoqResponse<Basket>>;
Parameter | Type | Description |
---|---|---|
basketId | string | the id of the basket to be modified |
shipmentId | string | the id of the shipment to be modified |
body | Shipment | |
options | RequestOptions | (Optional) Override http request option. |
Returns:
Promise<PoqResponse<Basket>>