Cancel Order
You call vGrubsPOST
https://sandbox.vgrubs.com/partner/cancel-order/{partner-name}{partner-name} Your partner identifier, provisioned by vGrubs during onboarding.When a partner cancels an order on their platform, they must notify vGrubs so we can cancel the order on our side as well. You call our endpoint.
The production URL is provided by vGrubs once the integration is fully tested and ready to go live.
Request body
order_idstringrequired
The ID of the order to cancel.
reasonstringrequired
Reason for cancellation.
Responses
200OK
successboolean
Whether the order was successfully cancelled on the vGrubs side.
400Bad Request
Missing or invalid fields in the request body.
401Unauthorized
Invalid or missing x-api-key header.