Skip to main content

Get Raw Data from Faire (Variant)

GET 

/api/faire/instances/:integrationInstance/products/:option/raw

Lazy-loaded raw payload from Faire for a single variant's parent product. Used by the Faire variant detail page's collapsible 'Raw Data from Faire' panel — only fetched when the panel is opened.

The response is the contents of faire_products.raw_data (the JSON body as Faire returned it during the most recent product sync). This endpoint is intentionally separate from the variant detail endpoint to keep the page snappy: raw_data can be ~50 KB per product.

Response:

  • data — the raw JSON object from Faire, or null if the product has no cached raw data yet

404 conditions:

  • The variant doesn't belong to the supplied integration instance

Request

Responses

Successful response