Update SKU

PATCH

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

Request

This endpoint expects an object.
skuobjectRequired

The SKU object

publishStatus"staging" or "live"OptionalDefaults to staging
Allowed values: staginglive

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

Response

Request was successful

idstringOptional

Unique identifier for the Product

cmsLocaleIdstringOptional

Identifier for the locale of the CMS item

lastPublisheddatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

The date the Product was last published

lastUpdateddatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

The date the Product was last updated

createdOndatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

The date the Product was created

fieldDataobjectOptional

Standard and Custom fields for a SKU

Errors