Update order status
Transitions the order identified by orderId to a new status. Only PREPARED, CANCELED, and FULFILLED are accepted by this endpoint. When transitioning to CANCELED, you may include the optional X-Event-Id header to acknowledge a cancellation that the platform requested via the intent-to-cancel webhook. The order lifecycle is asynchronous, so a successful call returns 202 Accepted. Rate limit: 32 requests per minute.
Request
- Base URLhttps://partners.tryotter.com
- AuthOAuth 2Authorization code/v1/auth/oauth2/authorizeClient credentialsToken URL/v1/auth/tokenScopesorders.update
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The external order identifier supplied by your app in externalIdentifiers.id when the order was created.
Headers
The unique identifier of the store in your app. This ID, along with the Application ID, will be used to match the correct store when performing operations. It cannot be longer than 255 characters and must only contain printable ASCII characters. During on-boarding, this ID will be similar to onboarding:905bb725-b141-4a9b-832a-1f254f772c94 (where the UUID is the Internal Store ID). During off-boarding, this field will be filled with the last known Store ID, or with an empty string, in case none is found. In that case, please fall back to the provided internalStoreId (a.k.a. Sku-Sku ID).
Optional unique identifier of the event that this callback refers to.
Request body
Response
The order status was successfully accepted.
Changes
No recorded changes to this operation across all 1 revision of this API.