Developers
Connect your systems to unitraxo
A simple REST API with your company's own keys, and instant webhooks on every sale or payment.
Getting started
- Inside the system: “Integrations”, then create a key. A key is read-only or read-and-write.
- Send the key with every request in the Authorization header.
- Limit: 1,200 requests an hour per key. Responses are JSON.
- The API is part of the Professional plan.
curl https://www.unitraxo.com/rest/v1/items?limit=50 \
-H "Authorization: Bearer utx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Endpoints
| Request | What it does |
|---|---|
GET /rest/v1/items | Items. Search ?q= and changes ?updated_since= |
GET /rest/v1/items/{id} | One item with its stock |
GET /rest/v1/stock?item_id= | Stock by warehouse |
GET /rest/v1/customers | Customers. Search ?q= |
GET /rest/v1/customers/{id} | One customer with the balance |
POST /rest/v1/customers | Add a customer: name, phone, email, tax_no, address |
GET /rest/v1/sales | Sales. ?status= ?since= ?customer_id= |
GET /rest/v1/sales/{id} | One sale with its lines and payments |
POST /rest/v1/sales | A new order from your store: lines[{item_id or code, qty, price}]; with pays the sale is posted as paid |
Lists take ?limit= (up to 500) and ?offset=.
Example: an order from your online store
POST https://www.unitraxo.com/rest/v1/sales
{
"customer_id": 12,
"type": "delivery",
"lines": [ { "code": "SKU-100", "qty": 2 }, { "item_id": 45, "qty": 1, "price": 30 } ],
"pays": [ { "method": "card", "amount": 90 } ]
}
→ 201 { "ok": true, "id": 981, "no": 1532, "status": "posted", "total": 90, "due": 0 }Webhooks
Add your system's URL under “Integrations” and choose the events. We send JSON on every event and retry automatically when your system does not answer.
sale.posted | A sale was posted |
sale.void | A sale was voided |
order.created | A new order arrived (store, menu, API) |
payment.received | An online payment was received |
customer.created | A customer was added |
delivery.status | A delivery changed status |
ticket.created | A support ticket was opened |
{ "event": "sale.posted", "company": "mycompany", "at": "2026-11-12T10:20:00+04:00", "data": { … } }Error codes
401 | Missing or invalid key |
402 | Subscription inactive |
403 | Read-only key, or the API is not in the plan |
404 | Not found |
422 | Missing or invalid data |
429 | Rate limit reached |
Need an endpoint that is not here? Tell us.