POST https://api.storenvy.com/v1/products/:product_id/variants

Create a Variant for a Product.

Required Parameters

name

The name of the Variant.

full_quantity

The number your store's stock bars should consider as "full".

in_stock

The amount currently in stock of this Variant.

Optional Parameters

position

Move to the top or bottom of list. Accepted values: "top" or "bottom". Defaults to last position.

sku

String that is used to identify your Variant for your inventory tracking purposes.

override_cents

Specify a unique price for this Variant that differs from the Product's price.

has_override_price

(true or false) Indicates that the variant has an override price. Must be sent as true when setting the Variant's override_cents. If set to false the Variant price will be reset to that of its Product.

The Storenvy API is in private beta.
Be one of the first to get access.

Request a Beta Invite