Docs
Open Revolution St
Orders
POST/api/v3/orders/batch

Upsert 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
orderNumberstringrequired
clientIdstring (uuid)nullable
clientCodestring
locationIdstring (uuid)nullable
locationCodestring
customerNamestring
customerEmailstringnullable
statusenum

plannedpending

priorityenum

lownormalhighurgent

orderDatestringnullable
shipBystringnullable
releaseAtstringnullable
carrierstringnullable
servicestringnullable
externalRefstringnullable
notesstringnullable
linesobject[]
lineNointeger
skustringrequired
qtyinteger
totalItemsinteger

Responses

200Per-order result
creatednumberrequired
updatednumberrequired
failednumberrequired
resultsobject[]required
indexnumberrequired
orderNumberstringrequired
statusenumrequired

createdupdatederror

idstring (uuid)required
ignoredFieldsstring[]required
errorstringrequired

Sending requests from a browser

Open https://v3.revolutionstreetwxs.io/api/v3/docs to send requests to this endpoint with your API key.

esc