Update Product

Updating an existing Product will set the product type to 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.

Path parameters

site_idstringRequiredformat: "uuid"
Unique identifier for a Site
product_idstringRequiredformat: "uuid"
Unique identifier for a Product

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Accept-VersionstringOptional
The API version

Request

The product to update
fieldsobjectOptional
Fields in your collection item

Response

Request was successful
_idstringformat: "uuid"
Unique identifier for collection
lastUpdatedstring or nullformat: "date-time"
The date the collection was last updated
createdOnstring or nullformat: "date-time"
The date the collection was create
namestring or null
Name given to Collection
slugstring or null
Slug of Collection in Site URL structure
singularNamestring or null

The name of one Item in Collection (e.g. “product” if the Collection is called “Product”)

fieldsobject or null
Fields in your product object

Errors