Create Product & SKU
Create a new ecommerce product and defaultSKU. A product, at minimum, must have a single SKU.
To create a product with multiple SKUs:
- First, create a list of
sku-properties
, also known as product options. For example, a T-shirt product may have a “color”sku-property
, with a list of enum values: red, yellow, and blue, anothersku-property
may be “size”, with a list of enum values: small, medium, and large. - Once, a product is created with a list of
sku-properties
, Webflow will create a default SKU, which is always a combination of the firstenum
values of eachsku-property
. (e.g. Small - Red - T-Shirt) - After creation, you can create additional SKUs for the product, using the Create SKUs endpoint.
Upon creation, the default product type will be Advanced
, which ensures all Product and SKU fields will be shown to users in the Designer.
Required scope | ecommerce:write
Path parameters
site_id
Unique identifier for a Site
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
product
sku
publishStatus
Indicate whether your Product should be set as “staging” or “live”
Allowed values:
Response
Request was successful
product
The Product object
skus
A list of SKU Objects