Home > @vsf-enterprise/sapcc-api > Endpoints > placeOrder

Endpoints.placeOrder() method

Authorizes the cart and places the order.

Signature:

placeOrder(context: SapccIntegrationContext, props: PlaceOrderProps): Promise<Order>;

Parameters

Parameter Type Description
context SapccIntegrationContext An auto-generated value prepended to the method as a first parameter.
props PlaceOrderProps An object containing necessary props for creating new order.

Returns:

Promise<Order>