Create variant options
Upsert variant attribute definitions for a product (e.g. Size → [“S”,“M”,“L”]). Idempotent: existing options with the same Name are updated in-place.
Authentication
Authorizationstring
Format: ApiKey <your_key>
Path parameters
id
Product ID
Headers
Idempotency-Key
UUID to prevent duplicate POST operations
Request
This endpoint expects an object.
Options
Response
Variant options upserted
Status
0 = success, 1 = validation error, 2 = internal error
Allowed values:
