Match Unmatched Export
POST/api/purple-dot/:instance/unmatched-exports/:row/match
Matches an open unmatched export to a pre-order by hand. The pre-order's reserved demand moves onto the order's lines (keeping its status, PO coverage and priority), any allocation the order holds beyond its open quantity is released (weakest first), the pre-order line is marked exported, and the order is tagged purple-dot with its Purple Dot reference and payment status.
inventory:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Body fields:
- purple_dot_preorder_id (integer, required): a pre-order of this connection.
Errors: 404 when the row or pre-order belongs to another connection; 422 conflict when the row is no longer open; 422 validation errors for a missing or unknown pre-order.
Authentication: Requires a Bearer token. Requires the integrations.update permission.
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
Response Headers
Unprocessable Entity
Response Headers
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.