...
For integrations with our delivery, we have some webhooks that send some of the information related to the request made by our guests and a unique endpoint to update us regarding the delivery status.
Type | Function | Notes |
---|---|---|
WEBHOOK | For quote errors we expect to receive the codes within a predefined set of values | |
WEBHOOK | For quote errors we expect to receive the codes within a predefined set of values | |
WEBHOOK | Within the payment field we also inform the Payment Method ( PaymentMethodBrand field ) that was made. Within the fees field, we have the information of Service Fee |
...
It is also possible to set discounts for the Service Fee. For example, when the Service Fee is $5, you can still give a $2 discount, so the final value of the Service Fee will be $3.
Quote errors
When a create quote or apply quote fails the partner send a list containing the errors associated with each quote that are used to improve the user experience. The table below lists the code associate with unavailable restaurants:
Code | Reason |
---|---|
NUMBER_OF_ORDERS | Too many orders |
TECHNICAL_ISSUES | Technical issue |
RESTAURANT_NEAR_TO_CLOSE | Preparing to close |
WEATHER | Weather issue |
UNREACHABLE_RESTAURANT | Unable to reach destination due to any road/street blocks |
NO_DRIVERS_AVAILABLE | Lack of drivers |
REDUCED_CAPACITY | Restaurant is operating at reduced capacity |