Products & Endpoints
Add Product
Leave ID / VMS Food ID / Code blank to auto-generate them - or set them to match your real system exactly.
Products
These are the products returned by GET /va/v1.1/product/ and available when creating orders. ID is what other endpoints (toggle, update details, images, sync) look up - calls referencing an unknown ID get a 404. VMS Food ID is what shows up on order/webhook line items.
| ID | VMS Food ID | Code | Title | Description | Price | Container | VAT | Category | Active | |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | ||||||||||
| 2 | ||||||||||
| 3 |
Endpoint Mocking
Disable an endpoint to make the mock return 404 for it. Force a status code to simulate a failure (e.g. 400/500) regardless of the request - optionally with a custom JSON body.
| Endpoint | Method & Path | Enabled | Force status | Failure body (optional) | |
|---|---|---|---|---|---|
| Get products info | GET /va/v1.1/product/ |
||||
| Sync category id | POST /va/v1/category/sync/categoryId |
||||
| Sync product id | POST /va/v1/product/sync/productId |
||||
| Create/update menu | POST /va/v1/menu/ |
||||
| Toggle menu status | PUT /va/v1/menu/ |
||||
| Create/update product | POST /va/v1.1/product/ |
||||
| Toggle product status | PUT /va/v1/product/ |
||||
| Get topping groups | GET /va/v1/topping/groups |
||||
| Create topping | POST /va/v1/topping/ |
||||
| Attach topping to product | POST /va/v1/topping/add-to-product |
||||
| Update product price/capacity | POST /va/v1/product/productDetails |
||||
| Add product image | POST /va/v1/product/{productId}/image |
||||
| Delete product image | DELETE /va/v1/product/image/{imageCode} |
||||
| Get vendor status | GET /va/v1/vendor/status |
||||
| Get vendor delivery zones | GET /va/v1/vendor/vendorDeliveries |
||||
| Order: ack | POST /va/v1/order/{code}/ack |
||||
| Order: pick | POST /va/v1/order/{code}/pick |
||||
| Order: accept | POST /va/v1/order/{code}/accept |
||||
| Order: reject | POST /va/v1/order/{code}/reject |
||||
| List decline reasons | GET /va/v1/order/decline-reason/ |
||||
| List latest orders | POST /va/v1/order/latest |