Updated Orders API
over 3 years ago by lance
The rules for returning the id
value when creating an order via API/orders for stores with consecutiveOrderIds
enabled have changed.
Now the internal id value is passed to the consecutiveOrderIds
in the id
field instead of "-1" value. Thus:
If the new number format of the order IDs is enabled in the store, then Ecwid will pass order ID value in the orderid
field.
If the consecutive old number format of the order IDs is enabled in the store, then Ecwid will send a response with the internal order ID value in the id
field.