added

New "kitchenName" attribute in POS Product/Order Model

A POS partner can now assign an alternate "kitchenName" to a product for it to be included in the order payload.

This can be used as a reference, for example, to display on printed kitchen checks or KDS screens.

The "name" field remains required, and unless modified (overridden) in Deliverect, continues to be the customer facing name shown for a product.

To set this alternate name via the Insert/update products endpoint, see the example below;

{
    "products": [
        {
            "productType": 1,
            "plu": "COLA1",
            "posCategoryIds": [
                "DRKS"
            ],
            "price": 1881,
            "name": "Coca Cola",
            "kitchenName": "Coke"
        }
    }

When an order is sent to the Order Notification webhook, items with a "kitchenName" will appear as in below example;

  "items": [
    {
      "_id": "666c2f4db4dfc3570cdfb438",
      "plu": "COLA1",
      "price": 380,
      "name": "Coca-Cola®",
      "kitchenName": "Coke",
      "subItems": [],
      "packaging": {},
      "productTags": []
    }
  ],