Order Accepted

[Webhook] POST https://{order_platform_url}/orders/{id}/accept

This endpoint needs to be implemented on the order platform. This endpoint allows GrubOne to indicate an order coming from the order platform is accepted by the partner.

Path Parameters

ParameterTypeDescription
idstringUnique identifier representing an order on the order platform

Errors & Response Codes

Success Code

  • 204 - Successful response OK

Failure Codes

  • 400 - Bad request
  • 404 - Resource not found
  • 500 - Internal server error

Response Code Formats

This is the JSON format for the failure response codes.

{
   "code": "INTERNAL_SERVER_ERROR",
   "message": "string",
   "errors": {
     "additionalProp1": {}
   },
   "timestamp": "string"
}