Poq.SDK.Node

Home > @poq/sdk-sfcc > IOrdersClient > putOrdersByID

IOrdersClient.putOrdersByID() method

Submits an order with a given order number, based on a prepared basket. The only considered value from the request body is basket_id.

Signature:

putOrdersByID(orderNo: string, body: Basket, options?: RequestOptions): Promise<PoqResponse<Order>>;

Parameters

Parameter Type Description
orderNo string The order number to assign to the new order.
body Basket  
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<Order>>