Products

Create product

Creates a product with appropriate subresources based on product type.

post/v2/commerce/products

Request

Headers

Authorizationstring required

API key or OAuth access token

User-Agentstring required

User Agent

Request body

OR
OR

Example request

{
  "variants": [
    {
      "pricing": {
        "basePrice": {
          "value": 49.99
        }
      }
    }
  ]
}

Response

The product was created successfully.

createdOnstring date-time required
descriptionstring
idstring required
isVisibleboolean
modifiedOnstring date-time required
namestring
storePageIdstring required
tagsstring[]
type'PHYSICAL' | 'SERVICE' | 'GIFT_CARD' | 'DIGITAL' required
urlstring
urlSlugstring

Changes

No recorded changes to this operation across all 1 revision of this API.