When you subscribe to Menu WebHooks from ShoppinPal, you will receive the menu item upon create/update/delete event.

WebHook Request HeaderValue
x-webhook-topicitem

Body

  • accountId - ID of the account-store combination in ShoppinPal's system.
  • sourceId - ID of the entity in the source system.
  • isInitial - Whether this is part of an initial synchronisation.
{
  "name": "Canned Coke",
  "description": "Best soda pop ever made",
  "price": {
    "currencyCode": "USD",
    "amount": 10.5
  },
  "status": {
    "saleStatus": "FOR_SALE",
    "suspendedUntil": "2022-01-03T11:40:02+05:30"
  },
  "categorySourceIds": [
    "b01485b0-034a-47c5-8a0a-0eeca08bf994"
  ],
  "modifierGroupSourceIds": [
    "f4c69056-3ae3-4517-9294-5ceec8df5f81"
  ],
  "photoSourceIds": [
    "c75d9460-5d48-423d-8d01-f825fd5b1672"
  ],
  "priceOverrides": [
    {
      "rules": [
        {
          "externalServiceSlug": "Zomato"
        }
      ],
      "currencyCode": "USD",
      "amount": 10.5
    }
  ],
  "photoUrls": [],
  "accountId": 1,
  "sourceId": "fa4f0192-4c4e-4455-9db8-61d428c34969",
  "isInitial": true
}