Poq.SDK.Node

Home > @poq/sdk-sfcc > IBasketsClient > putBasketsByIDShipmentsByIDShippingMethod

IBasketsClient.putBasketsByIDShipmentsByIDShippingMethod() method

Sets a shipping method to a specific shipment of a basket.

Signature:

putBasketsByIDShipmentsByIDShippingMethod(basketId: string, shipmentId: string, body: ShippingMethod, 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 modified
body ShippingMethod  
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<Basket>>