Skip to main content

Start Content First Match

POST 

/api/integration-instances/:integrationInstance/content-sync/first-match

Compare every linked listing of this connection with the channel for the given fields, as a background job, before those fields are sent automatically. Each field is marked matching until the job finishes, then ready; read the result with Get Content First Match and decide with Decide Content First Match. A field compared again after automatic updates were turned back on compares only the listings that changed while they were off.

Required scope: integrations:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Body parameters:

  • fields (array of string, required, min 1, distinct) — the fields to compare: barcode, mpn, name, brand, product_type, attributes, images, weight, dimensions. Pricing fields (unit_cost, pricing, supplier_pricing) are not accepted.

Returns the background job id and its name (Content Sync First Match: <connection name>); poll the jobs API to track progress. A field this channel can't be sent is rejected with a 422 that gives the reason.

Requires integrations.manage_content_sync. Authentication: Requires Bearer token. Scope: integrations:write.

Request​

Responses​

OK

Response Headers
    Content-Type