Overview
This section describes new features (mutations and event notifications) that will be available in the ezCater API, and is strictly additional to the existing Introduction to the ezCater API. All previously documented features (Event Notifications and GraphQL Endpoints) remain unchanged.
To accept or reject orders as an existing user of the ezCater API, you will need to be familiar with the following processes:
Creating subscriptions to event notifications for the new order submitted event, for one or more caterers (locations).
Querying for order details (using the existing
orderByIdquery) based on theentity_idreturned by the order submitted event.Calling either the
acceptOrderorrejectOrdermutations with the order id to accept or reject it, based on the order data or whatever other criteria you have.Subscribing to a new
rejectedevent notification if that will provide useful confirmation.
