Update SKU

Update a specified SKU.

Updating an existing SKU will set the Product type to Advanced, which ensures all Product and SKU fields will be shown to users in the Designer.

Required scope | ecommerce:write

Path parameters

site_idstringRequired

Unique identifier for a Site

product_idstringRequired

Unique identifier for a Product

sku_idstringRequired

Unique identifier for a SKU

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
skuobjectRequired

The SKU object

publishStatusenumOptionalDefaults to staging

Indicate whether your Product should be set as “staging” or “live”

Allowed values:

Response

Request was successful

idstring

Unique identifier for the Product

lastPublisheddatetime

The date the Product was last published

lastUpdateddatetime

The date the Product was last updated

createdOndatetime

The date the Product was created

fieldDataobject

Standard and Custom fields for a SKU

cmsLocaleIdstringOptional

Identifier for the locale of the CMS item

Errors