Update a product variation

Updates an existing product variation.

Path Params
integer
required

The unique identifier of the product.

integer
required

The unique identifier of the product variation.

Body Params
float

The individual price for the product variation.

float

The cost price for the product variation. A value of -1 indicates it is not set.

float

The sale price for the product variation.

float

The reward points earned from purchasing the variation.

string

The SKU code for the product variation.

string

The global trade item number for the product variation.

string

The manufacturer's part number for the product variation.

float

The weight of the product variation.

integer

The stock quantity for the product variation.

integer

The image index for the product variation.

values
array of integers

List of option value IDs assigned to the variation.

values
Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json