Update SKU

Updating an existing SKU will set the product type to Advanced for the product associated with the SKU. 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
sku_idstringRequiredformat: "uuid"
Unique identifier for a SKU

Headers

AuthorizationstringRequired

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

Accept-VersionstringOptional
The API version

Request

The SKU to update
skuobjectOptional
The SKU object

Response

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

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

Errors