Order Notification

The Order Notification endpoint is used to notify gOnline that a new order has been placed on the platform. Upon successful receipt of this notification, gOnline will respond with an HTTP 200 status code and response body with external system order Id and Grubtech order Id, indicating the request has been accepted.

If the order platform does not receive the expected 200 response, implement a retry mechanism using an exponential back-off strategy. This approach starts with a 1-second delay for the first retry, doubling the delay (2 seconds, 4 seconds, etc.) with each subsequent attempt, for a total of 5 retries. If no response is received after 5 attempts, the order should be considered as failed.

As per the order integration guide, after acknowledging receipt of the notification with a 200 response gOnline will call /accept or /reject within 2 minutes. If neither of these calls are received within this timeframe, the order should be regarded as rejected.

Language
Credentials
Header
Click Try It! to start a request and see the response here!