Create Product & SKU
Adding a new Product involves creating both a Product Item and a SKU Item, since a Product Item has to have, at minimum, a SKU Item.
To create a new Product with multiple SKUs, you must:
- Create the Product and Default SKU using this endpoint, making sure to add
sku-propertiesin the product data. - You can’t add
sku-valuesto the SKU yet, since there are no enum IDs created yet. When this endpoint returns, it will have IDs filled in for thesku-propertiesenums. - With those IDs, update the default SKU with valid
sku-valuesand create any additional SKUs (if needed), with validsku-values. - You can also create the Product without
sku-propertiesand add them in later. - If you add any
skuproperties, the default SKU will default to the first value of each option.
Upon creation, the default product type will be Advanced. The product type is used to determine which Product and SKU fields are shown to users in the Designer and the Editor. Setting it to Advanced ensures that all Product and SKU fields will be shown. The product type can be edited in the Designer or the Editor.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
site_id
Unique identifier for a Site
Headers
Accept-Version
The API version
Request
The product and sku to create
product
The Product object
sku
The SKU object
Response
Request was successful
product
The Product object
sku
The SKU object
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error