Objects
The objects the API takes and returns: addresses, restaurants, customers, deliveries, quotes and invoices.
Address
Used for pickup.address and dropoff.
Street name. The house number may be sent apart as streetNumber.
House number, e.g. "560" or "70-25".
Apartment, suite or unit.
City.
State, e.g. "NY".
ZIP code.
Country code. Default "US".
Strongly recommended. If it is missing we geocode the address, and an address we cannot find is refused.
Strongly recommended, with latitude.
{"street": "Main St","streetNumber": "1","unitNumber": "4B","city": "New York","state": "NY","zipCode": "10001","latitude": 40.7506,"longitude": -73.9935}
Pickup
The restaurant, sent with every quote and delivery. See Restaurants.
Your own id of the restaurant (store id). Keep it the same across requests: a new id is a new restaurant.
Restaurant name, shown to the driver and to the customer on tracking.
Restaurant phone, for the driver.
Pickup instructions for the driver.
Where the driver picks up. See Address.
{"externalId": "store-1042","name": "Joe Pizza","phone": "+12125551111","instructions": "Counter by the door","address": {"street": "W 43rd St","streetNumber": "560","city": "New York","state": "NY","zipCode": "10036","latitude": 40.7603,"longitude": -73.9937}}
Customer
Who gets the food.
Customer name, for the driver.
The driver may call it. When vGrubs notifies your customers, our tracking SMS goes here.
Extension or PIN of a relay number, if any.
{"name": "Jane Doe","phoneNumber": "2125550000"}
Delivery
What every delivery call and every webhook returns.
Our delivery id. The other calls take it.
Your delivery id, as sent.
Where the delivery is. See Delivery statuses.
The fleet the delivery went to, e.g. grubhub. Can change when the delivery moves to another fleet.
The restaurant.
Null until a driver takes the delivery.
Our tracking page, the same link the customer gets by SMS. Null until it is created.
When the driver is expected at the restaurant (ISO 8601).
When the driver is expected at the customer (ISO 8601).
Customer tip, cents.
Our fee, cents.
Cents, 0 by default.
Fleet price, cents. While the delivery runs, the price at dispatch; once settled, the final price (or the cancellation fee).
What you owe for this delivery, cents. An estimate while it runs, final once settled. See Pricing.
true once the delivery is finished and its amount is final.
Why it was cancelled.
ISO 8601.
ISO 8601. The latest update wins: see Webhooks.
{"id": 900,"externalId": "order-778812","status": "en_route_pickup","provider": "grubhub","pickupLocation": {"externalId": "store-1042","name": "Joe Pizza"},"driver": {"name": "Sam K.","phoneNumber": "+12125550199","photo": "https://..."},"trackingUrl": "https://track.vgrubs.com/AbC123xYz0","pickupEta": "2026-11-24T17:42:00.000Z","dropoffEta": "2026-11-24T18:05:00.000Z","tip": 300,"vDriveFee": 30,"vGrubsFee": 0,"deliveryFee": 775,"amount": 1105,"settled": false,"cancellationReason": null,"createdAt": "2026-11-24T17:20:11.000Z","updatedAt": "2026-11-24T17:31:40.000Z"}
Quote
One fleet offer from Get quotes.
The fleet, e.g. grubhub. Pass it as provider to Create delivery to dispatch this fleet.
Fleet price plus our fees (vDriveFee + vGrubsFee), tip not included. Cents.
Minutes until the driver is expected at the restaurant.
Minutes until the driver is expected at the customer.
Trip distance in miles.
Pickup location
A restaurant as we keep it.
Your restaurant id.
Restaurant name.
Restaurant phone, for the driver.
Pickup instructions for the driver.
As last sent; fields you did not send are null.
The restaurant time zone (IANA), e.g. America/New_York.
false once we turn the restaurant off: its new deliveries are refused.
ISO 8601.
{"externalId": "store-1042","name": "Joe Pizza","phone": "+12125551111","instructions": "Counter by the door","address": {"street": "W 43rd St","streetNumber": "560","unitNumber": null,"city": "New York","state": "NY","zipCode": "10036","country": "US","latitude": 40.7603,"longitude": -73.9937},"timeZone": "America/New_York","active": true,"createdAt": "2026-11-24T17:20:11.000Z"}
Invoice
One billing period. See Billing & invoices.
Invoice id.
Invoice number, e.g. DP7-0001.
Whether it is paid.
true when an open invoice is past dueAt. New quotes and deliveries are blocked until it is paid.
Start of the billed period (ISO 8601).
End of the period: midnight after its last day, so the last day billed is the day before.
When the invoice was issued.
End of the day the payment is due.
Deliveries on the invoice.
Fleet prices. Cents.
What fleets charged for cancellations. Cents.
Customer tips. Cents.
Our fees. Cents.
Cents.
The total: deliveryFees + cancellationFees + tips + vDriveFees + vGrubsFees. Cents.
When it was paid.
The invoice as a PDF.
Every delivery on the invoice, with its tip, as an XLSX.
{"id": 100,"number": "DP7-0001","status": "open","overdue": false,"periodFrom": "2026-11-10T05:00:00.000Z","periodTo": "2026-11-24T05:00:00.000Z","issuedAt": "2026-11-24T05:05:00.000Z","dueAt": "2026-12-09T04:59:59.999Z","deliveriesCount": 1840,"deliveryFees": 1426000,"cancellationFees": 4188,"tips": 552000,"vDriveFees": 55200,"vGrubsFees": 0,"amount": 2037388,"paidAt": null,"pdfUrl": "https://.../DP7-0001.pdf","xlsxUrl": "https://.../DP7-0001.xlsx"}
Invoice line
One delivery on an invoice, from Get invoice.
Our delivery id.
Your delivery id.
Your restaurant id.
How the delivery ended, e.g. completed or cancelled.
Fleet price, or the cancellation fee of a cancelled delivery. Cents.
Customer tip. Cents.
Our fees on this delivery. Cents.
What this delivery adds to the invoice. Cents.
When the delivery was created.
{"deliveryId": 900,"externalId": "order-778812","pickupExternalId": "store-1042","status": "completed","deliveryFee": 775,"tip": 300,"fee": 30,"amount": 1105,"createdAt": "2026-11-12T17:01:00.000Z"}