Результати інших повідомлень від POS системи
Header parameters
restoidstringOptional
restoid
Body
additionalInfoobject · JsonNodeOptional
partner.idstringOptional
partner.id
plugin.compilation.timestampstringOptional
plugin.compilation.timestamp
plugin.versionstringOptional
plugin.version
rIDstringOptional
Ідентифікатор запиту в системі Shake To Pay
restaurant.license.date.endstringOptional
restaurant.license.date.end
restaurant.versionstringOptional
restaurant.version
Responses
200
Запит отримно та оброблено успішно
No content
post
/callback/versionInfoPOST /callback/versionInfo HTTP/1.1
Host: api.shaketopay.com.ua
Content-Type: application/json
Accept: */*
Content-Length: 336
{
  "additionalInfo": {},
  "partner.id": "text",
  "plugin.compilation.timestamp": "text",
  "plugin.version": "text",
  "rID": "text",
  "restaurant.license.date.end": "text",
  "restaurant.version": "text",
  "systemInfo": "Look for payload example:/callback/versionInfo",
  "updateInfo": [
    {
      "enabled": true,
      "lastRunTime": "text",
      "lastTaskResult": null,
      "taskName": "text"
    }
  ]
}200
Запит отримно та оброблено успішно
No content
Header parameters
restoIdstringRequired
Ідентифікатор ресторану
Body
rIDstringOptionalExample: 
Ідентифікатор запиту в системі Shake To Pay
Look for payload example:/callback/menuInfoResponses
200
Запит отримно та оброблено успішно
No content
post
/callback/menuInfoPOST /callback/menuInfo HTTP/1.1
Host: api.shaketopay.com.ua
restoId: text
Content-Type: application/json
Accept: */*
Content-Length: 1688
{
  "dishes": [
    {
      "category": "text",
      "categoryId": "text",
      "description": "Фірмове блюдо",
      "groupId": "c6456aba-2f4e-410c-b2fe-03ae28896b98",
      "groupModifiers": [
        {
          "childModifiers": [
            {
              "defaultAmount": 1,
              "id": "d7f7b5cb-2675-4273-bd70-77ad6ec7977d",
              "maxAmount": 2,
              "minAmount": 1,
              "required": false
            }
          ],
          "childModifiersHaveMinMaxRestrictions": true,
          "defaultAmount": 1,
          "free": true,
          "freeAmount": 3,
          "id": "d7f7b5cb-2675-4273-bd70-77ad6ec7977d",
          "maxAmount": 2,
          "minAmount": 1,
          "required": false
        }
      ],
      "id": "9b4f3e6c-71b5-479f-88d5-61c6739c939a",
      "isActive": true,
      "menuSections": [
        "text"
      ],
      "modifierSchemeId": "text",
      "modifiers": [
        {
          "defaultAmount": 1,
          "freeAmount": 3,
          "id": "d7f7b5cb-2675-4273-bd70-77ad6ec7977d",
          "maxAmount": 2,
          "minAmount": 1,
          "required": false
        }
      ],
      "name": "Піца Гавайська",
      "price": 5.1573,
      "scale": {
        "defaultSize": {
          "id": "text",
          "kitchenName": "text",
          "menuIndex": 1,
          "name": "text"
        },
        "id": "text",
        "name": "text"
      },
      "taxCategory": "text",
      "taxCategoryId": "text",
      "type": "Dish",
      "unit": "кг.",
      "vendorCode": "text"
    }
  ],
  "groupModifiers": [
    {
      "id": "text",
      "name": "text"
    }
  ],
  "groups": [
    {
      "id": "c6456aba-2f4e-410c-b2fe-03ae28896b98",
      "menuIndex": 3,
      "name": "Другі страви",
      "parentId": "132d2699-a6ec-44fc-8ef7-8dd943990817"
    }
  ],
  "modifiers": [
    {
      "category": "text",
      "categoryId": "text",
      "description": "к нашему фирменному блюду",
      "groupId": "202f056a-6a35-46b4-8952-3508af724764",
      "id": "f14da21a-5be9-4736-9ece-420bd310bc8a",
      "isActive": true,
      "name": "Ветчина",
      "price": 20.3629,
      "scale": {
        "defaultSize": {
          "id": "text",
          "kitchenName": "text",
          "menuIndex": 1,
          "name": "text"
        },
        "id": "text",
        "name": "text"
      },
      "taxCategory": "text",
      "taxCategoryId": "text",
      "unit": "кг.",
      "vendorCode": "text"
    }
  ],
  "rID": "Look for payload example:/callback/menuInfo"
}200
Запит отримно та оброблено успішно
No content
Last updated