Create a ProductVariant

Create a new ProductVariant resource.

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

This parameter indicates which Account owns the collections and resources reference by the request.

As a convenience, the slug me may be used in place of the account_id in any URL where it is
required. When me is used it will be replaced with the account_id of the current User.

string
required

Product ID

Body Params

Success

Create a ProductVariant.

string | null

A barcode, UPC, or ISBN number for the product.

string
enum

ISO 4217 currency (default USD).

Allowed:
string
enum

Indicates if orders can be placed when out of stock (default: 'deny')

Allowed:
integer
Defaults to 0

Units of available inventory.

string

The value of option_00 (default: 'Default')

string | null

The value of option_01 (e.g. XL)

string | null

The value of option_02 (e.g. Black)

integer
required

An integer that indicates the position of this product_variant in a list.

string
required

The price of the variant (using 'currency_code').

uuid

A unique identifier for the ProductImage associated with this resource.

string | null

A unique (to the account) identifier for the product variant

boolean
Defaults to true

Indicates if tax is charged when the variant is sold.

number

The weight of the product variant.

string
enum

The unit of measurement that applies to weight.

Allowed:
Response

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