post https://app.ecwid.com/api/v3//carts//place
Converts the abandoned cart into a completed order in an Ecwid store.
Access scopes
Requires the following access scope: create_orders
Request
Request body is empty for this endpoint.
Response
A JSON object of type 'CreateStatus' with the following fields:
CreateStatus
Field | Type | Description |
---|---|---|
orderNumber | number | Unique order number without prefixes/suffixes, e.g. 34 |
vendorOrderNumber | string | Order number with prefix and suffix defined by admin, e.g. ABC34-q |
Errors
In case of error, Ecwid responds with an error HTTP status code and, optionally, JSON-formatted body containing error description
HTTP codes
HTTP Status | Meaning |
---|---|
400 | Request parameters are invalid |
404 | The customer or any other linked object is not found in the store |
500 | Cannot create an order because of an error on the server |
Error response body (optional)
Field | Type | Description |
---|---|---|
errorMessage | string | Error message |