Getting Started
Learn what the Inventra API is for, how to call it, and the common workflows.
What is the Inventra API?
The Inventra API gives your applications programmatic access to inventory, orders, products, purchase orders, stock transfers, and locations. Use it to:
- Sync stock levels from your warehouse or marketplace into Inventra
- Create and fulfill orders from your storefront or POS
- Look up products and variants by SKU or barcode
- Receive webhooks when orders or inventory change
Base URL
All API requests use your organization’s base URL:
https://your-org.inventra.io/api/v1
Replace your-org with your tenant subdomain. For local development, use your tunnel or localhost.
Response envelope
Responses are JSON. Successful responses use a consistent envelope:
{
"data": { ... },
"meta": { "page": 1, "per_page": 25, "total": 100 }
}
data holds the resource or list.
meta appears on list endpoints for pagination.
Errors include an errors array.
Common workflow
A typical integration flow:
- Obtain an API key from Admin → Settings → API Keys.
- Authenticate every request with
Authorization: Bearer <token>. - Read inventory via
GET /inventory_levels(optional filters:sku,location_id,updated_since). - Create orders with
POST /orders, then reserve and fulfill when ready. - Use idempotency keys on write requests to safely retry.
Try it with Postman
The fastest way to explore the Inventra API is with our official Postman collection and environment.