Compare Existing Products Content
POST/api/integration-instances/:integrationInstance/content-sync/compare-existing
Bring the products already imported from this integration instance in line with the channel, as a background job. Runs whether or not ongoing content sync is on, so the catalog can be brought up to date before sync is turned on.
integrations:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Body parameters:
mode(string, required) —compareruns a full comparison: every difference on every governed field in scope is handled according to that field's ownership and auto-apply settings (applied, raised for review, recorded, or a conflict).fill_emptyonly fills empty catalog fields with the channel's value, without review; nothing else is recorded.fields(array of string, optional, min 1, distinct) — limit the run to these governed fields: barcode, mpn, name, brand, product_type, attributes, images, weight, dimensions, unit_cost, pricing, supplier_pricing. Omit or send null for every field.
The run's outcome is recorded under comparisons in the content sync overview (GET /api/integration-instances/{integrationInstance}/content-sync-overview), keyed by mode and fields. Returns the background job id and its name (Content Sync Full Comparison or Content Sync Fill Empty Fields); poll the jobs API to track progress.
Requires integrations.manage_content_sync. Authentication: Requires Bearer token. Scope: integrations:write.
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.
Unprocessable Content
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.