Introduction

Variants are a group of products that are of different sizes, flavors, or other differences. Here are some example variants you could use:

🍕A pizza variant containing a large, medium, and small pizza.

🥤A cola variant containing a regular cola and a diet cola.

🍦An ice cream variant containing chocolate ice cream and vanilla ice cream.

Example

Here's an example of a variant product with three variations.

Chicken tenders: €8

  • 3 pieces: + €0
  • 6 pieces: + €3
  • 9 pieces: + €5.50

The POS would receive the variant product and the specific chosen variant with any additional modifiers:

  • 3 pieces: €8 (shown below)
  • 6 pieces: €11
  • 9 pieces: €13.50
"items": [{
    "plu": "VAR-PROD-1",
    "name": "Chicken tenders",
    "sortOrder": 0,
    "price": 0,
    "quantity": 1,
    "productType": 1,
    "subItems": [{
        "plu": "VAR-1",
        "name": "3 Pieces",
        "sortOrder": 0,
        "price": 800,
        "quantity": 1,
        "productType": 1,
        "subItems": [{
            "plu": "SAUCE-02",
            "name": "Hot Sauce",
            "sortOrder": 0,
            "price": 50,
            "quantity": 1,
            "productType": 2,
            "subItems": [],
        }],
        "productTags": []
    }],
    "productTags": []
}]

For an example request, choose example 6 on the Insert/Update Products page.