Dashboard · v1
dashboard
MockMock. This operation is part of the approved contract but its module is not built yet. Run Core with N1_API_MODE=mock N1_DEV_AUTH=stub to get deterministic demo-shop data from it. The real server answers NOT_IMPLEMENTED until it ships; the schema and examples here will not change when it does.
One query fills the owner dashboard for the selected period
Whole owner/admin dashboard for WEEK, MONTH or YEAR; mock until N1C-065 read model ships.
/graphqlapp audienceWho can call this. Owner and admin.
Headers
Bearer <token>, issued for this endpoint's audience. The token decides the shop and roles; nothing in the request body can change them.Example:
Bearer eyJhbGciOiJFZERTQSJ9…Always
application/json. Only POST is accepted.Example:
application/jsonYour id for this request (8–128 characters of A–Z a–z 0–9 . _ : -). Echoed back in the response header and in every error, so you can quote it when reporting a problem. Core makes one if you send none.
Example:
app-7f3c2a9e-checkout
Arguments
endCursor of the previous page.
startCursor of the next page, when paging backwards.
Page size, 1–100 (default 20).
Page size when paging backwards, 1–100.
Business period.
Example:
"WEEK"MONTHCalendar month to date.WEEKTrailing seven calendar days including today.YEARCalendar year to date.
Previous priorityJobs endCursor.
Priority job page size, default 20.
Returns
Whole owner/admin dashboard for WEEK, MONTH or YEAR; mock until N1C-065 read model ships.
Show children
Billed during the period, integer paise.
Example:
2800000Customer shares, ordered by name and id.
Example:
{"totalCount":7,"pageInfo":{"hasNextPage":true,"endCursor":"WyJlYXN0ZXJuIGVuZ2luZWVyaW5nIDUiLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDAwYzAwMDUiXQ"},"edges":[{"node":{"id":"0192f0c1-0000-7000-8000-0000000c0001","name":"Alpha Auto Components 1","orders":1,"percent":14.285714285714286,"totalRevenue":100000,"outstandingBalance":25000,"pendingDelivery":1}},{"node":{"id":"0192f0c1-0000-7000-8000-0000000c0002","name":"Bharat Hydraulics 2","orders":1,"percent":14.285714285714286,"totalRevenue":200000,"outstandingBalance":0,"pendingDelivery":1}},{"node":{"id":"0192f0c1-0000-7000-8000-0000000c0003","name":"Cauvery Pumps 3","orders":1,"percent":14.285714285714286,"totalRevenue":300000,"outstandingBalance":0,"pendingDelivery":0}},{"node":{"id":"0192f0c1-0000-7000-8000-0000000c0004","name":"Deccan Fasteners 4","orders":1,"percent":14.285714285714286,"totalRevenue":400000,"outstandingBalance":100000,"pendingDelivery":1}},{"node":{"id":"0192f0c1-0000-7000-8000-0000000c0005","name":"Eastern Engineering 5","orders":1,"percent":14.285714285714286,"totalRevenue":500000,"outstandingBalance":0,"pendingDelivery":1}}]}Show children
The rows on this page, in order.
Example:
[{"node":{"id":"0192f0c1-0000-7000-8000-0000000c0001","name":"Alpha Auto Components 1","orders":1,"percent":14.285714285714286,"totalRevenue":100000,"outstandingBalance":25000,"pendingDelivery":1}},{"node":{"id":"0192f0c1-0000-7000-8000-0000000c0002","name":"Bharat Hydraulics 2","orders":1,"percent":14.285714285714286,"totalRevenue":200000,"outstandingBalance":0,"pendingDelivery":1}},{"node":{"id":"0192f0c1-0000-7000-8000-0000000c0003","name":"Cauvery Pumps 3","orders":1,"percent":14.285714285714286,"totalRevenue":300000,"outstandingBalance":0,"pendingDelivery":0}},{"node":{"id":"0192f0c1-0000-7000-8000-0000000c0004","name":"Deccan Fasteners 4","orders":1,"percent":14.285714285714286,"totalRevenue":400000,"outstandingBalance":100000,"pendingDelivery":1}},{"node":{"id":"0192f0c1-0000-7000-8000-0000000c0005","name":"Eastern Engineering 5","orders":1,"percent":14.285714285714286,"totalRevenue":500000,"outstandingBalance":0,"pendingDelivery":1}}]Show children
Opaque position of this row in the list.
The CustomerDistribution.
Example:
{"id":"0192f0c1-0000-7000-8000-0000000c0001","name":"Alpha Auto Components 1","orders":1,"percent":14.285714285714286,"totalRevenue":100000,"outstandingBalance":25000,"pendingDelivery":1}Show children
Customer id.
Example:
"0192f0c1-0000-7000-8000-0000000c0001"Customer name.
Example:
"Alpha Auto Components 1"Orders in the selected period.
Example:
1Outstanding on selected-period orders, integer paise.
Example:
25000Selected-period orders with unfinished production.
Example:
1Share of selected-period order count, 0–100; zero when empty.
Example:
14.285714285714286Selected-period billed revenue in integer paise.
Example:
100000
Whether more pages exist, and the cursors to reach them.
Example:
{"hasNextPage":true,"endCursor":"WyJlYXN0ZXJuIGVuZ2luZWVyaW5nIDUiLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDAwYzAwMDUiXQ"}Show children
Cursor of the last row; pass it as
afterto get the next page. Null when the page is empty.Example:
"WyJlYXN0ZXJuIGVuZ2luZWVyaW5nIDUiLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDAwYzAwMDUiXQ"Whether another page follows this one.
Example:
trueWhether another page comes before this one.
Cursor of the first row; pass it as
beforeto page backwards. Null when the page is empty.
All rows matching the filter and search, not just this page.
Example:
7
Inclusive business date, YYYY-MM-DD.
Example:
"2026-10-06"Period order count.
Example:
7All current unpaid balances, integer paise; independent of period.
Example:
2300000Selected period.
Example:
"WEEK"MONTHCalendar month to date.WEEKTrailing seven calendar days including today.YEARCalendar year to date.
Open priority jobs, soonest due first, across all periods.
Example:
{"totalCount":15,"pageInfo":{"hasNextPage":true,"endCursor":"WyIyMDI2LTEwLTEwIiwiMDE5MmYwYzEtMDAwMC03MDAwLTgwMDAtMDAwMDAwZDIwMDNkIl0"},"edges":[{"node":{"id":"0192f0c1-0000-7000-8000-000000d2000b","routeCardNo":"RC-PO-2026-0001","jobCard":{"id":"0192f0c1-0000-7000-8000-000000d2000b","qrValue":"JC-00001","orderId":"0192f0c1-0000-7000-8000-000000d00001","part":"Bush 25x30","quantity":40,"customerName":"Alpha Auto Components 1","dueDate":"2026-09-30","status":"IN_PROGRESS","operations":[{"name":"Threading","status":"DONE","operatorName":"Esha Demo","machineName":null},{"name":"Milling","status":"RUNNING","operatorName":"Esha Demo","machineName":"Lathe 1"},{"name":"Finishing","status":"PENDING","operatorName":"Esha Demo","machineName":null}]}}},{"node":{"id":"0192f0c1-0000-7000-8000-000000d2000c","routeCardNo":"RC-PO-2026-0001","jobCard":{"id":"0192f0c1-0000-7000-8000-000000d2000c","qrValue":"JC-00002","orderId":"0192f0c1-0000-7000-8000-000000d00001","part":"Pulley 90","quantity":60,"customerName":"Alpha Auto Components 1","dueDate":"2026-09-30","status":"IN_PROGRESS","operations":[{"name":"Turning","status":"DONE","operatorName":"Farid Demo","machineName":null},{"name":"Deburring","status":"RUNNING","operatorName":"Farid Demo","machineName":"Lathe 2"},{"name":"Finishing","status":"PENDING","operatorName":"Farid Demo","machineName":null}]}}},{"node":{"id":"0192f0c1-0000-7000-8000-000000d20029","routeCardNo":"RC-PO-2026-0004","jobCard":{"id":"0192f0c1-0000-7000-8000-000000d20029","qrValue":"JC-00007","orderId":"0192f0c1-0000-7000-8000-000000d00004","part":"Valve Body","quantity":100,"customerName":"Deccan Fasteners 4","dueDate":"2026-10-06","status":"QUEUED","operations":[{"name":"Threading","status":"PENDING","operatorName":"Esha Demo","machineName":null},{"name":"Deburring","status":"PENDING","operatorName":null,"machineName":null},{"name":"Finishing","status":"PENDING","operatorName":null,"machineName":null}]}}},{"node":{"id":"0192f0c1-0000-7000-8000-000000d2002a","routeCardNo":"RC-PO-2026-0004","jobCard":{"id":"0192f0c1-0000-7000-8000-000000d2002a","qrValue":"JC-00008","orderId":"0192f0c1-0000-7000-8000-000000d00004","part":"Coupling Hub","quantity":180,"customerName":"Deccan Fasteners 4","dueDate":"2026-10-06","status":"IN_PROGRESS","operations":[{"name":"Turning","status":"DONE","operatorName":"Esha Demo","machineName":null},{"name":"Milling","status":"RUNNING","operatorName":"Esha Demo","machineName":"Mill 1"},{"name":"Finishing","status":"PENDING","operatorName":"Esha Demo","machineName":null}]}}},{"node":{"id":"0192f0c1-0000-7000-8000-000000d2003d","routeCardNo":"RC-PO-2026-0006","jobCard":{"id":"0192f0c1-0000-7000-8000-000000d2003d","qrValue":"JC-00012","orderId":"0192f0c1-0000-7000-8000-000000d00006","part":"Gear Blank 64T","quantity":140,"customerName":"Falcon Tooling 6","dueDate":"2026-10-10","status":"IN_PROGRESS","operations":[{"name":"Drilling","status":"DONE","operatorName":"Farid Demo","machineName":null},{"name":"Deburring","status":"RUNNING","operatorName":"Farid Demo","machineName":null},{"name":"Finishing","status":"PENDING","operatorName":"Farid Demo","machineName":null}]}}}]}Show children
The rows on this page, in order.
Example:
[{"node":{"id":"0192f0c1-0000-7000-8000-000000d2000b","routeCardNo":"RC-PO-2026-0001","jobCard":{"id":"0192f0c1-0000-7000-8000-000000d2000b","qrValue":"JC-00001","orderId":"0192f0c1-0000-7000-8000-000000d00001","part":"Bush 25x30","quantity":40,"customerName":"Alpha Auto Components 1","dueDate":"2026-09-30","status":"IN_PROGRESS","operations":[{"name":"Threading","status":"DONE","operatorName":"Esha Demo","machineName":null},{"name":"Milling","status":"RUNNING","operatorName":"Esha Demo","machineName":"Lathe 1"},{"name":"Finishing","status":"PENDING","operatorName":"Esha Demo","machineName":null}]}}},{"node":{"id":"0192f0c1-0000-7000-8000-000000d2000c","routeCardNo":"RC-PO-2026-0001","jobCard":{"id":"0192f0c1-0000-7000-8000-000000d2000c","qrValue":"JC-00002","orderId":"0192f0c1-0000-7000-8000-000000d00001","part":"Pulley 90","quantity":60,"customerName":"Alpha Auto Components 1","dueDate":"2026-09-30","status":"IN_PROGRESS","operations":[{"name":"Turning","status":"DONE","operatorName":"Farid Demo","machineName":null},{"name":"Deburring","status":"RUNNING","operatorName":"Farid Demo","machineName":"Lathe 2"},{"name":"Finishing","status":"PENDING","operatorName":"Farid Demo","machineName":null}]}}},{"node":{"id":"0192f0c1-0000-7000-8000-000000d20029","routeCardNo":"RC-PO-2026-0004","jobCard":{"id":"0192f0c1-0000-7000-8000-000000d20029","qrValue":"JC-00007","orderId":"0192f0c1-0000-7000-8000-000000d00004","part":"Valve Body","quantity":100,"customerName":"Deccan Fasteners 4","dueDate":"2026-10-06","status":"QUEUED","operations":[{"name":"Threading","status":"PENDING","operatorName":"Esha Demo","machineName":null},{"name":"Deburring","status":"PENDING","operatorName":null,"machineName":null},{"name":"Finishing","status":"PENDING","operatorName":null,"machineName":null}]}}},{"node":{"id":"0192f0c1-0000-7000-8000-000000d2002a","routeCardNo":"RC-PO-2026-0004","jobCard":{"id":"0192f0c1-0000-7000-8000-000000d2002a","qrValue":"JC-00008","orderId":"0192f0c1-0000-7000-8000-000000d00004","part":"Coupling Hub","quantity":180,"customerName":"Deccan Fasteners 4","dueDate":"2026-10-06","status":"IN_PROGRESS","operations":[{"name":"Turning","status":"DONE","operatorName":"Esha Demo","machineName":null},{"name":"Milling","status":"RUNNING","operatorName":"Esha Demo","machineName":"Mill 1"},{"name":"Finishing","status":"PENDING","operatorName":"Esha Demo","machineName":null}]}}},{"node":{"id":"0192f0c1-0000-7000-8000-000000d2003d","routeCardNo":"RC-PO-2026-0006","jobCard":{"id":"0192f0c1-0000-7000-8000-000000d2003d","qrValue":"JC-00012","orderId":"0192f0c1-0000-7000-8000-000000d00006","part":"Gear Blank 64T","quantity":140,"customerName":"Falcon Tooling 6","dueDate":"2026-10-10","status":"IN_PROGRESS","operations":[{"name":"Drilling","status":"DONE","operatorName":"Farid Demo","machineName":null},{"name":"Deburring","status":"RUNNING","operatorName":"Farid Demo","machineName":null},{"name":"Finishing","status":"PENDING","operatorName":"Farid Demo","machineName":null}]}}}]Show children
Opaque position of this row in the list.
The PriorityJob.
Example:
{"id":"0192f0c1-0000-7000-8000-000000d2000b","routeCardNo":"RC-PO-2026-0001","jobCard":{"id":"0192f0c1-0000-7000-8000-000000d2000b","qrValue":"JC-00001","orderId":"0192f0c1-0000-7000-8000-000000d00001","part":"Bush 25x30","quantity":40,"customerName":"Alpha Auto Components 1","dueDate":"2026-09-30","status":"IN_PROGRESS","operations":[{"name":"Threading","status":"DONE","operatorName":"Esha Demo","machineName":null},{"name":"Milling","status":"RUNNING","operatorName":"Esha Demo","machineName":"Lathe 1"},{"name":"Finishing","status":"PENDING","operatorName":"Esha Demo","machineName":null}]}}Show children
Job card id.
Example:
"0192f0c1-0000-7000-8000-000000d2000b"Complete job card for the priority card.
Example:
{"id":"0192f0c1-0000-7000-8000-000000d2000b","qrValue":"JC-00001","orderId":"0192f0c1-0000-7000-8000-000000d00001","part":"Bush 25x30","quantity":40,"customerName":"Alpha Auto Components 1","dueDate":"2026-09-30","status":"IN_PROGRESS","operations":[{"name":"Threading","status":"DONE","operatorName":"Esha Demo","machineName":null},{"name":"Milling","status":"RUNNING","operatorName":"Esha Demo","machineName":"Lathe 1"},{"name":"Finishing","status":"PENDING","operatorName":"Esha Demo","machineName":null}]}Route card reference.
Example:
"RC-PO-2026-0001"
Whether more pages exist, and the cursors to reach them.
Example:
{"hasNextPage":true,"endCursor":"WyIyMDI2LTEwLTEwIiwiMDE5MmYwYzEtMDAwMC03MDAwLTgwMDAtMDAwMDAwZDIwMDNkIl0"}Show children
Cursor of the last row; pass it as
afterto get the next page. Null when the page is empty.Example:
"WyIyMDI2LTEwLTEwIiwiMDE5MmYwYzEtMDAwMC03MDAwLTgwMDAtMDAwMDAwZDIwMDNkIl0"Whether another page follows this one.
Example:
trueWhether another page comes before this one.
Cursor of the first row; pass it as
beforeto page backwards. Null when the page is empty.
All rows matching the filter and search, not just this page.
Example:
15
Inclusive business date, YYYY-MM-DD.
Example:
"2026-10-12"Read-model freshness, UTC ISO timestamp.
Example:
"2026-10-12T04:30:00.000Z"
Errors
This operation has no documented error responses.
Every error has the same body. See Errors.
Rate limit tier
Tier: per user. Over the limit you get RATE_LIMITED (HTTP 429) with a Retry-After header. See Response handling.