Newer Version Available
Create Order (POST)
Use the Create Order API to create an order from a cart ID. When you
provide both the inputs, the cart ID takes precedence. This API runs in synchronous mode to
support only one order. The API takes a cart ID as a request and creates an order from a
webcart as per the requested resource.
- Resource
-
1/connect/consumer/checkout - Example URI
-
1https://yourInstance.salesforce.com/services/data/67.0/connect/consumer/checkout - Available version
- 66.0
- HTTP methods
- POST
- Request parameters for POST
-
Parameter Name Type Description Required or Optional Available Version cartID String Id of the cart. Required 66.0 - Request body for POST
-
1 2{ 3"cartId": "0a6xx000000039BAAQ", 4} - Response body for POST
-
1[ 2 { 3 "errors": [], 4 "orderId": "801xx000003GlM3AAK" 5}