| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Requires the Store plan feature (403 otherwise). Approves an order waiting for the seller's approval (approval_state pending_approval in Get Orders). This cannot be undone.
Approving creates the purchased products and emails the customer that the order is approved. For an order with physical items, the partner is emailed too, once the buyer has given any required post-purchase details. The order records the calling API key as its approver: approved_by is { "type": "api_key", "name": "<key name>" } (Unnamed API key when the key has no name).
Body
warranty_start_dates— optional object{ "<order_item_id>": "YYYY-MM-DD" }. Required for every warranty item of the order (warranty: truein Get Order); dates already stored for an item (warranty_start_atin Get Order) may be left out. Item ids are matched case-insensitively.
The body is checked before the order's state: a malformed body gets 422 even on an order that is already approved. On an already approved order, valid dates are ignored and the stored ones stay.
Success
200 OK — the order, in the shape of Get Order, with approval_state approved.
Approving an order that is already approved returns 200 OK with the order and changes nothing (no second email; approved_by keeps the first approver).
Errors
- 401 — missing or invalid API key.
- 403 — brand partner API key (read-only), or the partner has no Store plan feature.
- 404 — unknown order, or another partner's order. Returned before the body is checked.
- 422
Order does not require approval— the order was never held for approval. - 422
Order is not waiting for approval— e.g. the order is not paid yet, or is a purchase order not yet approved. - 422
warranty_start_dates must be an object— the value is not a JSON object (nullcounts as absent). - 422
Warranty start date of order item <id> must be a YYYY-MM-DD date— the value is not a real calendar date inYYYY-MM-DDform (for example2026-02-30or15/01/2026), or not a string (nullincluded). - 422
A warranty start date is required for every warranty product before the order can be approved— a warranty item has no date. - 422
Unknown order item <id>/Order item <id> is not a warranty product— a key ofwarranty_start_datesis wrong.
Brand partner keys are read-onlyA brand partner's API key (a partner account with a Brands page in the partner portal) can only send
GETandHEADrequests. Any other request returns 403{ "error": "Brand partner API keys are read-only: only GET and HEAD requests are allowed." }
