Skip to content

Variants

A collection of variant-data for one product

Field Type Required Description
products array[object] List of variant values that identify the different variant products
characteristics array[Characteristic] A list of the available characteristics of the variants of this product
{
"products": [
{
"id": 123,
"hasOptions": false,
"characteristics": {
"1": "2"
},
"stock": {
"ignoreQuantity": false,
"quantity": 1,
"available": true,
"info": "Sofort lieferbar",
"orderable": true,
"minOrderQuantity": 0,
"maxOrderQuantity": 0
},
"availability": {
"state": "ok",
"text": "its ok"
}
}
],
"characteristics": [
{
"id": "1",
"label": "Color",
"values": [
{
"id": "2",
"label": "red"
}
]
}
]
}