vDrive
vDrive API Docs
vgrubs.com

Objects

The objects the API takes and returns: addresses, restaurants, customers, deliveries, quotes and invoices.

Address

Used for pickup.address and dropoff.

streetstring, up to 255required

Street name. The house number may be sent apart as streetNumber.

streetNumberstring, up to 50

House number, e.g. "560" or "70-25".

unitNumberstring, up to 50

Apartment, suite or unit.

citystring, up to 100required

City.

statestring, up to 50

State, e.g. "NY".

zipCodestring, up to 20required

ZIP code.

countrystring, up to 50

Country code. Default "US".

latitudenumber

Strongly recommended. If it is missing we geocode the address, and an address we cannot find is refused.

longitudenumber

Strongly recommended, with latitude.

Example
{
"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.

externalIdstring, up to 100required

Your own id of the restaurant (store id). Keep it the same across requests: a new id is a new restaurant.

namestring, up to 255required

Restaurant name, shown to the driver and to the customer on tracking.

phonestring, up to 30

Restaurant phone, for the driver.

instructionsstring, up to 500

Pickup instructions for the driver.

addressAddressrequired

Where the driver picks up. See Address.

Example
{
"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.

namestring, up to 255required

Customer name, for the driver.

phoneNumberstring, up to 30required

The driver may call it. When vGrubs notifies your customers, our tracking SMS goes here.

phoneCodestring, up to 20

Extension or PIN of a relay number, if any.

Example
{
"name": "Jane Doe",
"phoneNumber": "2125550000"
}

Delivery

What every delivery call and every webhook returns.

idinteger

Our delivery id. The other calls take it.

externalIdstring

Your delivery id, as sent.

statusstring

Where the delivery is. See Delivery statuses.

providerstring | null

The fleet the delivery went to, e.g. grubhub. Can change when the delivery moves to another fleet.

pickupLocationobject

The restaurant.

driverobject | null

Null until a driver takes the delivery.

trackingUrlstring | null

Our tracking page, the same link the customer gets by SMS. Null until it is created.

pickupEtastring | null

When the driver is expected at the restaurant (ISO 8601).

dropoffEtastring | null

When the driver is expected at the customer (ISO 8601).

tipinteger

Customer tip, cents.

vDriveFeeinteger

Our fee, cents.

vGrubsFeeinteger

Cents, 0 by default.

deliveryFeeinteger

Fleet price, cents. While the delivery runs, the price at dispatch; once settled, the final price (or the cancellation fee).

amountinteger

What you owe for this delivery, cents. An estimate while it runs, final once settled. See Pricing.

settledboolean

true once the delivery is finished and its amount is final.

cancellationReasonstring | null

Why it was cancelled.

createdAtstring

ISO 8601.

updatedAtstring

ISO 8601. The latest update wins: see Webhooks.

Example
{
"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.

providerstring

The fleet, e.g. grubhub. Pass it as provider to Create delivery to dispatch this fleet.

priceinteger

Fleet price plus our fees (vDriveFee + vGrubsFee), tip not included. Cents.

pickupMinutesinteger

Minutes until the driver is expected at the restaurant.

dropoffMinutesinteger

Minutes until the driver is expected at the customer.

distanceMilesnumber

Trip distance in miles.

Pickup location

A restaurant as we keep it.

externalIdstring

Your restaurant id.

namestring

Restaurant name.

phonestring | null

Restaurant phone, for the driver.

instructionsstring | null

Pickup instructions for the driver.

addressAddress

As last sent; fields you did not send are null.

timeZonestring

The restaurant time zone (IANA), e.g. America/New_York.

activeboolean

false once we turn the restaurant off: its new deliveries are refused.

createdAtstring

ISO 8601.

Example
{
"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.

idinteger

Invoice id.

numberstring

Invoice number, e.g. DP7-0001.

statusstring

Whether it is paid.

openTo be paid.
paidPaid.
overdueboolean

true when an open invoice is past dueAt. New quotes and deliveries are blocked until it is paid.

periodFromstring

Start of the billed period (ISO 8601).

periodTostring

End of the period: midnight after its last day, so the last day billed is the day before.

issuedAtstring

When the invoice was issued.

dueAtstring

End of the day the payment is due.

deliveriesCountinteger

Deliveries on the invoice.

deliveryFeesinteger

Fleet prices. Cents.

cancellationFeesinteger

What fleets charged for cancellations. Cents.

tipsinteger

Customer tips. Cents.

vDriveFeesinteger

Our fees. Cents.

vGrubsFeesinteger

Cents.

amountinteger

The total: deliveryFees + cancellationFees + tips + vDriveFees + vGrubsFees. Cents.

paidAtstring | null

When it was paid.

pdfUrlstring

The invoice as a PDF.

xlsxUrlstring

Every delivery on the invoice, with its tip, as an XLSX.

Example
{
"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.

deliveryIdinteger

Our delivery id.

externalIdstring

Your delivery id.

pickupExternalIdstring

Your restaurant id.

statusstring

How the delivery ended, e.g. completed or cancelled.

deliveryFeeinteger

Fleet price, or the cancellation fee of a cancelled delivery. Cents.

tipinteger

Customer tip. Cents.

feeinteger

Our fees on this delivery. Cents.

amountinteger

What this delivery adds to the invoice. Cents.

createdAtstring

When the delivery was created.

Example
{
"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"
}