Skip to main content

Create SKU Product from WooCommerce Product

POST 

//:domain/api/woo-commerce/:integrationInstance/products/:product/create-sku-product

Create a new SKU product from a WooCommerce listing's data and map it. If a SKU product with the same SKU already exists, the existing one is linked instead of creating a duplicate (response includes linked_existing=true).

Delegates to WooCommerceProductManager::createSkuProducts() which handles product creation, pricing, and listing.

Returns 422 if the WooCommerce product is already mapped — unmap it first.

Authentication: Requires Bearer token.

Request

Responses

Created

Response Headers
    Content-Type