Create a Product Variant

Add a new variant to an existing product. Use this endpoint to expand a product's available options by adding new combinations of attributes (e.g., a new size or color). Each variant can have its own SKU, price, weight, and stock quantity.

Required fields and supported options vary by platform. Some platforms require attribute values to be pre-defined before variants can be created.

Note: Refer to the platform-specific endpoint for the exact request body schema.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Available platforms

This endpoint is supported by 13 platforms. Click on each platform to see its specific required fields and validation rules.

BigCommerce · eBay v1 · Ecart · Ecwid · Etsy · Jumpseller · PrestaShop · Shopify · Shoplazza · Squarespace · Tienda Nube · Weebly · WooCommerce

Required fields vary by platform. Some platforms require attribute options to be pre-defined before variants can be created. See the platform-specific endpoint for requirements.

Path Params
string
required

The unique identifier of the parent product.

Body Params

Variant data to create. Required fields and available properties vary by platform.

string

Stock keeping unit code for this variant. Recommended for inventory management.

number

Variant price. Overrides the parent product price for this specific configuration.

number

Compare-at price for this variant to show a strikethrough discount. Optional.

integer

Available inventory quantity for this variant.

number

Variant weight. Units depend on the platform's settings.

string

Barcode value (EAN, UPC, ISBN, etc.) for this variant. Optional.

attributes
array of objects

Attribute name-value pairs that define this variant (e.g., [{"name": "Size", "value": "Large"}, {"name": "Color", "value": "Red"}]).

attributes
Response

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