Create a Product Variant

Create a Product Variant associated with a Product. Each product variant must have a unique combination of Product Option values.

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

The ID of the Product.

Body Params

The details of the product variant to create.

string
required

The title of the product variant.

string

The unique SKU of the product variant.

string

The EAN number of the product variant.

string

The UPC number of the product variant.

string

A generic GTIN field of the product variant.

string

The Harmonized System code of the product variant.

integer
Defaults to 0

The amount of stock kept of the product variant.

boolean

Whether the product variant can be purchased when out of stock.

boolean
Defaults to true

Whether Nelo should keep track of the inventory of this product variant.

number

The wieght of the product variant.

number

The length of the product variant.

number

The height of the product variant.

number

The width of the product variant.

string

The country of origin of the product variant.

string

The Manufacturer Identification code of the product variant.

string

The material composition of the product variant.

metadata
object

An optional set of key-value pairs with additional information.

prices
array of objects
required

An array of product variant prices. A product variant can have different prices for each region or currency code.

prices*
options
array of objects
required

An array of Product Option values that the variant corresponds to.

options*
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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