N1Developer docsv1

TESTED LIVE

Customers

29 real calls against a live Core. Open a call for its headers, request and response.

createCustomer

055CustomersList · create-app-inputownerPOST /graphql200 OKAs expected276 ms
Operation
createCustomer
Request id
01a14ba9-66bd-799e-9577-d635b1f40bb9
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-055",
  "content-type": "application/json"
}

Query

mutation AuditCreateCustomerApp($input: CustomerInput!) { createCustomer(input: $input) { id } }

Variables

{
  "input": {
    "type": "BUSINESS",
    "name": "Audit Components",
    "contactPerson": "Audit Contact",
    "mobile": "+919000000301",
    "alternateMobile": "+919000000302",
    "email": "audit.components@example.test",
    "notes": "Synthetic",
    "country": "India",
    "paymentTermsDays": 30,
    "billingAddress": {
      "line1": "12 Synthetic Road",
      "city": "Chennai",
      "state": "Tamil Nadu",
      "pincode": "600032"
    }
  }
}

Response · HTTP 200

{
  "data": {
    "createCustomer": {
      "id": "01a14ba9-67a8-73e2-b421-6469418b8866"
    }
  }
}
056CustomersList · create-live-inputownerPOST /graphql200 OKAs expected31 ms

Control: the input live accepts.

Operation
createCustomer
Request id
01a14ba9-68cf-7027-ae75-506725877f1f
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-056",
  "content-type": "application/json"
}

Query

mutation AuditCreateCustomer($input: CustomerInput!) { createCustomer(input: $input) { ...CUSLIVE } }
fragment CUSLIVE on Customer { id name email gstin phone status paymentTermsDays billingAddress { line1 line2 city state pincode } shippingAddress { line1 city state pincode } contacts { id name designation phone email } }

Variables

{
  "input": {
    "name": "Audit Components",
    "email": "audit.components@example.test",
    "phone": "+919000000301",
    "paymentTermsDays": 30,
    "billingAddress": {
      "line1": "12 Synthetic Road",
      "city": "Chennai",
      "state": "Tamil Nadu",
      "pincode": "600032"
    }
  }
}

Response · HTTP 200

{
  "data": {
    "createCustomer": {
      "id": "01a14ba9-6911-7037-b353-df9f92431747",
      "name": "Audit Components",
      "email": "audit.components@example.test",
      "gstin": null,
      "phone": "+919000000301",
      "status": "ACTIVE",
      "paymentTermsDays": 30,
      "billingAddress": {
        "line1": "12 Synthetic Road",
        "line2": null,
        "city": "Chennai",
        "state": "Tamil Nadu",
        "pincode": "600032"
      },
      "shippingAddress": null,
      "contacts": []
    }
  }
}
202Any · mutation-without-idempotency-keyaccountantPOST /graphql400 IDEMPOTENCY_KEY_REQUIREDAs expected5 ms

errors.md / FRONTEND-GUIDE §4 say IDEMPOTENCY_KEY_REQUIRED.

Operation
createCustomer
Request id
01a14baa-2034-71c0-8aef-33362ab9a7e2
Expected
IDEMPOTENCY_KEY_REQUIRED

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

mutation AuditNoKey($input: CustomerInput!) { createCustomer(input: $input) { id } }

Variables

{
  "input": {
    "name": "Audit NoKey",
    "paymentTermsDays": 30,
    "billingAddress": {
      "line1": "1 Road",
      "city": "Chennai",
      "state": "Tamil Nadu",
      "pincode": "600001"
    }
  }
}

Response · HTTP 400

{
  "errors": [
    {
      "message": "This request needs an Idempotency-Key header.",
      "locations": [
        {
          "line": 1,
          "column": 47
        }
      ],
      "path": [
        "createCustomer"
      ],
      "extensions": {
        "code": "IDEMPOTENCY_KEY_REQUIRED",
        "message": "This request needs an Idempotency-Key header.",
        "requestId": "01a14baa-2034-71c0-8aef-33362ab9a7e2"
      }
    }
  ],
  "data": null
}

customer

058CustomerDetails · load-app-fieldsownerPOST /graphql200 OKAs expected24 ms
Operation
customer+orders+quotes
Request id
01a14ba9-6b39-744e-ab41-5835151b6194
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomerDetails($id: ID!) { customer(id: $id) { ...CUSAPP } orders(first: 5, filter: { customerId: $id }, sort: { field: CREATED_AT, direction: DESC }) { totalCount edges { node { id customerId partName jobName description quantity dueDate status createdAt } } } quotes(first: 5, filter: { customerId: $id }) { totalCount edges { node { ...QT } } } }
fragment CUSAPP on Customer { id type name contactPerson mobile alternateMobile email gstin address { line1 city state pincode } notes currentProjects previousProjects totalRevenue outstandingBalance customerSince activity(first: 3) { totalCount edges { node { id label detail at tone } } } }
fragment QT on Quote { id number customerId customerName part quantity material status gstRate orderId createdAt lines { id operation description minutesPerPiece setupMinutes ratePerMinute amount } totals { subtotal discount taxable gstRate supply cgst sgst igst gst total } }

Variables

{
  "id": "01a14ba6-e56a-7478-990d-ceec492d63e7"
}

Response · HTTP 200

{
  "data": {
    "customer": {
      "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "type": "BUSINESS",
      "name": "Demo Agro Implements",
      "contactPerson": "",
      "mobile": "",
      "alternateMobile": "",
      "email": null,
      "gstin": null,
      "address": {
        "line1": "4 Demo Industrial Estate",
        "city": "Tiruppur",
        "state": "Tamil Nadu",
        "pincode": "641601"
      },
      "notes": "",
      "currentProjects": 1,
      "previousProjects": 0,
      "totalRevenue": 0,
      "outstandingBalance": 0,
      "customerSince": "2026-10-18",
      "activity": {
        "totalCount": 1,
        "edges": [
          {
            "node": {
              "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
              "label": "Order placed",
              "detail": "DEMO-COI-PO-004",
              "at": "2026-10-17T20:56:31.594Z",
              "tone": "INFO"
            }
          }
        ]
      }
    },
    "orders": {
      "totalCount": 1,
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
            "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "partName": "Bearing housing",
            "jobName": null,
            "description": null,
            "quantity": 40,
            "dueDate": "2026-10-23",
            "status": "NEW",
            "createdAt": "2026-10-17T20:56:31.594Z"
          }
        }
      ]
    },
    "quotes": {
      "totalCount": 0,
      "edges": []
    }
  }
}
067OrderDetails · loadownerPOST /graphql200 OKAs expected41 ms
Operation
order+customer+jobCard+invoices
Request id
01a14ba9-754b-7954-a88c-ba382118b85f
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditOrderDetails($id: ID!, $cardId: ID!, $customerId: ID!) { order(id: $id) { ...ORD } customer(id: $customerId) { id name email mobile } jobCard(id: $cardId) { ...J } invoices(first: 2, filter: { orderId: $id }) { totalCount edges { node { id number status } } } }
fragment ORD on Order { id jobCardId customerId customerName customerEmail partName jobName description quantity priority status dueDate poNumber poAmount routeCardNo dcNo dcDate partNumber drawingNumber rmPartNumber shopOrderNumber rawMaterialSize heatNumber projectId rawMaterialGrade materialSource quoteId notes createdAt designFile { ...F } documents { ...F } statusHistory { id label detail at tone } }
fragment F on AppFileReference { id name kind sizeBytes }
fragment J on JobCard { id orderId code qrValue customerId customerName partName jobName material quantity priority dueDate status designApproval materialSource materialQc quotation billing designFile { ...F } operations { ...OP } qcHistory { ...QR } }
fragment OP on JobOperation { id seq name machineId machineName operatorId operatorName status startedAt completedAt }
fragment QR on QcRecord { id kind stage result remark recordedAt jobOperationId inspector rejectedMaterial { grade heatNumber size } report { ...F } }

Variables

{
  "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
  "cardId": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
  "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7"
}

Response · HTTP 200

{
  "data": {
    "order": {
      "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "jobCardId": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "customerEmail": null,
      "partName": "Bearing housing",
      "jobName": null,
      "description": null,
      "quantity": 40,
      "priority": "HIGH",
      "status": "NEW",
      "dueDate": "2026-10-23",
      "poNumber": "DEMO-COI-PO-004",
      "poAmount": null,
      "routeCardNo": null,
      "dcNo": null,
      "dcDate": null,
      "partNumber": null,
      "drawingNumber": null,
      "rmPartNumber": null,
      "shopOrderNumber": null,
      "rawMaterialSize": "Ø40 x 3000 mm",
      "heatNumber": null,
      "projectId": null,
      "rawMaterialGrade": "EN8",
      "materialSource": "BOUGHT_OUT",
      "quoteId": null,
      "notes": null,
      "createdAt": "2026-10-17T20:56:31.594Z",
      "designFile": null,
      "documents": [],
      "statusHistory": [
        {
          "id": "01a14ba6-e66d-7d11-8ca9-c400735bf62f",
          "label": "Order created",
          "detail": null,
          "at": "2026-10-17T20:56:31.597Z",
          "tone": "INFO"
        },
        {
          "id": "01a14ba6-e89b-7df7-bf86-2d5bc146ca88",
          "label": "Incoming inspection: accepted",
          "detail": "Material and size as per drawing",
          "at": "2026-10-17T20:56:32.155Z",
          "tone": "SUCCESS"
        }
      ]
    },
    "customer": {
      "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "name": "Demo Agro Implements",
      "email": null,
      "mobile": ""
    },
    "jobCard": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "code": "JOB4",
      "qrValue": "JC-00004",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "partName": "Bearing housing",
      "jobName": null,
      "material": "EN8 steel",
      "quantity": 40,
      "priority": "HIGH",
      "dueDate": "2026-10-23",
      "status": "NOT_STARTED",
      "designApproval": "PENDING",
      "materialSource": "BOUGHT_OUT",
      "materialQc": "ACCEPTED",
      "quotation": "PENDING",
      "billing": "NOT_INVOICED",
      "designFile": null,
      "operations": [
        {
          "id": "01a14ba6-e670-7383-a269-879726ac44d1",
          "seq": 1,
          "name": "Turning",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
          "seq": 2,
          "name": "Milling",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
          "seq": 3,
          "name": "Finishing",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        }
      ],
      "qcHistory": [
        {
          "id": "01a14ba6-e897-79fd-bb0c-5fdfbe1ae7ed",
          "kind": "RM",
          "stage": "Incoming inspection",
          "result": "ACCEPTED",
          "remark": "Material and size as per drawing",
          "recordedAt": "2026-10-17T20:56:32.134Z",
          "jobOperationId": null,
          "inspector": "Demo Inspector",
          "rejectedMaterial": null,
          "report": null
        }
      ]
    },
    "invoices": {
      "totalCount": 0,
      "edges": []
    }
  }
}
068OrderDetails · load-without-customer-mobileownerPOST /graphql200 OKAs expected24 ms

Control: same screen with `phone` in place of the app `mobile`.

Operation
order+customer+jobCard+invoices
Request id
01a14ba9-7679-79c3-a594-3c15bd8d85d8
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditOrderDetailsLive($id: ID!, $cardId: ID!, $customerId: ID!) { order(id: $id) { ...ORD } customer(id: $customerId) { id name email phone } jobCard(id: $cardId) { ...J } invoices(first: 2, filter: { orderId: $id }) { totalCount edges { node { id number status } } } }
fragment ORD on Order { id jobCardId customerId customerName customerEmail partName jobName description quantity priority status dueDate poNumber poAmount routeCardNo dcNo dcDate partNumber drawingNumber rmPartNumber shopOrderNumber rawMaterialSize heatNumber projectId rawMaterialGrade materialSource quoteId notes createdAt designFile { ...F } documents { ...F } statusHistory { id label detail at tone } }
fragment F on AppFileReference { id name kind sizeBytes }
fragment J on JobCard { id orderId code qrValue customerId customerName partName jobName material quantity priority dueDate status designApproval materialSource materialQc quotation billing designFile { ...F } operations { ...OP } qcHistory { ...QR } }
fragment OP on JobOperation { id seq name machineId machineName operatorId operatorName status startedAt completedAt }
fragment QR on QcRecord { id kind stage result remark recordedAt jobOperationId inspector rejectedMaterial { grade heatNumber size } report { ...F } }

Variables

{
  "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
  "cardId": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
  "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7"
}

Response · HTTP 200

{
  "data": {
    "order": {
      "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "jobCardId": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "customerEmail": null,
      "partName": "Bearing housing",
      "jobName": null,
      "description": null,
      "quantity": 40,
      "priority": "HIGH",
      "status": "NEW",
      "dueDate": "2026-10-23",
      "poNumber": "DEMO-COI-PO-004",
      "poAmount": null,
      "routeCardNo": null,
      "dcNo": null,
      "dcDate": null,
      "partNumber": null,
      "drawingNumber": null,
      "rmPartNumber": null,
      "shopOrderNumber": null,
      "rawMaterialSize": "Ø40 x 3000 mm",
      "heatNumber": null,
      "projectId": null,
      "rawMaterialGrade": "EN8",
      "materialSource": "BOUGHT_OUT",
      "quoteId": null,
      "notes": null,
      "createdAt": "2026-10-17T20:56:31.594Z",
      "designFile": null,
      "documents": [],
      "statusHistory": [
        {
          "id": "01a14ba6-e66d-7d11-8ca9-c400735bf62f",
          "label": "Order created",
          "detail": null,
          "at": "2026-10-17T20:56:31.597Z",
          "tone": "INFO"
        },
        {
          "id": "01a14ba6-e89b-7df7-bf86-2d5bc146ca88",
          "label": "Incoming inspection: accepted",
          "detail": "Material and size as per drawing",
          "at": "2026-10-17T20:56:32.155Z",
          "tone": "SUCCESS"
        }
      ]
    },
    "customer": {
      "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "name": "Demo Agro Implements",
      "email": null,
      "phone": null
    },
    "jobCard": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "code": "JOB4",
      "qrValue": "JC-00004",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "partName": "Bearing housing",
      "jobName": null,
      "material": "EN8 steel",
      "quantity": 40,
      "priority": "HIGH",
      "dueDate": "2026-10-23",
      "status": "NOT_STARTED",
      "designApproval": "PENDING",
      "materialSource": "BOUGHT_OUT",
      "materialQc": "ACCEPTED",
      "quotation": "PENDING",
      "billing": "NOT_INVOICED",
      "designFile": null,
      "operations": [
        {
          "id": "01a14ba6-e670-7383-a269-879726ac44d1",
          "seq": 1,
          "name": "Turning",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
          "seq": 2,
          "name": "Milling",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
          "seq": 3,
          "name": "Finishing",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        }
      ],
      "qcHistory": [
        {
          "id": "01a14ba6-e897-79fd-bb0c-5fdfbe1ae7ed",
          "kind": "RM",
          "stage": "Incoming inspection",
          "result": "ACCEPTED",
          "remark": "Material and size as per drawing",
          "recordedAt": "2026-10-17T20:56:32.134Z",
          "jobOperationId": null,
          "inspector": "Demo Inspector",
          "rejectedMaterial": null,
          "report": null
        }
      ]
    },
    "invoices": {
      "totalCount": 0,
      "edges": []
    }
  }
}
084JobCardDetails · loadsupervisorPOST /graphql200 OKAs expected67 ms
Operation
jobCard+order+customer+organisation
Request id
01a14ba9-9866-7730-94b5-4d0256ad44ed
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditJobCardDetails($id: ID!, $orderId: ID!, $customerId: ID!) { jobCard(id: $id) { ...J } order(id: $orderId) { ...ORD } customer(id: $customerId) { id name billingAddress { state } } organisation { id gstState gstRegistered defaultTaxRate taxRates { id rate active } } }
fragment J on JobCard { id orderId code qrValue customerId customerName partName jobName material quantity priority dueDate status designApproval materialSource materialQc quotation billing designFile { ...F } operations { ...OP } qcHistory { ...QR } }
fragment F on AppFileReference { id name kind sizeBytes }
fragment OP on JobOperation { id seq name machineId machineName operatorId operatorName status startedAt completedAt }
fragment QR on QcRecord { id kind stage result remark recordedAt jobOperationId inspector rejectedMaterial { grade heatNumber size } report { ...F } }
fragment ORD on Order { id jobCardId customerId customerName customerEmail partName jobName description quantity priority status dueDate poNumber poAmount routeCardNo dcNo dcDate partNumber drawingNumber rmPartNumber shopOrderNumber rawMaterialSize heatNumber projectId rawMaterialGrade materialSource quoteId notes createdAt designFile { ...F } documents { ...F } statusHistory { id label detail at tone } }

Variables

{
  "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
  "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
  "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7"
}

Response · HTTP 200

{
  "data": {
    "jobCard": {
      "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "code": "JOB4",
      "qrValue": "JC-00004",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "partName": "Bearing housing",
      "jobName": null,
      "material": "EN8 steel",
      "quantity": 40,
      "priority": "HIGH",
      "dueDate": "2026-10-23",
      "status": "NOT_STARTED",
      "designApproval": "PENDING",
      "materialSource": "BOUGHT_OUT",
      "materialQc": "ACCEPTED",
      "quotation": "PENDING",
      "billing": "NOT_INVOICED",
      "designFile": null,
      "operations": [
        {
          "id": "01a14ba6-e670-7383-a269-879726ac44d1",
          "seq": 1,
          "name": "Turning",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
          "seq": 2,
          "name": "Milling",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        },
        {
          "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
          "seq": 3,
          "name": "Finishing",
          "machineId": null,
          "machineName": null,
          "operatorId": null,
          "operatorName": null,
          "status": "PENDING",
          "startedAt": null,
          "completedAt": null
        }
      ],
      "qcHistory": [
        {
          "id": "01a14ba6-e897-79fd-bb0c-5fdfbe1ae7ed",
          "kind": "RM",
          "stage": "Incoming inspection",
          "result": "ACCEPTED",
          "remark": "Material and size as per drawing",
          "recordedAt": "2026-10-17T20:56:32.134Z",
          "jobOperationId": null,
          "inspector": "Demo Inspector",
          "rejectedMaterial": null,
          "report": null
        }
      ]
    },
    "order": {
      "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
      "jobCardId": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "customerEmail": null,
      "partName": "Bearing housing",
      "jobName": null,
      "description": null,
      "quantity": 40,
      "priority": "HIGH",
      "status": "NEW",
      "dueDate": "2026-10-23",
      "poNumber": "DEMO-COI-PO-004",
      "poAmount": null,
      "routeCardNo": null,
      "dcNo": null,
      "dcDate": null,
      "partNumber": null,
      "drawingNumber": null,
      "rmPartNumber": null,
      "shopOrderNumber": null,
      "rawMaterialSize": "Ø40 x 3000 mm",
      "heatNumber": null,
      "projectId": null,
      "rawMaterialGrade": "EN8",
      "materialSource": "BOUGHT_OUT",
      "quoteId": null,
      "notes": null,
      "createdAt": "2026-10-17T20:56:31.594Z",
      "designFile": null,
      "documents": [],
      "statusHistory": [
        {
          "id": "01a14ba6-e66d-7d11-8ca9-c400735bf62f",
          "label": "Order created",
          "detail": null,
          "at": "2026-10-17T20:56:31.597Z",
          "tone": "INFO"
        },
        {
          "id": "01a14ba6-e89b-7df7-bf86-2d5bc146ca88",
          "label": "Incoming inspection: accepted",
          "detail": "Material and size as per drawing",
          "at": "2026-10-17T20:56:32.155Z",
          "tone": "SUCCESS"
        }
      ]
    },
    "customer": {
      "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "name": "Demo Agro Implements",
      "billingAddress": {
        "state": "Tamil Nadu"
      }
    },
    "organisation": {
      "id": "01a14ba6-e3d8-7d56-8060-bfa0d3554b8b",
      "gstState": "Tamil Nadu",
      "gstRegistered": true,
      "defaultTaxRate": 18,
      "taxRates": [
        {
          "id": "0192f0c1-0000-7000-8000-f00000000000",
          "rate": 0,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000001",
          "rate": 5,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000002",
          "rate": 12,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000003",
          "rate": 18,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000004",
          "rate": 28,
          "active": false
        }
      ]
    }
  }
}

customers

017Discovery · live-idsownerPOST /graphql200 OKAs expected38 ms
Operation
customers+orders+jobCards+machines+quotes+invoices+users
Request id
01a14ba9-3c90-73b7-9e24-7ccc32cb13c5
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditDiscovery {
  customers(first: 10) { edges { node { id name billingAddress { city } } } }
  orders(first: 10) { edges { node { id number jobCardId customerId status routeCardNo poNumber } } }
  jobCards(first: 10) { edges { node { id orderId code qrValue status billing materialQc designApproval operations { id seq name status operatorId } } } }
  machines(first: 10) { edges { node { id code status } } }
  quotes(first: 10) { edges { node { id status orderId customerId } } }
  invoices(first: 10) { edges { node { id status orderId jobCardId } } }
  users(first: 30) { edges { node { id role name status } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "name": "Demo Agro Implements",
            "billingAddress": {
              "city": "Tiruppur"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e54e-713f-beb0-6e57f2a9a88e",
            "name": "Demo Auto Components",
            "billingAddress": {
              "city": "Tiruppur"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e579-7091-b879-fd026c5ab537",
            "name": "Demo Hydraulics",
            "billingAddress": {
              "city": "Bengaluru"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e533-720d-adca-0c4fb0dedcdd",
            "name": "Demo Pumps & Valves",
            "billingAddress": {
              "city": "Coimbatore"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e55f-7151-850b-de9c5dbe0224",
            "name": "Demo Textile Machinery",
            "billingAddress": {
              "city": "Coimbatore"
            }
          }
        }
      ]
    },
    "orders": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
            "number": "WO-4",
            "jobCardId": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
            "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "status": "NEW",
            "routeCardNo": null,
            "poNumber": "DEMO-COI-PO-004"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e60b-78e2-be46-05dfc8ff1cff",
            "number": "WO-1",
            "jobCardId": "01a14ba6-e60b-76c9-90a1-2e48ac0af20c",
            "customerId": "01a14ba6-e533-720d-adca-0c4fb0dedcdd",
            "status": "COMPLETED",
            "routeCardNo": null,
            "poNumber": "DEMO-COI-PO-001"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e649-7d5b-9cc7-beaf68d484d7",
            "number": "WO-2",
            "jobCardId": "01a14ba6-e649-75ad-bbc9-16d7ecd00878",
            "customerId": "01a14ba6-e54e-713f-beb0-6e57f2a9a88e",
            "status": "PAYMENT_DUE",
            "routeCardNo": null,
            "poNumber": "DEMO-COI-PO-002"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e65b-7f56-8b35-19dd1d9b93d2",
            "number": "WO-3",
            "jobCardId": "01a14ba6-e65b-777f-9975-ca8ed40d8792",
            "customerId": "01a14ba6-e55f-7151-850b-de9c5dbe0224",
            "status": "IN_PROGRESS",
            "routeCardNo": null,
            "poNumber": "DEMO-COI-PO-003"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e67d-7144-a636-1c77ab125e29",
            "number": "WO-5",
            "jobCardId": "01a14ba6-e67d-7757-8629-269f740c10ba",
            "customerId": "01a14ba6-e579-7091-b879-fd026c5ab537",
            "status": "NEW",
            "routeCardNo": null,
            "poNumber": "DEMO-COI-PO-005"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e695-7d5c-b505-a59fd80251a9",
            "number": "WO-6",
            "jobCardId": "01a14ba6-e695-7571-8b02-2a50cf0c7c89",
            "customerId": "01a14ba6-e533-720d-adca-0c4fb0dedcdd",
            "status": "NEW",
            "routeCardNo": null,
            "poNumber": "DEMO-COI-PO-006"
          }
        }
      ]
    },
    "jobCards": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e66c-79e7-b2cf-2c2dcc9126a1",
            "orderId": "01a14ba6-e66c-7460-9ced-7abbb006f491",
            "code": "JOB4",
            "qrValue": "JC-00004",
            "status": "NOT_STARTED",
            "billing": "NOT_INVOICED",
            "materialQc": "ACCEPTED",
            "designApproval": "PENDING",
            "operations": [
              {
                "id": "01a14ba6-e670-7383-a269-879726ac44d1",
                "seq": 1,
                "name": "Turning",
                "status": "PENDING",
                "operatorId": null
              },
              {
                "id": "01a14ba6-e670-7e54-bd33-df068f305cd2",
                "seq": 2,
                "name": "Milling",
                "status": "PENDING",
                "operatorId": null
              },
              {
                "id": "01a14ba6-e670-7507-aae3-49f3c9cf0ef1",
                "seq": 3,
                "name": "Finishing",
                "status": "PENDING",
                "operatorId": null
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e60b-76c9-90a1-2e48ac0af20c",
            "orderId": "01a14ba6-e60b-78e2-be46-05dfc8ff1cff",
            "code": "JOB1",
            "qrValue": "JC-00001",
            "status": "COMPLETED",
            "billing": "INVOICED",
            "materialQc": "ACCEPTED",
            "designApproval": "APPROVED",
            "operations": [
              {
                "id": "01a14ba6-e626-76cf-b05f-c274e0674ee7",
                "seq": 1,
                "name": "Turning",
                "status": "COMPLETED",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
              },
              {
                "id": "01a14ba6-e627-719c-806b-ac64265762a5",
                "seq": 2,
                "name": "Milling",
                "status": "COMPLETED",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
              },
              {
                "id": "01a14ba6-e627-7e03-9a71-6f42bd07e4d2",
                "seq": 3,
                "name": "Finishing",
                "status": "COMPLETED",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e649-75ad-bbc9-16d7ecd00878",
            "orderId": "01a14ba6-e649-7d5b-9cc7-beaf68d484d7",
            "code": "JOB2",
            "qrValue": "JC-00002",
            "status": "COMPLETED",
            "billing": "INVOICED",
            "materialQc": "ACCEPTED",
            "designApproval": "APPROVED",
            "operations": [
              {
                "id": "01a14ba6-e64d-7037-9764-d88565c28617",
                "seq": 1,
                "name": "Turning",
                "status": "COMPLETED",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
              },
              {
                "id": "01a14ba6-e64d-74b2-b6a0-86adb5271663",
                "seq": 2,
                "name": "Milling",
                "status": "COMPLETED",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
              },
              {
                "id": "01a14ba6-e64d-7558-9888-cbe24e46077f",
                "seq": 3,
                "name": "Finishing",
                "status": "COMPLETED",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e65b-777f-9975-ca8ed40d8792",
            "orderId": "01a14ba6-e65b-7f56-8b35-19dd1d9b93d2",
            "code": "JOB3",
            "qrValue": "JC-00003",
            "status": "IN_PROGRESS",
            "billing": "NOT_INVOICED",
            "materialQc": "ACCEPTED",
            "designApproval": "APPROVED",
            "operations": [
              {
                "id": "01a14ba6-e65f-75d4-bf28-cbbe41f127f6",
                "seq": 1,
                "name": "Turning",
                "status": "RUNNING",
                "operatorId": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab"
              },
              {
                "id": "01a14ba6-e65f-7d50-be77-0daed0461d04",
                "seq": 2,
                "name": "Milling",
                "status": "PENDING",
                "operatorId": null
              },
              {
                "id": "01a14ba6-e65f-7f06-96f5-34afdc3af49f",
                "seq": 3,
                "name": "Finishing",
                "status": "PENDING",
                "operatorId": null
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e67d-7757-8629-269f740c10ba",
            "orderId": "01a14ba6-e67d-7144-a636-1c77ab125e29",
            "code": "JOB5",
            "qrValue": "JC-00005",
            "status": "NOT_STARTED",
            "billing": "NOT_INVOICED",
            "materialQc": "REJECTED",
            "designApproval": "PENDING",
            "operations": [
              {
                "id": "01a14ba6-e682-7349-b544-8bd33b0c693f",
                "seq": 1,
                "name": "Turning",
                "status": "PENDING",
                "operatorId": null
              },
              {
                "id": "01a14ba6-e682-76bb-b257-93119fc4aadd",
                "seq": 2,
                "name": "Milling",
                "status": "PENDING",
                "operatorId": null
              },
              {
                "id": "01a14ba6-e682-7879-8c84-2a65306245fb",
                "seq": 3,
                "name": "Finishing",
                "status": "PENDING",
                "operatorId": null
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e695-7571-8b02-2a50cf0c7c89",
            "orderId": "01a14ba6-e695-7d5c-b505-a59fd80251a9",
            "code": "JOB6",
            "qrValue": "JC-00006",
            "status": "NOT_STARTED",
            "billing": "NOT_INVOICED",
            "materialQc": "PENDING",
            "designApproval": "PENDING",
            "operations": [
              {
                "id": "01a14ba6-e69b-7919-9161-b21877f4db19",
                "seq": 1,
                "name": "Turning",
                "status": "PENDING",
                "operatorId": null
              },
              {
                "id": "01a14ba6-e69b-7a95-ac75-3551e1cd0d72",
                "seq": 2,
                "name": "Milling",
                "status": "PENDING",
                "operatorId": null
              },
              {
                "id": "01a14ba6-e69b-777e-8426-b9ebd85d207a",
                "seq": 3,
                "name": "Finishing",
                "status": "PENDING",
                "operatorId": null
              }
            ]
          }
        }
      ]
    },
    "machines": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e589-7248-a7e0-1239851b82aa",
            "code": "MC-851B82AA",
            "status": "RUNNING"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e59c-7f83-8eb9-96f1137e4b98",
            "code": "MC-137E4B98",
            "status": "IDLE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e5d7-711c-bcba-22be75d5d8b4",
            "code": "MC-75D5D8B4",
            "status": "MAINTENANCE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e5b5-71f3-aaea-903c4d97acc6",
            "code": "MC-4D97ACC6",
            "status": "IDLE"
          }
        }
      ]
    },
    "quotes": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e68b-7186-9275-d44e3591f471",
            "status": "SENT",
            "orderId": null,
            "customerId": "01a14ba6-e55f-7151-850b-de9c5dbe0224"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e678-7c29-b24d-e8d8f0d4ac48",
            "status": "DRAFT",
            "orderId": null,
            "customerId": "01a14ba6-e54e-713f-beb0-6e57f2a9a88e"
          }
        }
      ]
    },
    "invoices": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e836-79c7-861a-0c20920fb6fc",
            "status": "NEW",
            "orderId": "01a14ba6-e649-7d5b-9cc7-beaf68d484d7",
            "jobCardId": "01a14ba6-e649-75ad-bbc9-16d7ecd00878"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e818-7935-ad87-c0e2a7448c5a",
            "status": "PAID",
            "orderId": "01a14ba6-e60b-78e2-be46-05dfc8ff1cff",
            "jobCardId": "01a14ba6-e60b-76c9-90a1-2e48ac0af20c"
          }
        }
      ]
    },
    "users": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e4e7-7b64-88ac-67a67b46b313",
            "role": "ACCOUNTANT",
            "name": "Demo Accountant",
            "status": "ACTIVE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e420-7894-9aa9-5dd131ee9c29",
            "role": "ADMIN",
            "name": "Demo Admin",
            "status": "ACTIVE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e48b-766b-8c6b-8862bea47064",
            "role": "QC",
            "name": "Demo Inspector",
            "status": "ACTIVE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e46a-7f5d-8e34-76cbfb26b5ab",
            "role": "OPERATOR",
            "name": "Demo Operator",
            "status": "ACTIVE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e3c9-75f4-bf79-c35ada7f69bd",
            "role": "OWNER",
            "name": "Demo Owner",
            "status": "ACTIVE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e442-7fae-b468-bf9fee75d9ec",
            "role": "SUPERVISOR",
            "name": "Demo Supervisor",
            "status": "ACTIVE"
          }
        }
      ]
    }
  }
}
039CustomersList · load-app-fieldsownerPOST /graphql200 OKAs expected24 ms
Operation
customers
Request id
01a14ba9-5526-75e9-93d1-561e03c17958
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomersApp { me { organisation { name } } customers(first: 10) { totalCount pageInfo { hasNextPage endCursor } edges { node { ...CUSAPP } } } }
fragment CUSAPP on Customer { id type name contactPerson mobile alternateMobile email gstin address { line1 city state pincode } notes currentProjects previousProjects totalRevenue outstandingBalance customerSince activity(first: 3) { totalCount edges { node { id label detail at tone } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "me": {
      "organisation": {
        "name": "Demo Coimbatore Works"
      }
    },
    "customers": {
      "totalCount": 5,
      "pageInfo": {
        "hasNextPage": false,
        "endCursor": "WyJkZW1vIHRleHRpbGUgbWFjaGluZXJ5IiwiMDFhMTRiYTYtZTU1Zi03MTUxLTg1MGItZGU5YzVkYmUwMjI0Il0"
      },
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "type": "BUSINESS",
            "name": "Demo Agro Implements",
            "contactPerson": "",
            "mobile": "",
            "alternateMobile": "",
            "email": null,
            "gstin": null,
            "address": {
              "line1": "4 Demo Industrial Estate",
              "city": "Tiruppur",
              "state": "Tamil Nadu",
              "pincode": "641601"
            },
            "notes": "",
            "currentProjects": 1,
            "previousProjects": 0,
            "totalRevenue": 0,
            "outstandingBalance": 0,
            "customerSince": "2026-10-18",
            "activity": {
              "totalCount": 1,
              "edges": [
                {
                  "node": {
                    "id": "01a14ba6-e66c-7460-9ced-7abbb006f491",
                    "label": "Order placed",
                    "detail": "DEMO-COI-PO-004",
                    "at": "2026-10-17T20:56:31.594Z",
                    "tone": "INFO"
                  }
                }
              ]
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e54e-713f-beb0-6e57f2a9a88e",
            "type": "BUSINESS",
            "name": "Demo Auto Components",
            "contactPerson": "",
            "mobile": "",
            "alternateMobile": "",
            "email": null,
            "gstin": null,
            "address": {
              "line1": "2 Demo Industrial Estate",
              "city": "Tiruppur",
              "state": "Tamil Nadu",
              "pincode": "641601"
            },
            "notes": "",
            "currentProjects": 1,
            "previousProjects": 0,
            "totalRevenue": 1004770,
            "outstandingBalance": 1004770,
            "customerSince": "2026-10-18",
            "activity": {
              "totalCount": 2,
              "edges": [
                {
                  "node": {
                    "id": "01a14ba6-e836-79c7-861a-0c20920fb6fc",
                    "label": "Invoice issued",
                    "detail": "CBE/26-27/0002",
                    "at": "2026-10-17T20:56:32.111Z",
                    "tone": "NEUTRAL"
                  }
                },
                {
                  "node": {
                    "id": "01a14ba6-e649-7d5b-9cc7-beaf68d484d7",
                    "label": "Order placed",
                    "detail": "DEMO-COI-PO-002",
                    "at": "2026-10-17T20:56:31.558Z",
                    "tone": "INFO"
                  }
                }
              ]
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e579-7091-b879-fd026c5ab537",
            "type": "BUSINESS",
            "name": "Demo Hydraulics",
            "contactPerson": "",
            "mobile": "",
            "alternateMobile": "",
            "email": null,
            "gstin": null,
            "address": {
              "line1": "5 Demo Industrial Estate",
              "city": "Bengaluru",
              "state": "Karnataka",
              "pincode": "560001"
            },
            "notes": "",
            "currentProjects": 1,
            "previousProjects": 0,
            "totalRevenue": 0,
            "outstandingBalance": 0,
            "customerSince": "2026-10-18",
            "activity": {
              "totalCount": 1,
              "edges": [
                {
                  "node": {
                    "id": "01a14ba6-e67d-7144-a636-1c77ab125e29",
                    "label": "Order placed",
                    "detail": "DEMO-COI-PO-005",
                    "at": "2026-10-17T20:56:31.611Z",
                    "tone": "INFO"
                  }
                }
              ]
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e533-720d-adca-0c4fb0dedcdd",
            "type": "BUSINESS",
            "name": "Demo Pumps & Valves",
            "contactPerson": "",
            "mobile": "",
            "alternateMobile": "",
            "email": null,
            "gstin": null,
            "address": {
              "line1": "1 Demo Industrial Estate",
              "city": "Coimbatore",
              "state": "Tamil Nadu",
              "pincode": "641001"
            },
            "notes": "",
            "currentProjects": 1,
            "previousProjects": 1,
            "totalRevenue": 1467330,
            "outstandingBalance": 0,
            "customerSince": "2026-10-18",
            "activity": {
              "totalCount": 4,
              "edges": [
                {
                  "node": {
                    "id": "01a14ba6-e85c-79ed-a07f-af9934240070",
                    "label": "Payment received",
                    "detail": "CBE/26-27/0001",
                    "at": "2026-10-17T20:56:32.092Z",
                    "tone": "SUCCESS"
                  }
                },
                {
                  "node": {
                    "id": "01a14ba6-e818-7935-ad87-c0e2a7448c5a",
                    "label": "Invoice issued",
                    "detail": "CBE/26-27/0001",
                    "at": "2026-10-17T20:56:32.082Z",
                    "tone": "NEUTRAL"
                  }
                },
                {
                  "node": {
                    "id": "01a14ba6-e695-7d5c-b505-a59fd80251a9",
                    "label": "Order placed",
                    "detail": "DEMO-COI-PO-006",
                    "at": "2026-10-17T20:56:31.634Z",
                    "tone": "INFO"
                  }
                }
              ]
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e55f-7151-850b-de9c5dbe0224",
            "type": "BUSINESS",
            "name": "Demo Textile Machinery",
            "contactPerson": "",
            "mobile": "",
            "alternateMobile": "",
            "email": null,
            "gstin": null,
            "address": {
              "line1": "3 Demo Industrial Estate",
              "city": "Coimbatore",
              "state": "Tamil Nadu",
              "pincode": "641001"
            },
            "notes": "",
            "currentProjects": 1,
            "previousProjects": 0,
            "totalRevenue": 0,
            "outstandingBalance": 0,
            "customerSince": "2026-10-18",
            "activity": {
              "totalCount": 1,
              "edges": [
                {
                  "node": {
                    "id": "01a14ba6-e65b-7f56-8b35-19dd1d9b93d2",
                    "label": "Order placed",
                    "detail": "DEMO-COI-PO-003",
                    "at": "2026-10-17T20:56:31.578Z",
                    "tone": "INFO"
                  }
                }
              ]
            }
          }
        }
      ]
    }
  }
}
040CustomersList · load-live-fieldsownerPOST /graphql200 OKAs expected9 ms

Control: the fields live does serve.

Operation
customers
Request id
01a14ba9-5644-7f4a-a279-a9b94d0ff536
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomersLive { customers(first: 10) { totalCount edges { node { ...CUSLIVE } } } }
fragment CUSLIVE on Customer { id name email gstin phone status paymentTermsDays billingAddress { line1 line2 city state pincode } shippingAddress { line1 city state pincode } contacts { id name designation phone email } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "totalCount": 5,
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "name": "Demo Agro Implements",
            "email": null,
            "gstin": null,
            "phone": null,
            "status": "ACTIVE",
            "paymentTermsDays": 45,
            "billingAddress": {
              "line1": "4 Demo Industrial Estate",
              "line2": null,
              "city": "Tiruppur",
              "state": "Tamil Nadu",
              "pincode": "641601"
            },
            "shippingAddress": null,
            "contacts": [
              {
                "id": "01a14ba6-e56c-7ba4-9d05-f1931b9d5759",
                "name": "Demo Buyer",
                "designation": "Purchase",
                "phone": null,
                "email": null
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e54e-713f-beb0-6e57f2a9a88e",
            "name": "Demo Auto Components",
            "email": null,
            "gstin": null,
            "phone": null,
            "status": "ACTIVE",
            "paymentTermsDays": 45,
            "billingAddress": {
              "line1": "2 Demo Industrial Estate",
              "line2": null,
              "city": "Tiruppur",
              "state": "Tamil Nadu",
              "pincode": "641601"
            },
            "shippingAddress": null,
            "contacts": [
              {
                "id": "01a14ba6-e54f-7c7a-9662-5b0d053afbca",
                "name": "Demo Buyer",
                "designation": "Purchase",
                "phone": null,
                "email": null
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e579-7091-b879-fd026c5ab537",
            "name": "Demo Hydraulics",
            "email": null,
            "gstin": null,
            "phone": null,
            "status": "ACTIVE",
            "paymentTermsDays": 30,
            "billingAddress": {
              "line1": "5 Demo Industrial Estate",
              "line2": null,
              "city": "Bengaluru",
              "state": "Karnataka",
              "pincode": "560001"
            },
            "shippingAddress": null,
            "contacts": [
              {
                "id": "01a14ba6-e57a-764d-b405-7575036ac25d",
                "name": "Demo Buyer",
                "designation": "Purchase",
                "phone": null,
                "email": null
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e533-720d-adca-0c4fb0dedcdd",
            "name": "Demo Pumps & Valves",
            "email": null,
            "gstin": null,
            "phone": null,
            "status": "ACTIVE",
            "paymentTermsDays": 30,
            "billingAddress": {
              "line1": "1 Demo Industrial Estate",
              "line2": null,
              "city": "Coimbatore",
              "state": "Tamil Nadu",
              "pincode": "641001"
            },
            "shippingAddress": null,
            "contacts": [
              {
                "id": "01a14ba6-e535-715c-bca9-4e733628fc66",
                "name": "Demo Buyer",
                "designation": "Purchase",
                "phone": null,
                "email": null
              }
            ]
          }
        },
        {
          "node": {
            "id": "01a14ba6-e55f-7151-850b-de9c5dbe0224",
            "name": "Demo Textile Machinery",
            "email": null,
            "gstin": null,
            "phone": null,
            "status": "ACTIVE",
            "paymentTermsDays": 30,
            "billingAddress": {
              "line1": "3 Demo Industrial Estate",
              "line2": null,
              "city": "Coimbatore",
              "state": "Tamil Nadu",
              "pincode": "641001"
            },
            "shippingAddress": null,
            "contacts": [
              {
                "id": "01a14ba6-e55f-7fcb-a09a-028774670aff",
                "name": "Demo Buyer",
                "designation": "Purchase",
                "phone": null,
                "email": null
              }
            ]
          }
        }
      ]
    }
  }
}
041CustomersList · field-typeownerPOST /graphql200 OKAs expected20 ms
Operation
customers
Request id
01a14ba9-5752-7b03-9a3a-e9e78e33906d
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomerField { customers(first: 1) { edges { node { id type } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "type": "BUSINESS"
          }
        }
      ]
    }
  }
}
042CustomersList · field-contactPersonownerPOST /graphql200 OKAs expected13 ms
Operation
customers
Request id
01a14ba9-586b-779f-880a-64bd4cbed334
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomerField { customers(first: 1) { edges { node { id contactPerson } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "contactPerson": ""
          }
        }
      ]
    }
  }
}
043CustomersList · field-mobileownerPOST /graphql200 OKAs expected19 ms
Operation
customers
Request id
01a14ba9-597e-72cd-86c1-cb7d03a56fa3
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomerField { customers(first: 1) { edges { node { id mobile } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "mobile": ""
          }
        }
      ]
    }
  }
}
044CustomersList · field-alternateMobileownerPOST /graphql200 OKAs expected19 ms
Operation
customers
Request id
01a14ba9-5a96-7c89-8863-d87983800569
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomerField { customers(first: 1) { edges { node { id alternateMobile } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "alternateMobile": ""
          }
        }
      ]
    }
  }
}
045CustomersList · field-notesownerPOST /graphql200 OKAs expected14 ms
Operation
customers
Request id
01a14ba9-5bad-7ddd-8ad8-a2a12fcc4586
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomerField { customers(first: 1) { edges { node { id notes } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "notes": ""
          }
        }
      ]
    }
  }
}
046CustomersList · field-addressownerPOST /graphql200 OKAs expected29 ms
Operation
customers
Request id
01a14ba9-5cc0-760b-b01d-549a97aba93c
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomerField { customers(first: 1) { edges { node { id address { line1 } } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "address": {
              "line1": "4 Demo Industrial Estate"
            }
          }
        }
      ]
    }
  }
}
047CustomersList · field-customerSinceownerPOST /graphql200 OKAs expected16 ms
Operation
customers
Request id
01a14ba9-5de3-7a28-b83c-b903abf04346
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomerField { customers(first: 1) { edges { node { id customerSince } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "customerSince": "2026-10-18"
          }
        }
      ]
    }
  }
}
048CustomersList · field-activityownerPOST /graphql200 OKAs expected22 ms
Operation
customers
Request id
01a14ba9-5ef8-7043-a21a-e5e8277dcaea
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomerField { customers(first: 1) { edges { node { id activity(first: 1) { totalCount } } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "activity": {
              "totalCount": 1
            }
          }
        }
      ]
    }
  }
}
049CustomersList · field-currentProjectsownerPOST /graphql200 OKAs expected15 ms
Operation
customers
Request id
01a14ba9-6024-786e-b102-bda20f563368
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomerField { customers(first: 1) { edges { node { id currentProjects } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "currentProjects": 1
          }
        }
      ]
    }
  }
}
050CustomersList · field-previousProjectsownerPOST /graphql200 OKAs expected13 ms
Operation
customers
Request id
01a14ba9-6137-737b-b621-2849aa16378c
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomerField { customers(first: 1) { edges { node { id previousProjects } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "previousProjects": 0
          }
        }
      ]
    }
  }
}
051CustomersList · field-totalRevenueownerPOST /graphql200 OKAs expected13 ms
Operation
customers
Request id
01a14ba9-6248-7ee7-ad6f-2c3c69eea4c0
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomerField { customers(first: 1) { edges { node { id totalRevenue } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "totalRevenue": 0
          }
        }
      ]
    }
  }
}
052CustomersList · field-outstandingBalanceownerPOST /graphql200 OKAs expected32 ms
Operation
customers
Request id
01a14ba9-635c-77a9-9f42-c1f033b666b8
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomerField { customers(first: 1) { edges { node { id outstandingBalance } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "outstandingBalance": 0
          }
        }
      ]
    }
  }
}
053CustomersList · sort-by-current-projectsownerPOST /graphql200 OKAs expected15 ms

The app sorts by current projects, then name.

Operation
customers(sort)
Request id
01a14ba9-6482-79de-951c-11dd1e5c6d54
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomersSort { customers(first: 5, sort: { field: CURRENT_PROJECTS, direction: DESC }) { totalCount } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "totalCount": 5
    }
  }
}
054CustomersList · search-by-cityownerPOST /graphql200 OKAs expected21 ms

The app searches name, contact person, email, city and GSTIN. "Tiruppur" is a seeded billing city.

Operation
customers(search)
Request id
01a14ba9-6597-75ab-966d-36ae6fe89736
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditCustomersSearch($s: String) { customers(first: 5, search: $s) { totalCount } all: customers(first: 1) { totalCount } }

Variables

{
  "s": "Tiruppur"
}

Response · HTTP 200

{
  "data": {
    "customers": {
      "totalCount": 2
    },
    "all": {
      "totalCount": 5
    }
  }
}
069OrderForm · load-customers-pickerownerPOST /graphql200 OKAs expected11 ms
Operation
customers
Request id
01a14ba9-7795-76df-a8cb-d8c3692eb422
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditOrderFormCustomers { customers(first: 10) { totalCount edges { node { id name email status } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "customers": {
      "totalCount": 6,
      "edges": [
        {
          "node": {
            "id": "01a14ba9-67a8-73e2-b421-6469418b8866",
            "name": "Audit Components",
            "email": "audit.components@example.test",
            "status": "ACTIVE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "name": "Demo Agro Implements",
            "email": null,
            "status": "ACTIVE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e54e-713f-beb0-6e57f2a9a88e",
            "name": "Demo Auto Components",
            "email": null,
            "status": "ACTIVE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e579-7091-b879-fd026c5ab537",
            "name": "Demo Hydraulics",
            "email": null,
            "status": "ACTIVE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e533-720d-adca-0c4fb0dedcdd",
            "name": "Demo Pumps & Valves",
            "email": null,
            "status": "ACTIVE"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e55f-7151-850b-de9c5dbe0224",
            "name": "Demo Textile Machinery",
            "email": null,
            "status": "ACTIVE"
          }
        }
      ]
    }
  }
}
138QuoteDetails · loadownerPOST /graphql200 OKAs expected29 ms
Operation
quote+organisation+customers
Request id
01a14ba9-d6b2-7a1c-9a25-68c285dedd79
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "content-type": "application/json"
}

Query

query AuditQuoteDetails($id: ID!) { quote(id: $id) { ...QT } organisation { name address { line1 city state pincode } gstin phone email gstRegistered gstState defaultTaxRate taxRates { id rate active } invoiceLogo { ...F } logo { ...F } termsAndConditions invoiceFooter } customers(first: 5) { edges { node { id name gstin billingAddress { state } } } } }
fragment QT on Quote { id number customerId customerName part quantity material status gstRate orderId createdAt lines { id operation description minutesPerPiece setupMinutes ratePerMinute amount } totals { subtotal discount taxable gstRate supply cgst sgst igst gst total } }
fragment F on AppFileReference { id name kind sizeBytes }

Variables

{
  "id": "01a14ba9-d1fa-71fe-8713-a07475f8dd8a"
}

Response · HTTP 200

{
  "data": {
    "quote": {
      "id": "01a14ba9-d1fa-71fe-8713-a07475f8dd8a",
      "number": "QTN/26-27/0003",
      "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
      "customerName": "Demo Agro Implements",
      "part": "Audit shaft",
      "quantity": 12,
      "material": "EN8",
      "status": "DRAFT",
      "gstRate": 18,
      "orderId": null,
      "createdAt": "2026-10-17T20:59:43.013Z",
      "lines": [
        {
          "id": "01a14ba9-d577-781e-bf3a-835a7ee8a35b",
          "operation": "Turning",
          "description": "",
          "minutesPerPiece": 5,
          "setupMinutes": 10,
          "ratePerMinute": 2000,
          "amount": 140000
        },
        {
          "id": "01a14ba9-d578-7d2b-ad44-38d8963c84d0",
          "operation": "Drilling",
          "description": "",
          "minutesPerPiece": 1,
          "setupMinutes": 0,
          "ratePerMinute": 900,
          "amount": 10800
        }
      ],
      "totals": {
        "subtotal": 150800,
        "discount": 0,
        "taxable": 150800,
        "gstRate": 18,
        "supply": "INTRA",
        "cgst": 13572,
        "sgst": 13572,
        "igst": 0,
        "gst": 27144,
        "total": 177944
      }
    },
    "organisation": {
      "name": "Demo Coimbatore Works",
      "address": {
        "line1": "10 Synthetic Works Road",
        "city": "Coimbatore",
        "state": "Tamil Nadu",
        "pincode": "641001"
      },
      "gstin": "33DEMOA0001A1Z5",
      "phone": "+919000000100",
      "email": "office@example.test",
      "gstRegistered": true,
      "gstState": "Tamil Nadu",
      "defaultTaxRate": 18,
      "taxRates": [
        {
          "id": "0192f0c1-0000-7000-8000-f00000000000",
          "rate": 0,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000001",
          "rate": 5,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000002",
          "rate": 12,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000003",
          "rate": 18,
          "active": true
        },
        {
          "id": "0192f0c1-0000-7000-8000-f00000000004",
          "rate": 28,
          "active": false
        }
      ],
      "invoiceLogo": null,
      "logo": null,
      "termsAndConditions": "Synthetic terms",
      "invoiceFooter": "Thank you"
    },
    "customers": {
      "edges": [
        {
          "node": {
            "id": "01a14ba9-67a8-73e2-b421-6469418b8866",
            "name": "Audit Components",
            "gstin": null,
            "billingAddress": {
              "state": "Tamil Nadu"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
            "name": "Demo Agro Implements",
            "gstin": null,
            "billingAddress": {
              "state": "Tamil Nadu"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e54e-713f-beb0-6e57f2a9a88e",
            "name": "Demo Auto Components",
            "gstin": null,
            "billingAddress": {
              "state": "Tamil Nadu"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e579-7091-b879-fd026c5ab537",
            "name": "Demo Hydraulics",
            "gstin": null,
            "billingAddress": {
              "state": "Karnataka"
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e533-720d-adca-0c4fb0dedcdd",
            "name": "Demo Pumps & Valves",
            "gstin": null,
            "billingAddress": {
              "state": "Tamil Nadu"
            }
          }
        }
      ]
    }
  }
}

deleteCustomer

060CustomerDetails · deleteownerPOST /graphql200 OKAs expected39 ms
Operation
deleteCustomer
Request id
01a14ba9-6d6a-78a5-bad9-a6ace92d4f2f
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-060",
  "content-type": "application/json"
}

Query

mutation AuditDeleteCustomer($id: ID!) { deleteCustomer(id: $id) }

Variables

{
  "id": "01a14ba9-6911-7037-b353-df9f92431747"
}

Response · HTTP 200

{
  "data": {
    "deleteCustomer": true
  }
}

updateCustomer

057CustomerDetails · save-notes-partialownerPOST /graphql200 OKAs expected64 ms

The app saves one section (info / address / notes) at a time.

Operation
updateCustomer
Request id
01a14ba9-69f4-7d04-bcbb-53bd23b6bcf5
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-057",
  "content-type": "application/json"
}

Query

mutation AuditUpdateCustomerNotes($id: ID!, $input: CustomerInput!) { updateCustomer(id: $id, input: $input) { id } }

Variables

{
  "id": "01a14ba9-6911-7037-b353-df9f92431747",
  "input": {
    "notes": "Synthetic note"
  }
}

Response · HTTP 200

{
  "data": {
    "updateCustomer": {
      "id": "01a14ba9-6911-7037-b353-df9f92431747"
    }
  }
}
159CustomersList · edit-app-inputownerPOST /graphql200 OKAs expected93 ms
Operation
updateCustomer
Request id
01a14ba9-eee2-7451-a499-3d000fcb41df
Expected
OK

Headers

{
  "authorization": "[REDACTED]",
  "idempotency-key": "key-159",
  "content-type": "application/json"
}

Query

mutation AuditUpdateCustomerApp($id: ID!, $input: CustomerInput!) { updateCustomer(id: $id, input: $input) { id } }

Variables

{
  "id": "01a14ba6-e56a-7478-990d-ceec492d63e7",
  "input": {
    "type": "BUSINESS",
    "name": "Demo Agro Implements",
    "contactPerson": "Audit Contact",
    "mobile": "+919000000301",
    "paymentTermsDays": 30,
    "billingAddress": {
      "line1": "12 Synthetic Road",
      "city": "Chennai",
      "state": "Tamil Nadu",
      "pincode": "600032"
    }
  }
}

Response · HTTP 200

{
  "data": {
    "updateCustomer": {
      "id": "01a14ba6-e56a-7478-990d-ceec492d63e7"
    }
  }
}

Search documentation

Search operations, types and errors from the generated contract.