Approve Order
POST/api/portal/approvals/:approval/approve
Approve the current level of an approval request. When the final level approves, the request converts to a draft order (its id is returned) and the originating cart is emptied. Only an entitled approver for the current level may act.
Called by a B2B portal buyer with the bearer token POST /api/portal/auth/login returns (or the buyer's feed key) — not with a staff Personal Access Token.
Held dropship orders. Final approval of a held dropship order re-checks the account before placing it, and places it atomically: the order, its dropship details and the approval's final state are written together, and approving an already-finalised request returns 422 already_finalized without creating a second order. These checks return 422 and leave the request pending (it can be approved once fixed, or rejected): dropship_not_enabled (dropship was turned off for the account, or for the order's intake route), duplicate_retailer_order (an open order already carries the retailer order number), credit_hold, exceeds_credit_limit (the order's goods, dropship fee and shipping are checked against available credit at approval time).
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Validation failed — the body is a field → messages map (Laravel shape) or the platform envelope with a stable machine-readable code. Fix the payload and resubmit.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.