Build smarter
vending & retail
integrations

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.

Live Demo Explore the API
bash
# 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
  }
]
89
API Endpoints
22
Permission Scopes

Everything you need to build

Modular APIs designed around how vending and retail businesses actually operate.

TINA API

Run and manage your hubs: inventory, orders, hardware, analytics and promotions.

VenCart API

Build a storefront that orders from VenHub hubs, pays with your saved card, and hands orders to your customers.

Clean, predictable REST

Every endpoint follows consistent patterns: same auth header, same error shapes, same pagination model. Less time reading docs, more time shipping.

View all endpoints
Update product quantity
# 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
}

Built for real integrations

๐Ÿ”

Scoped permissions

Issue API keys with only the scopes your integration needs. Read-only keys for dashboards, write keys for automation.

๐Ÿ“„

Cursor-based pagination

Orders API uses cursor pagination so you can reliably page through thousands of records without missed or duplicate results.

๐Ÿช

Multi-hub support

A single API key can be scoped to one or many hubs. Build dashboards that aggregate across your entire fleet.

๐Ÿ’ฐ

Cents-based pricing

All monetary values are integers in cents, so there are no floating-point surprises. 299 always means $2.99.

๐Ÿ”„

Flexible refunds

Process full-order refunds or target individual line items, routed back to the customer's bank account.

๐Ÿ“

Physical location lookup

Query products by cabinet, shelf, and row, perfect for IoT restocking systems and hardware integrations.

Ready to start building?

Get your API key and make your first request in under 5 minutes.

Read the docs