Orders
POST
/api/v3/orders/batchUpsert a batch of orders
Creates or updates up to 1000 orders keyed on order number, one transaction each, so a bad record never rolls back the good ones. This is the endpoint for an ERP that re-sends: while an order is still unwaved and planned/pending the whole record (lines included) is replaced; once it is in work only priority, notes and shipBy are applied and the rest is reported in ignoredFields. Always 200 when the batch is well-formed; per-record outcomes are in results.
Request body (optional)
ordersobject[]required
ordersobject[]requiredorderNumberstringrequiredclientIdstring (uuid)nullableclientCodestringlocationIdstring (uuid)nullablelocationCodestringcustomerNamestringcustomerEmailstringnullablestatusenumplannedpending
priorityenumlownormalhighurgent
orderDatestringnullableshipBystringnullablereleaseAtstringnullablecarrierstringnullableservicestringnullableexternalRefstringnullablenotesstringnullablelinesobject[]
linesobject[]lineNointegerskustringrequiredqtyintegertotalItemsintegerResponses
200Per-order result
creatednumberrequiredupdatednumberrequiredfailednumberrequiredresultsobject[]required
resultsobject[]requiredindexnumberrequiredorderNumberstringrequiredstatusenumrequiredcreatedupdatederror
idstring (uuid)requiredignoredFieldsstring[]requirederrorstringrequiredSending requests from a browser
Open https://v3.revolutionstreetwxs.io/api/v3/docs to send requests to this endpoint with your API key.