Home > @poq/sdk-sfcc > IOrdersClient > postOrders
Submits an order based on a prepared basket. Note: If the basket has been submitted using Order Center (considered by it’s client id) the channel type will be set to “Call Center”. In case another channel type was set by a script before submitting the basket, the channel type will be reset to “Call Center” and a warning will be logged. The only considered value from the request body is basket_id.
Signature:
postOrders(body: Basket, options?: RequestOptions): Promise<PoqResponse<Order>>;
Parameter | Type | Description |
---|---|---|
body | Basket | |
options | RequestOptions | (Optional) Override http request option. |
Returns:
Promise<PoqResponse<Order>>