Unmap Single Variant
DELETE/api/faire/instances/:integrationInstance/products/:option/map
Removes the SKU.io product link for a single Faire variant by deleting the associated product_listings row. Idempotent — calling on a variant that wasn't mapped returns data.unmapped = false with status 200.
Path Parameters:
integrationInstance- Faire integration instance ID. Returns 404 if the variant doesn't belong to this instance.option- Faire product option (variant) ID.
Response:
data.unmapped(boolean) -trueif a mapping was deleted,falseif the variant wasn't mapped.message(string) - Human-readable status (Product unmappedorProduct was not mapped).
Errors:
404- The variant does not belong to the given integration instance.\n\nNote:faire_product_idis the Faire-issued product ID (e.g.p_3bz2tdhtkq), sourced from the parent FaireProduct. It is NOT the internalfaire_product_options.faire_product_idforeign key.
Request
Responses
- 200
Successful response