Skip to main content

Map Store Product

POST 

/api/storefront/instances/:id/products/:id2/map

Map one store product to a SKU.io catalog product.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Body:

  • product_id — integer, the SKU.io product id. Required unless subscription_offering_id is sent; must exist in the SKU.io catalogue.
  • subscription_offering_id — integer. Accepted by validation only so the shared mapping payload can be sent unchanged, and then REJECTED with 422: this channel maps to catalog products only. Silently accepting it would unmap the row while reporting success.

Mapping is idempotent: a row that already points at a SKU.io product is re-pointed in place rather than duplicated.

Mapping also reaches backwards onto already-imported orders carrying this SKU, so orders that arrived before the mapping existed stop showing the line as unlinked — and any order that was held purely because of the missing mapping is released.

Returns 404 when the product belongs to a different connection.

Permission: integrations.update.

Authentication: Bearer token (session or PAT).

Request​

Responses​

OK

Response Headers
    Content-Type