Random Order IDs
It’s reflected in the API and the Ecwid UI. From now on, the new fields (‘id’, ‘orderId’) will be used instead of the old fields (‘orderNumber’, ‘vendorNumber’ and ‘id’ in Webhook events) and it requires appropriate changes in your applications.
The changes are made to the following parts of our API:
-
New order ID format - now it is ‘string’ instead of ‘number’.
-
New id field instead of orderNumber and vendorOrderNumber fields in Ecwid REST API’s
GET/PUT/DELETE /orders endpoint; -
New orderId field in the response to the ‘Create order (POST)’ request;
-
New orderId field in Webhook events;
-
Old vendorOrderNumber and orderNumber are deprecated from now on.
To keep up with the changes in the Ecwid API, please, read the manual and go through the list of must-make changes: Ecwid API changes from Sep, 2020