variant_collection object¶
A variant_collection object contains the properties that define a collection of product variants.
Variant Collection objects are managed by the /variant_collections endpoint.
variant_collection properties¶
The following are the properties of a variant_collection object.
name¶
| Property | name |
|---|---|
| Data type | string |
| Description | The name of this variant collection |
| Example | "Shoes" |
product_ids¶
| Property | product_ids |
|---|---|
| Data type | array of product_ids |
| Description | The IDs of all products that are members of this collection |
| Example | |
Example variant_collection object¶
{
"name": "Shoes",
"product_ids": [
3456,
4567,
5678
]
}