Link FBA Losses
POST/api/amazon/unified/fba-loss-events/link
Queues the loss linker for one or more Amazon accounts as a background job. Linking already runs after every reimbursement sync; use this to backfill from a start date. Requires the integrations sync permission.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Body:
integration_instance_ids(array of integers, required).from(string, optional, m/d/Y, not in the future) — link losses and payments from this date; defaults to the last 540 days.
Returns the tracked job IDs.
Request
Responses
- 200
- 401
- 403
- 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.
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.