Skip to main content
POST
Creates a product; when no status is provided it is created with status proposed.
When the product request flow is enabled, status may only be draft or proposed. Publishing requires operator approval.

Query parameters

string
Comma-separated fields to include in the returned product. Prefix with +/- to add to or remove from the defaults.

Body parameters

string
required
The product’s title.
string
The product’s subtitle.
string
The product’s description.
string
default:"proposed"
One of draft, proposed, published, rejected. Restricted to draft / proposed when the product request flow is enabled.
boolean
default:"false"
Whether the product is a gift card.
boolean
default:"true"
Whether discounts can apply to the product.
object[]
string
URL of the product’s thumbnail image.
string
The product’s URL handle; generated from the title when omitted.
string
ID of the product in an external system.
string
ID of the product type.
string
ID of the collection the product belongs to.
object[]
object[]
object[]
object[]
Product attribute assignments; each entry references an existing attribute by id or defines one inline by title.
object[]
number
Weight of the product.
number
Length of the product.
number
Height of the product.
number
Width of the product.
string
Harmonized System code.
string
Manufacturer ID code.
string
Country of origin.
string
Material of the product.
object
Custom key-value pairs.
object
Extra data passed to workflow hooks.

Response

object