Skip to main content
PATCH
Error

Authorizations

Authorization
string
header
required

Management API token, sent as Authorization: Bearer <token>.

Path Parameters

product_id
string
required

Product ID

variant_id
string
required

Variant ID

app_slug
string
required

App slug

team_slug
string
required

Team slug

Body

application/json

Variant data

stock
object[]
required

Stock level of the variant

custom_fields
object

Custom fields - null or empty string removes the field, other values merge with existing

purchase_price
object
status
enum<string>

Status of the product

Available options:
active,
draft,
inactive
validate_stock
boolean
variant_dimensions
object
variant_group_id
string
variant_name
string

Name of the variant

Response

Variant updated successfully

data
object
details
string[]

Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes

success
boolean