Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This document focuses on the cart page and order confirmation page.

...

API

...

Our ordering API uses endpoint and webhooks, which follow this principle:

  • We broadcast all changes that impact orders via our webhooks.

  • We make available all information on orders via our endpoints.

API Actions

Info

Make sure all this actions are performant and responses are provided within milliseconds. Long response times will translate into long loading times for guests.

...

In the commit webhook payload, the fireOrderInSeconds indicates when the order should be send sent to the kitchen.

The fire webhook can be triggered for any order that hasn’t been fired yet, regardless of the value of fireOrderInSeconds in the commit webhook payload. This means that the fire webhook can be triggered both when fireOrderInSeconds is null or higher than 0.

...