Modifies a variant’s label, SKU, price, etc.
Requires the stores.products.update permission.
Your API key goes here
The store’s unique identifier.
The product’s unique identifier.
The variant’s unique identifier.
The form containing updated variant fields.
The form used to update a product variant's basic information.
The display name of the variant.
3 - 128The cost of the variant (non-negative).
0 <= x <= 100000Minimum quantity allowed per order (at least 1).
1 <= x <= 100000Maximum quantity allowed per order. Set to -1 for unlimited.
-1 <= x <= 100000Sort order for display (at least 1).
1 <= x <= 10000The type of product that is being sold
0, 1 Stock quantity available (non-negative).
0 <= x <= 2147483647The stock calculation modes that are used
0, 1, 2 Subscription billing period. Null for one-time products.
The object was successfully updated.
Represents a default generic response for API endpoints.
Indicates whether the operation or response was successful.
A descriptive message providing additional context or information about the response.
The error code (if there was an error) to use when referencing the error
Represents a configurable variant associated with a product, containing various properties such as pricing, stock, delivery options, and custom fields.