v1

latestOpenAPI 3.0.1Apache 2.02026-07-26193304444.4 KB
Variant Attributes

Create a Variant Attribute

Variant Attributes are required when creating variants. They are used to specify what properties make a particular SKU different to another. e.g. You may have an attribute 'Size' that lets you differentiate variants based on their size.

🔒 Requires: products:write scope

post/variant_attributes

Request body

namestring required

Example request

{
  "name": "Size"
}

Response

The created variant attribute.