Skip to main content
PATCH
/
variants
/
{id}
Update a variant
curl --request PATCH \
  --url https://api.arcuserp.com/v1/variants/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sku": "<string>",
  "barcode": "<string>",
  "variant_title": "<string>",
  "option1": "<string>",
  "option2": "<string>",
  "option3": "<string>",
  "price": 123,
  "cost": 123,
  "weight": 123,
  "weight_unit": "lb",
  "is_active": true,
  "metadata": {}
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.arcuserp.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key issued per entity via Settings > Developers > API Keys. Each key carries scopes (e.g. orders:read, products:write). Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.

Path Parameters

id
string<uuid>
required

Body

application/json
sku
string
barcode
string
variant_title
string
option1
string
option2
string
option3
string
price
number
cost
number
weight
number
weight_unit
enum<string>
Available options:
lb,
oz,
kg,
g
is_active
boolean
metadata
object

Response

Variant updated

product_variant row