API reference
Build on Safer Inventory.
The Safer Inventory REST API lets you build integrations, automate workflows, and sync data across your stack. HMAC-signed keys, per-minute rate limiting, and structured webhooks.
View full documentationEndpoints
What you can build
Inventory
Products & Inventory
Read and write product data, stock levels, and locations. Create SKUs, update quantities, and query inventory across all your sites.
- ›GET /v1/products
- ›POST /v1/products
- ›PATCH /v1/inventory/:id
- ›GET /v1/locations
Orders
Orders & Invoices
Create and manage purchase orders, sales orders, and invoices. Track fulfilment status and push invoices to Wave Accounting.
- ›GET /v1/orders
- ›POST /v1/purchase-orders
- ›POST /v1/sales-orders
- ›GET /v1/invoices
Webhooks
Webhooks
Subscribe to real-time events for stock changes, order updates, and transfers. Signed payloads with automatic retries.
- ›stock.updated
- ›order.created
- ›transfer.completed
- ›product.synced
Quick example
Get your inventory in one call
curl -X GET https://api.saferinventory.com/v1/products \
-H "Authorization: Bearer sk_live_••••••••" \
-H "Content-Type: application/json"
# Response
{
"data": [
{
"id": "prod_01HXYZ...",
"sku": "DRILL-20V-001",
"name": "20V Cordless Drill",
"stock": [
{ "location": "Main Warehouse", "on_hand": 42 },
{ "location": "Retail Floor", "on_hand": 6 }
]
}
]
}API keys are HMAC-signed and scoped to specific permissions. Read the authentication guide →

