Skip to main content

Sync Products

POST 

/api/faire/instances/:integrationInstance/sync-products

Trigger a product catalog sync from Faire for a specific integration instance.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Path Parameters:

  • integrationInstance - The ID of the integration instance

Behavior:

  • Dispatches a background job immediately
  • The job pulls the full product catalog from the Faire API, including product options (variants) and current inventory levels
  • Multi-tenant safety: Products and variants are upserted on the composite (integration_instance_id, faire_product_id) / (faire_product_id, faire_variant_id) keys, so two sibling instances on the same brand cannot stomp each other's rows.
  • Progress can be tracked via the returned tracked_job_log_id

Response: Returns immediately with a tracked job log ID.

Request

Responses

OK

Response Headers
    Content-Type