Convert cart to order

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

FieldTypeDescription
orderNumbernumberUnique order number without prefixes/suffixes, e.g. 34
vendorOrderNumberstringOrder 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 StatusMeaning
400Request parameters are invalid
404The customer or any other linked object is not found in the store
500Cannot create an order because of an error on the server

Error response body (optional)

FieldTypeDescription
errorMessagestringError message
Language
Click Try It! to start a request and see the response here!