Skip to main content
PATCH
Error

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 value removes the field, non-null merges 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