Order Status Update
vGrubs calls youPOST
{your_base_url}/orders/statusvGrubs calls this endpoint to notify your system when an order status changes. You must update the order on your side and return the updated order object in the response.
Request body
order_idstringrequired
The order ID from the original order payload.
merchant_idstringrequired
The partner's store ID.
statusstringrequired
New order status.
acceptedMerchant has accepted the order
completedOrder is ready for pickup by the driver or customer
cancelledOrder has been cancelled
prep_timenumberwhen status is accepted
Estimated prep time in minutes. Only sent when status is accepted.
Responses
200OK
successboolean
Whether the status update was applied successfully.
orderobject
The full updated order object with the new status applied.
400Bad Request
Missing or invalid fields in the request body.
401Unauthorized
Invalid or missing API key.