Public API
Orders API
1min
overview this document describes new features (mutations and event notifications) that will be available in the ezcater public api, and is strictly additional to the existing introduction to the ezcater public api all previously documented features (event notifications and graphql endpoints) remain unchanged to accept or reject orders as an existing user of the ezcater public 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 orderbyid query) based on the entity id returned by the order submitted event calling either the acceptorder or rejectorder mutations with the order id to accept or reject it, based on the order data or whatever other criteria you have subscribing to a new rejected event notification if that will provide useful confirmation