Menu Update (Async)

For channels configured to handle menu publish requests asynchronously, this endpoint is used to provide the final menu update status. Channel partners should POST to the provided "callback" endpoint with the final menu update status, giving customers full visibility on menu publish events and their success, particularly where bulk operations across multiple locations are actioned.

ParametersDescriptionType
channelNameRepresents the case-sensitive Scope provided. If a channelname used is invalid the request is considered unauthorised.string
_idThis id shown in the callback url is a unique identifier of the menu publish requeststring

Response Time

Please ensure that the menu is published successfully within a maximum of 30 minutes. If the process exceeds this time limit, Deliverect will automatically set the operation as "Failed"

Stores (multiple channel IDs)

Currently we support menu publishing for one store/channelLinkId. In the payload you will find "stores" array where in the future you may receive more channelLinkIds.

"stores": [
  "649a**********9ea9"
]

Synchronous vs Asynchronous

Partners switching to an asynchronous flow should note the differences from the synchronous flow. These are shown in the JSON example belows, can be summarized as follows;

  • Asynchronous: Has "menus" , "stores" and "callback" as keys within a "body"
  • Synchronous: Shows an array of properties e.g. "availabilities", "categories", "modifierGroups" etc.

Menu Model
All menu content within "menus" follows the same menu model documented here

{
    "body": {
        "menus": [
            {
                "availabilities": [],
                "modifierGroups": {},
                "categories": []
                // ... other properties
            }
        ],
        "stores": [
            "64*******************a9"
        ],
        "callback": "https://api.staging.deliverect.com/{channelName}/menuStatus/64*******************2d"
    }
}
[
    {
        "availabilities": [],
        "modifierGroups": {},
        "categories": [],
        // ... other properties
    }
]
Path Params
string
required
Defaults to my-channel

This is provided as a case-sensitive Scope to grant permission to access linked accounts only. This value must be provided in lowercase; if an invalid channelName is used, the request is considered unauthorised. (Scope returned from OAuth endpoint)

string
required
Defaults to menu-update-id

This id shown in the callback url is a unique identifier of the menu publish request

Body Params
string
enum
required
  • ONLINE – Signifies that the menu is now successfully published and available to users. No additional information is required in the request body for this status.
  • FAILED – Indicates that the operation has failed. Partners should include relevant error details or error codes in the request body to assist in troubleshooting.
Allowed:
string

Any additional comment about the status e.g. 'Invalid image format'

Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json