Making requests
The API is built on Connect, so it is plain JSON over HTTPS: every method has its own URL, and you call it with a POST.
curl https://api.buziin.tech/holygrail.orders.v1.OrdersService/GetOrder \
-H "Authorization: Bearer $LUMORA_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "0193a4f2-6c1e-7b3a-9d2f-5e8a1c4b7d90"}'Format
- URL:
https://api.buziin.tech/<package>.<Service>/<Method>, as listed on each method. - Method: always
POST, withContent-Type: application/json. Send{}for a method that takes nothing. - Field names: lowerCamelCase in responses. Requests accept lowerCamelCase or snake_case.
- Enums: sent and returned as names, such as
ORDER_STATE_COMPLETED. Leaving one out means unspecified, which list filters read as "any". - Defaults: fields at their zero value (empty string, 0, false, empty list) are left out of responses. Read a missing field as its zero value.
- 64-bit integers are JSON strings, such as
"total": "1500000", so no precision is lost. You may send them as numbers.
Reads and writes
Methods named Get, List, Export, Find or Pull only read, and are safe to retry. Everything else writes. Many records (orders, payments, catalog items, stock counts) are created on Lumora registers, which work offline, and reach the API through the change feed: read them through their service, and push changes to them the way a register does with SyncService/Push.
Versioning
Every service carries its version in its name (v1). Within a version, Lumora only adds: new methods, new fields, new enum values. Ignore fields you don't know, and treat an unknown enum value as "other". A breaking change would ship as v2 alongside v1.
Other clients
Because the API is Connect, it also speaks gRPC and gRPC-Web, and you can generate a typed client in any language from the protobuf definitions with buf. The official SDKs are the easiest path for TypeScript, Python and PHP.