Vai al contenuto principale
PATCH
Update Variant

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parametri del percorso

variant_id
string<uuid>
obbligatorio

Corpo

application/json
name
string | null
price
compare_at_price
sale_price
sale_start
string<date-time> | null
sale_end
string<date-time> | null
stock
integer | null
track_inventory
boolean | null
allow_backorder
boolean | null
weight
barcode
string | null
attributes
Attributes · object | null
is_active
boolean | null

Risposta

Successful Response

data
ProductVariantOut · object | null
meta
PaginationMeta · object | null
error
string | null
error_code
string | null