Update Product Field Mappings
PUT/api/faire/instances/:integrationInstance/mappings
Update the custom product field mappings for a Faire integration instance. The submitted array replaces the instance's entire custom mapping set — include every custom mapping you want to keep.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
Custom mappings override the built-in defaults when they target the same SKU.io field; defaults remain in effect for any SKU.io field not covered by a custom mapping.
Path Parameters:
integrationInstance- The ID of the integration instance
Request Body:
mappings(required, array) - The custom mapping listmappings[].listing_field(required, string) - Faire source field:name,brand_name,description,sku, orwholesale_pricemappings[].sku_field(required, string) - SKU.io destination field: a static field (sku,name,item_name,barcode,description,unit_cost,weight,weight_unit,brand), a pricing-tier field (price.{tier}.value), or an attribute field (attributes.{name})mappings[].parsers(optional, array) - Value-transformation rules applied in order when the mapping is resolved; each entry has arulename andargs
Response:
data.integration_instance_id- The integration instance IDdata.integration_name- The integration instance namedata.mappings- The new effective mapping list (defaults merged with the saved custom mappings)data.effective_mappings- Same merged list asmappingsmessage- Confirmation message
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 Entity
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.