vGrubs
API Docs
vgrubs.com

Menu Push

vGrubs calls you
POST{your_base_url}/merchants/menu

vGrubs calls this endpoint to push the full menu for a merchant. Your system should replace the existing menu for that merchant with the data provided.

vGrubs pushes the menu automatically after a successful integration connection. Additionally, vGrubs may call this endpoint at any time when a menu correction or update is made on our side.

The menu is structured around four core entities - categories, items, modifier groups, and options - which reference each other via id. Availability schedules are defined separately and linked to categories.

All monetary values throughout the API are in cents (integer).

Request body

merchant_idstringrequired

The partner's store ID.

menuobjectrequired

The full menu for the merchant, structured around the entities below.

Reference

Menu references
categories
└── items[] ──────────────────► items
└── availability ─────────────────► availabilities
items
└── modifiers[] ──────────────────► modifierGroups
└── options[] ──────────► options
└── modifiers[] ──► modifierGroups (nested)

Responses

200OK
successboolean

Whether the menu was received and applied successfully.

400Bad Request

Missing or invalid fields in the request body.

401Unauthorized

Invalid or missing API key.