Two APIs, one platform: TINA gives you full programmatic control over your hubs, and VenCart lets your storefront order from them. Ship faster with clean REST endpoints and comprehensive docs.
# Fetch live inventory for your hub $ curl -X GET "https://tina-api.venhub.com/api/v1/owners/hub_inventory/?hub_id=123" \ --header "X-API-Key: vh_abc123..." # Response [ { "id": 1, "name": "Organic Apple", "quantity": 25, "original_price": 299, "discounted_price": 299 } ]
Modular APIs designed around how vending and retail businesses actually operate.
Run and manage your hubs: inventory, orders, hardware, analytics and promotions.
List hubs, retrieve configuration, check real-time health, and manage door access.
7 endpointsRead and update product stock, prices, UPCs, and physical locations across your hubs.
6 endpointsRetrieve paginated order history and process full or partial refunds programmatically.
3 endpointsQuery revenue, sales breakdowns, customer growth, and top products by hub.
13 endpointsSend direct hardware commands to vending bins and refrigerated cabinets.
19 endpointsCreate and retrieve maintenance reports with photo and video attachments.
3 endpointsManage hub banners and create deals that are checked and calculated against the cart at checkout.
14 endpointsAPI key or Firebase authentication with scope-based access control per hub and permission level.
14 scopesBuild a storefront that orders from VenHub hubs, pays with your saved card, and hands orders to your customers.
Find your assigned hubs, check they're accepting orders, and browse products and categories.
11 endpointsCreate a separate cart per customer order, set quantities, check checkout, cancel and track.
10 endpointsPay with your saved business card, then open the order's bins when your customer arrives.
3 endpointsServer-side API key with 8 VenCart scopes, limited to the hubs assigned to your account.
8 scopesEvery endpoint follows consistent patterns: same auth header, same error shapes, same pagination model. Less time reading docs, more time shipping.
View all endpoints# Requires scope: inventory:write curl -X PUT \ "https://tina-api.venhub.com/api/v1/owners/hubs/ product/456/update_quantity" \ --header "X-API-Key: vh_abc123..." \ --header "Content-Type: application/json" \ --data '{"quantity": 50}' # 200 OK { "success": true }
Issue API keys with only the scopes your integration needs. Read-only keys for dashboards, write keys for automation.
Orders API uses cursor pagination so you can reliably page through thousands of records without missed or duplicate results.
A single API key can be scoped to one or many hubs. Build dashboards that aggregate across your entire fleet.
All monetary values are integers in cents, so there are no floating-point surprises. 299 always means $2.99.
Process full-order refunds or target individual line items, routed back to the customer's bank account.
Query products by cabinet, shelf, and row, perfect for IoT restocking systems and hardware integrations.