Send New Order
You call vGrubsPOST
https://sandbox.vgrubs.com/partner/orders/{partner-name}{partner-name} Your partner identifier, provisioned by vGrubs during onboarding. The webhook path is unique per partner.When a customer places an order on your platform, you push it to the vGrubs webhook endpoint. vGrubs defines this path and shares it with you during onboarding. It is unique per partner.
vGrubs responds with HTTP 200 OK to confirm receipt. If you do not receive a 200, retry with exponential backoff.
The
status field in the order payload must always be new on the initial push.All monetary values are in cents (e.g.
3600 = $36.00). Timestamps are ISO 8601. Phone numbers use E.164 format.The production URL is provided by vGrubs once the integration is fully tested and ready to go live.
Request body
orderobjectrequired
Core order details.
merchantobjectrequired
The store the order belongs to.
customerobjectrequired
Customer contact details.
itemsarrayrequired
Ordered items.
deliveryobject
Delivery details for delivery orders.
paymentobjectrequired
Payment details.
chargesobjectrequired
Order totals. All values in cents (e.g. 3600 = $36.00).
timestampsobjectrequired
Order lifecycle timestamps, ISO 8601.
Responses
200OK
Order received and accepted for processing.
successboolean
Whether the order was received successfully.
400Bad Request
Missing or invalid fields in the order payload.
401Unauthorized
Invalid or missing x-api-key header.