TYPE REFERENCE
CustomerConnection
Referenced by 1 generated operations.
Documented fields
The rows on this page, in order.
Example:
[{"cursor":"WyJhbHBoYSBhdXRvIGNvbXBvbmVudHMgMSIsIjAxOTJmMGMxLTAwMDAtNzAwMC04MDAwLTAwMDAwMDBjMDAwMSJd","node":{"id":"0192f0c1-0000-7000-8000-0000000c0001","name":"Alpha Auto Components 1","gstin":"33DEMOA0001A1Z5","phone":"+91 98000 10001","status":"ACTIVE","billingAddress":{"city":"Coimbatore"}}},{"cursor":"WyJhbHBoYSBhdXRvIGNvbXBvbmVudHMgMTkiLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDAwYzAwMTMiXQ","node":{"id":"0192f0c1-0000-7000-8000-0000000c0013","name":"Alpha Auto Components 19","gstin":"33DEMOD0019A1Z5","phone":"+91 98000 10019","status":"ACTIVE","billingAddress":{"city":"Chennai"}}},{"cursor":"WyJhbHBoYSBhdXRvIGNvbXBvbmVudHMgMzciLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDAwYzAwMjUiXQ","node":{"id":"0192f0c1-0000-7000-8000-0000000c0025","name":"Alpha Auto Components 37","gstin":"33DEMOB0037A1Z5","phone":"+91 98000 10037","status":"ACTIVE","billingAddress":{"city":"Pune"}}}]Show children
Opaque position of this row in the list.
Example:
"WyJhbHBoYSBhdXRvIGNvbXBvbmVudHMgMSIsIjAxOTJmMGMxLTAwMDAtNzAwMC04MDAwLTAwMDAwMDBjMDAwMSJd"The Customer.
Example:
{"id":"0192f0c1-0000-7000-8000-0000000c0001","name":"Alpha Auto Components 1","gstin":"33DEMOA0001A1Z5","phone":"+91 98000 10001","status":"ACTIVE","billingAddress":{"city":"Coimbatore"}}Show children
Customer activity, newest first.
Field 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.
Show children
The rows on this page, in order.
Whether more pages exist, and the cursors to reach them.
All rows matching the filter and search, not just this page.
Structured app address.
Show children
Building and street, app spelling.
City or town.
Country; India by default.
Building, street.
Area, landmark.
Six digit postal code, app spelling.
6-digit PIN code.
State name.
alternateMobile customer detail.
Where invoices go.
Example:
{"city":"Coimbatore"}Show children
Building and street, app spelling.
City or town.
Example:
"Coimbatore"Country; India by default.
Building, street.
Area, landmark.
Six digit postal code, app spelling.
6-digit PIN code.
State name.
contactPerson customer detail.
People at the customer, at most 20.
UTC time the customer was added.
currentProjects from dashboard read model.
First business date, YYYY-MM-DD.
Main email.
GSTIN, if registered.
Example:
"33DEMOA0001A1Z5"Stable id (UUIDv7).
Example:
"0192f0c1-0000-7000-8000-0000000c0001"mobile customer detail.
Company name.
Example:
"Alpha Auto Components 1"notes customer detail.
outstandingBalance in integer paise from dashboard read model.
Days after the invoice date that payment is due; 0 = on delivery.
Main phone.
Example:
"+91 98000 10001"previousProjects from dashboard read model.
Where parts go, when different from billing.
Show children
Building and street, app spelling.
City or town.
Country; India by default.
Building, street.
Area, landmark.
Six digit postal code, app spelling.
6-digit PIN code.
State name.
Whether new orders can be taken.
Example:
"ACTIVE"ACTIVEOrders can be taken.INACTIVEKept for history; hidden from pickers. Use this instead of deleting a customer who has orders.
totalRevenue in integer paise from dashboard read model.
Business or individual.
BUSINESSA business.INDIVIDUALAn individual.
UTC time of the last change.
Whether more pages exist, and the cursors to reach them.
Example:
{"hasNextPage":true,"hasPreviousPage":false,"endCursor":"WyJhbHBoYSBhdXRvIGNvbXBvbmVudHMgMzciLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDAwYzAwMjUiXQ"}Show children
Cursor of the last row; pass it as
afterto get the next page. Null when the page is empty.Example:
"WyJhbHBoYSBhdXRvIGNvbXBvbmVudHMgMzciLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDAwYzAwMjUiXQ"Whether another page follows this one.
Example:
trueWhether another page comes before this one.
Example:
falseCursor 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:
45
Used by
- customersLive