Skip to main content

Refresh Inventory from Faire

POST 

/api/faire/instances/:integrationInstance/inventory/fetch

Pull current inventory quantities from Faire into the local snapshot for a Faire 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 and returns — the refresh runs asynchronously
  • The job walks Faire's paginated products feed and reads each variant's available quantity, updating the cached Faire quantity and its fetched-at timestamp per listing
  • Works for both FBM and FBF instances
  • Progress can be monitored via the returned tracked_job_log_id

Response: Returns immediately with a tracked job log ID:

  • data.tracked_job_log_id - ID for monitoring the background refresh
  • message - Confirmation that the refresh started

Request

Responses

OK

Response Headers
    Content-Type