updateLegacyOrder
Use the SDK for application integration. This read-only reference covers Commerce, Customer Auth, Membership and Events.
All HTTP operationsTenant-admin write; server-derived financial states are rejected with 422, not accepted operator targets.
bearerAuthAuthorizationBearer <token>Public integration credentials: verified opaque sk01_ secret key or pat01_ personal access token; operation policy and read/write scopes still apply. These credentials are not Customer JWTs.
application/json- body
orderNumber*string1 <= lengthstatus*string"pending""paid""canceled""preparing""shipped""delivered""confirmed"Actual shaped success body
application/json- response
Actual authenticated Payload Order document. Relationship depth and field access vary. This is server-only legacy wire, not the canonical public DTO or a browser discovery promise.
id*stringcreatedAt?stringupdatedAt?stringorderNumber?stringstatus?stringfinancialStatus?stringtotalAmount?number|nullcurrency?string|nullcustomerSnapshot?shippingAddress?[key: string]?anyExamples may be generated from schemas; they are illustrative, not recorded successful API calls. Example snippets may omit required authentication headers.
curl -X POST 'https://api.01.software/api/orders/update' \ -H 'Content-Type: application/json' \ -d '{ "orderNumber": "string", "status": "pending"}'{ "id": "string", "createdAt": "string", "updatedAt": "string", "orderNumber": "string", "status": "string", "financialStatus": "string", "totalAmount": 0, "currency": "string", "customerSnapshot": { "name": "string", "email": "string", "phone": "string" }, "shippingAddress": { "countryCode": "string", "regionCode": "string", "postalCode": "string", "address": "string", "detailAddress": "string", "deliveryMessage": "string", "recipientName": "string", "phone": "string" }}