POST https://webhook.example.com
application/json

Body

  • accountId string Required

    The ID of the customer account

  • locationId string Required

    The ID of a specific location in the customer account

  • channelLinkId string Required

    The unique id of the store on the channel platform

  • operations array[object] Required
    Hide operations attributes Show operations attributes object
    • action string

      The action to perform on the items

      Values are snooze or unsnooze.

    • data object
      Hide data attribute Show data attribute object
      • items array[object]
        Hide items attributes Show items attributes object
        • plu string Required

          The unique identifier (Price Look-Up) of the item

        • snoozeStart string(date-time)

          When snooze status should begin in UTC

        • snoozeEnd string(date-time)

          When snooze status should end in UTC

Responses

  • 200

    Ok

  • 400

    Not Found

POST /yourwebhook.com/snooze
Request examples
{
  "accountId": "5b****71c6489f0029****d4",
  "locationId": "5c****ecc6489f0001****b8",
  "operations": [
    {
      "data": {
        "items": [
          {
            "plu": "PIE1",
            "snoozeEnd": "2020-03-24T22:21:54Z",
            "snoozeStart": "2020-03-24T16:21:54Z"
          },
          {
            "plu": "MSB1",
            "snoozeEnd": "2020-03-24T22:21:54Z",
            "snoozeStart": "2020-03-24T16:21:54Z"
          }
        ]
      },
      "action": "snooze"
    }
  ],
  "channelLinkId": "5e****abc11dec0001****9b"
}
{
  "accountId": "5b****71c6489f0029****d4",
  "locationId": "5c****ecc6489f0001****b8",
  "operations": [
    {
      "data": {
        "items": [
          {
            "plu": "PIE1",
            "snoozeEnd": "2020-03-24T22:21:54.955000Z",
            "snoozeStart": "2020-03-24T16:21:54.955000Z"
          }
        ],
        "allSnoozedItems": [
          {
            "plu": "PIE1",
            "snoozeEnd": "2020-03-24T22:21:54.955000Z",
            "snoozeStart": "2020-03-24T16:21:54.955000Z"
          },
          {
            "plu": "MSB1",
            "snoozeEnd": "2020-03-24T22:21:54.955000Z",
            "snoozeStart": "2020-03-24T16:21:54.955000Z"
          }
        ]
      },
      "action": "snooze"
    }
  ],
  "channelLinkId": "5e****abc11dec0001****9b"
}
{
  "accountId": "5b****71c6489f0029****d4",
  "locationId": "5c****ecc6489f0001****b8",
  "operations": [
    {
      "data": {
        "items": [
          {
            "plu": "PIE1",
            "snoozeEnd": "2020-03-24T22:21:54.955000Z",
            "snoozeStart": "2020-03-24T16:21:54.955000Z"
          },
          {
            "plu": "MSB1",
            "snoozeEnd": "2020-03-24T22:21:54.955000Z",
            "snoozeStart": "2020-03-24T16:21:54.955000Z"
          }
        ],
        "allSnoozedItems": []
      },
      "action": "unsnooze"
    }
  ],
  "channelLinkId": "5e****abc11dec0001****9b"
}