Skip to main content
PATCH
Update Variant

Authorizations

Authorization
string
header
required

API Key. Example: sk_live_xxxxx or pk_live_xxxxx

Path Parameters

id
string
required

Resource ID

Body

application/json
sku
string
barcode
string
price
object
compare_at_price
object
cost_price
object
weight
integer
is_active
boolean
metadata
object

Response

200 - application/json

Success

id
string
product_id
string
sku
string
barcode
string
price
object
compare_at_price
object
cost_price
object
weight
integer

grams

is_active
boolean
option_values
object[]
images
object[]
inventory
object
metadata
object
created_at
string<date-time>
updated_at
string<date-time>