Sync Amazon Ads Spend
POST/api/amazon-ads/:integrationInstance/spend/sync
Dispatch an Amazon Ads Sponsored Products spend sync for this advertiser connection. Fire-and-forget: it queues a background job and returns the tracked-job log id so the frontend can follow progress via the tracked job log endpoints. The job is idempotent — re-syncing an overlapping window restates spend rather than double-counting it (Amazon revises attribution within ~14 days).
Body (all optional):
- profile_ids[]: limit to specific advertiser profile ids (default: the instance's selected profiles, falling back to all)
- start_date / end_date (Y-m-d): explicit window. Both required together; end_date must be >= start_date. Omit both for the default trailing 14-day window ending yesterday.
Requires Bearer token.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
Request
Responses
- 202
- 401
- 403
- 404
- 422
- 429
Accepted
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.
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.