unitraxo
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

RequestWhat it does
GET /rest/v1/itemsItems. 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/customersCustomers. Search ?q=
GET /rest/v1/customers/{id}One customer with the balance
POST /rest/v1/customersAdd a customer: name, phone, email, tax_no, address
GET /rest/v1/salesSales. ?status= ?since= ?customer_id=
GET /rest/v1/sales/{id}One sale with its lines and payments
POST /rest/v1/salesA 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.postedA sale was posted
sale.voidA sale was voided
order.createdA new order arrived (store, menu, API)
payment.receivedAn online payment was received
customer.createdA customer was added
delivery.statusA delivery changed status
ticket.createdA support ticket was opened
{ "event": "sale.posted", "company": "mycompany", "at": "2026-11-12T10:20:00+04:00", "data": { … } }

Error codes

401Missing or invalid key
402Subscription inactive
403Read-only key, or the API is not in the plan
404Not found
422Missing or invalid data
429Rate limit reached

Need an endpoint that is not here? Tell us.

Ready to run your business smarter?

Start your free trial now, or book a live demo for your company.