vGrubs
API Docs
vgrubs.com

Communication Model

The full endpoint map: what you implement, what you call, and what each endpoint is for.

vGrubs defines the full contract. As a partner, you implement the endpoints listed below - vGrubs calls them when events occur on our side.

Endpoint map
YOUR SYSTEM vGrubs
───────────────────────────────────────────────────────────
ORDER MANAGEMENT
POST /partner/orders ──────────► vGrubs receives new orders from you
/{partner-name} You call this endpoint when a new
order is placed on your platform
POST /orders/status ◄──────── vGrubs notifies you of order status
changes: accepted, completed, cancelled
POST /partner/ ──────────► You notify vGrubs when an order
cancel-order/{partner-name} is cancelled on your platform
DELIVERY
POST /orders/delivery ◄──────── vGrubs pushes vDrive delivery status
updates in real time
MERCHANT MANAGEMENT
POST /merchants/validate ◄── vGrubs validates a merchant once
during integration setup
POST /merchants/set-store-status◄── vGrubs sets store availability
(online / offline)
POST /merchants/get-store-status◄── vGrubs queries current store status
POST /merchants/working-hours ◄── vGrubs updates merchant working hours
POST /merchants/closing-days ◄── vGrubs adds or removes closing days
MENU MANAGEMENT
POST /merchants/menu ◄──────── vGrubs pushes the full menu
for a merchant
BILLING
POST /partner/get-fees ──────────► You call this to retrieve delivery,
/{partner-name} service fee and tax for an order
EndpointDirectionPurpose
Send New OrderYou call vGrubsPush a new order when a customer places it on your platform
Order Status UpdatevGrubs calls youNotifies you when an order is accepted, completed or cancelled
Cancel OrderYou call vGrubsNotify vGrubs when an order is cancelled on your platform
vDrive Delivery StatusvGrubs calls youPushes real-time vDrive delivery status updates
Merchant ValidationvGrubs calls youValidates a merchant once during integration setup
Connect StoreYou call vGrubsConnect using the vGrubs store ID when you have no internal store IDs
Set Store StatusvGrubs calls youBrings a store online or offline
Get Store StatusvGrubs calls youQueries the current store status
Working HoursvGrubs calls youUpdates merchant working hours
Closing DaysvGrubs calls youAdds or removes closing days
Get Merchant TimezoneYou call vGrubsRetrieve the IANA timezone of a merchant's store
Menu PushvGrubs calls youPushes the full menu for a merchant
Publish MenuYou call vGrubsTrigger a fresh menu sync for a merchant
Get FeesYou call vGrubsRetrieve delivery fee, service charge and tax for an order