Home > @poq/sdk-sfcc > IBasketsClient > deleteBasketsByIDShipmentsByID
Removes a specified shipment and all associated product, gift certificate, shipping and price adjustment line items from a basket. You can’t remove a default shipment (id = “me”).
Signature:
deleteBasketsByIDShipmentsByID(basketId: string, shipmentId: string, 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 deleted |
options | RequestOptions | (Optional) Override http request option. |
Returns:
Promise<PoqResponse<Basket>>