Download Product Mappings CSV
GET/api/faire/instances/:integrationInstance/products/csv-mappings
Exports Faire variant → SKU.io product mappings as a CSV file.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
The export is the first half of a round trip: edit the mapped_sku column in a spreadsheet and post the file back to POST .../products/csv-mappings to apply it. The mapped_sku column already carries the CURRENT mapping, so re-uploading an unedited export changes nothing.
scope=unmapped is the most useful starting point — it returns exactly the variants that still have no SKU.io product linked, with an empty mapped_sku column to fill in.
Path Parameters:
integrationInstance- Faire integration instance ID.
Columns:
faire_variant_id- Faire-issued variant ID. The key the upload matches on.faire_product_name- Parent product name (context only, ignored on upload).faire_variant_name- Variant name (context only, ignored on upload).wholesale_price- Faire wholesale price (context only, ignored on upload).faire_sku- The SKU code Faire holds for the variant (context only, ignored on upload).mapped_sku- The linked SKU.io product code. This is the editable column.
Response: text/csv attachment named faire-product-mappings-{scope}-{YYYY-MM-DD}.csv.
Errors:
422- No variants matched the requested scope (e.g. every variant is already mapped).
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.