Poq.SDK.Node

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

BasketsClient.deleteBasketsByIDShipmentsByID() method

Removes a specified shipment and all associated product, gift certificate, shipping and price adjustment line items from a basket. You cant remove a default shipment (id = “me).

Signature:

deleteBasketsByIDShipmentsByID(basketId: string, shipmentId: string, options?: RequestOptions): Promise<PoqResponse<Basket>>;

Parameters

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>>