How to handle Product Snoozing

Introduction

In Deliverect, a product can be snoozed to indicate it should be no longer available on ordering platforms for a defined period of time.

Snooze Webhooks

When a customer snoozes an item, a webhook event is delivered to a designated endpoint to ensure real-time availability is updated on their online menus.

Snoozed Status

Each product in the menu payload includes a boolean property "snoozed" which specifies if at the point of the menu being published, if the item is snoozed or not.

If you require information about the snooze period, you can reference the product.snoozeId and cross-reference this ID in the menu.snoozeProducts to retrieve additional details such as the start and end dates of the snooze period.

"products": {
    "65*******************73c": {
        "_id": "65*******************3c",
        "name": "Toasted Bagel",
                ..
                "plu": "P-BA-9PxS-2",
                ..
                "snoozed": true,
                "snoozeId": "65*******************de",
                ..
},
"snoozedProducts": {
    "65*******************b7": {
    "location": "61*******************af",
    "name": "Toasted Bagel",
    "plu": "P-BA-9PxS-2",
    "snoozeEnd": "yyyy-MM-dd HH:mm:ss.SSSSSSZ",
    "snoozeStart": "yyyy-MM-dd HH:mm:ss.SSSSSSZ"
    },

If you use multiple menus in one location (for different channels etc.) It's possible that a product snoozed on one menu is available on another menu in the same location.


Response

A snoozed product is unavailable for a set period, so this should be clear on the customer-facing menu. Two common approaches are shown below.

Unavailable state

A snoozed item can be visible but not available to select e.g. by greying out the product image.

🍔
Burger
$8.50
Sold Out
🍕
Pizza
$10.00

Back-in-stock estimate

Snooze requests include a snoozeEnd, so an estimate of when the item will be available again can be shown.

🍔
Burger
$8.50
Out of stock
until tomorrow
🍕
Pizza
$10.00

Hiding Snoozed Items
The examples above offer the best customer experience, but the key requirement is that snoozed items cannot be ordered. Removing them from view entirely is also acceptable.


Did this page help you?