Create SKU.io Product from Amazon Product
POST//:domain/api/amazon/:integrationInstance/products/:product/create-sku-product
Single-row variant of the bulk Create-SKU-Products endpoint. Used by the per-row Create SKU.io Product button in the unified mapping modal (Amazon parity with Faire/Shopify).
Behavior:
- If the Amazon product already has a mapping (
productListing), returns HTTP 422. - If a SKU.io
products.skurow already exists matching the Amazonseller_sku, the existing product is linked (no duplicate is created) —linked_existing: truein the response. - Otherwise, a new SKU.io product is created and mapped via
AmazonProductManager::createSkuProducts([$product->id]).
Returns HTTP 201 in both link and create cases, with the refreshed AmazonProductResource.
Named route: amazon.products.create-sku-product.
Request
Responses
- 201
- 422
Created
Response Headers
Content-Type
Unprocessable Entity
Response Headers
Content-Type