Skip to navigation

Update product variant

Update a product variant.

Authentication

AuthorizationBearer

Authorization using a Mailchimp API key (a.k.a. Bearer token)

OR
AuthorizationBearer
Authorization using OAuth

Path parameters

store_idstringRequired
The store id.
product_idstringRequired
The id for the product of a store.
variant_idstringRequired
The id for the product variant.

Request

Information about a specific product variant.
backordersstringOptional
The backorders of a product variant.
image_urlstringOptional
The image URL for a product variant.
inventory_quantityintegerOptional
The inventory quantity of a product variant.
pricedouble or stringOptional
skustringOptional

The stock keeping unit (SKU) of a product variant.

titlestringOptionalformat: "\S">=1 character
The title of a product variant.
urlstringOptional
The URL for a product variant.
visibilitystringOptional
The visibility of a product variant.

Response

This endpoint returns an object.
backordersstringOptional
The backorders of a product variant.
created_atdatetimeOptionalRead-only
The date and time the product was created in ISO 8601 format.
idstringOptionalRead-only
A unique identifier for the product variant.
image_urlstringOptional
The image URL for a product variant.
inventory_quantityintegerOptional
The inventory quantity of a product variant.
pricedoubleOptional
The price of a product variant.
skustringOptional

The stock keeping unit (SKU) of a product variant.

titlestringOptional
The title of a product variant.
updated_atdatetimeOptionalRead-only
The date and time the product was last updated in ISO 8601 format.
urlstringOptional
The URL for a product variant.
visibilitystringOptional
The visibility of a product variant.