N1Developer docsv1

TESTED LIVE

Quotes

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

convertQuoteToOrder

141QuoteDetails · convert-to-ordersupervisorPOST /graphql200 OKAs expected47 ms
Operation
convertQuoteToOrder
Request id
01a14ba9-da0c-7b8b-9553-816256d88df3
Expected
OK

Headers

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

Query

mutation AuditConvert($id: ID!, $input: ConvertQuoteInput!) { convertQuoteToOrder(id: $id, input: $input) { id status orderId } }

Variables

{
  "id": "01a14ba9-d1fa-71fe-8713-a07475f8dd8a",
  "input": {
    "poNumber": "PO-AUDIT-Q1",
    "dueDate": "2026-11-11",
    "priority": "MEDIUM"
  }
}

Response · HTTP 200

{
  "data": {
    "convertQuoteToOrder": {
      "id": "01a14ba9-d1fa-71fe-8713-a07475f8dd8a",
      "status": "SENT",
      "orderId": "01a14ba9-da4f-79da-8065-a9d7e84cac99"
    }
  }
}

createQuote

134QuoteForm · createaccountantPOST /graphql200 OKAs expected69 ms
Operation
createQuote
Request id
01a14ba9-d1d9-700e-9e79-edb10f856680
Expected
OK

Headers

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

Query

mutation AuditCreateQuote($input: QuoteInput!) { createQuote(input: $input) { ...QT } }
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

{
  "input": {
    "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
    "part": "Audit shaft",
    "quantity": 10,
    "gstRate": 18,
    "material": "EN8",
    "lines": [
      {
        "operation": "Turning",
        "description": "Rough",
        "minutesPerPiece": 5,
        "setupMinutes": 10,
        "ratePerMinute": 2000
      }
    ]
  }
}

Response · HTTP 200

{
  "data": {
    "createQuote": {
      "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": 10,
      "material": "EN8",
      "status": "DRAFT",
      "gstRate": 18,
      "orderId": null,
      "createdAt": "2026-10-17T20:59:43.013Z",
      "lines": [
        {
          "id": "01a14ba9-d1fa-76fd-99bf-a8c0b3cbb493",
          "operation": "Turning",
          "description": "Rough",
          "minutesPerPiece": 5,
          "setupMinutes": 10,
          "ratePerMinute": 2000,
          "amount": 120000
        }
      ],
      "totals": {
        "subtotal": 120000,
        "discount": 0,
        "taxable": 120000,
        "gstRate": 18,
        "supply": "INTRA",
        "cgst": 10800,
        "sgst": 10800,
        "igst": 0,
        "gst": 21600,
        "total": 141600
      }
    }
  }
}
135QuoteForm · create-fractional-rateaccountantPOST /graphql400 GRAPHQL_INVALIDAs decided9 ms

D15: rates are whole paise per minute.

Operation
createQuote
Request id
01a14ba9-d324-7258-b769-ea3aecdf6e19
Expected
OK

Headers

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

Query

mutation AuditCreateQuoteFrac($input: QuoteInput!) { createQuote(input: $input) { id } }

Variables

{
  "input": {
    "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7",
    "part": "Audit shaft",
    "quantity": 10,
    "gstRate": 18,
    "lines": [
      {
        "operation": "Turning",
        "minutesPerPiece": 5,
        "setupMinutes": 10,
        "ratePerMinute": 2666.67
      }
    ]
  }
}

Response · HTTP 400

{
  "data": null,
  "errors": [
    {
      "message": "Int cannot represent non-integer value: 2666.67",
      "extensions": {
        "code": "GRAPHQL_INVALID",
        "message": "The GraphQL document is invalid.",
        "requestId": "01a14ba9-d324-7258-b769-ea3aecdf6e19"
      }
    }
  ]
}

deleteQuote

133Billing · delete-quoteownerPOST /graphql200 OKAs expected30 ms
Operation
deleteQuote (none)
Request id
01a14ba9-d0b5-74fc-bde7-4985fb762cf2
Expected
OK

Headers

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

Query

mutation AuditDeleteQuote($id: ID!) { deleteQuote(id: $id) }

Variables

{
  "id": "01a14ba6-e678-7c29-b24d-e8d8f0d4ac48"
}

Response · HTTP 200

{
  "data": {
    "deleteQuote": true
  }
}

quote

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"
            }
          }
        }
      ]
    }
  }
}
221QuoteDetails · download-pdfaccountantPOST /graphql200 OKAs expected59 ms
Operation
quote.pdfFile
Request id
01a14bff-fd23-7b61-bbae-5d71d656f4f0
Expected
OK

Headers

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

Query

query ProofQuotePdf($id: ID!) { quote(id: $id) { id number status pdfFile { ...F } } }
fragment F on AppFileReference { id name kind sizeBytes }

Variables

{
  "id": "01a14ba6-e68b-7186-9275-d44e3591f471"
}

Response · HTTP 200

{
  "data": {
    "quote": {
      "id": "01a14ba6-e68b-7186-9275-d44e3591f471",
      "number": "QTN/26-27/0002",
      "status": "SENT",
      "pdfFile": {
        "id": "01a14bff-fd84-7a8a-aa74-d3fe4979cc39",
        "name": "QTN-26-27-0002.pdf",
        "kind": "quote_pdf",
        "sizeBytes": 4255
      }
    }
  }
}
226QuoteDetails · download-pdfoperatorPOST /graphql403 FORBIDDENAs expected13 ms

D7.

Operation
quote.pdfFile
Request id
01a14c00-03cc-7071-8ff0-c687fbf711f2
Expected
FORBIDDEN

Headers

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

Query

query ProofQuotePdf($id: ID!) { quote(id: $id) { id number status pdfFile { ...F } } }
fragment F on AppFileReference { id name kind sizeBytes }

Variables

{
  "id": "01a14ba6-e68b-7186-9275-d44e3591f471"
}

Response · HTTP 403

{
  "errors": [
    {
      "message": "You do not have access to this.",
      "locations": [
        {
          "line": 1,
          "column": 33
        }
      ],
      "path": [
        "quote"
      ],
      "extensions": {
        "code": "FORBIDDEN",
        "message": "You do not have access to this.",
        "requestId": "01a14c00-03cc-7071-8ff0-c687fbf711f2"
      }
    }
  ],
  "data": null
}
232QuoteDetails · download-pdfqcPOST /graphql403 FORBIDDENAs expected7 ms

D7.

Operation
quote.pdfFile
Request id
01a14c00-0a3c-706f-823b-e156d04e878a
Expected
FORBIDDEN

Headers

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

Query

query ProofQuotePdf($id: ID!) { quote(id: $id) { id number status pdfFile { ...F } } }
fragment F on AppFileReference { id name kind sizeBytes }

Variables

{
  "id": "01a14ba6-e68b-7186-9275-d44e3591f471"
}

Response · HTTP 403

{
  "errors": [
    {
      "message": "You do not have access to this.",
      "locations": [
        {
          "line": 1,
          "column": 33
        }
      ],
      "path": [
        "quote"
      ],
      "extensions": {
        "code": "FORBIDDEN",
        "message": "You do not have access to this.",
        "requestId": "01a14c00-0a3c-706f-823b-e156d04e878a"
      }
    }
  ],
  "data": null
}

quotes

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"
          }
        }
      ]
    }
  }
}
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": []
    }
  }
}
059CustomerDetails · load-orders-quotes-tabsownerPOST /graphql200 OKAs expected14 ms
Operation
orders+quotes
Request id
01a14ba9-6c57-7f27-b742-71a8443e2120
Expected
OK

Headers

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

Query

query AuditCustomerTabs($id: ID!) { 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 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": {
    "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": []
    }
  }
}
130Billing · loadownerPOST /graphql200 OKAs expected60 ms
Operation
invoices+invoiceSummary+quotes
Request id
01a14ba9-cd4a-7492-bb36-05fadf058fb6
Expected
OK

Headers

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

Query

query AuditBilling { invoices(first: 5, sort: { field: NUMBER, direction: DESC }) { totalCount edges { node { ...INV } } } invoiceSummary { total new overdue paid billedThisMonth outstanding overdueAmount } quotes(first: 5, sort: { field: NUMBER, direction: DESC }) { totalCount edges { node { ...QT } } } quoteAll: quotes(first: 1) { totalCount } quoteDraft: quotes(first: 1, filter: { status: DRAFT }) { totalCount } quoteSent: quotes(first: 1, filter: { status: SENT }) { totalCount } }
fragment INV on Invoice { id number customerId customerName jobCardId orderId routeCard part quantity status discount gstRate quoteId poAmount notes issuedAt dueDate lines { id operation description minutesPerPiece setupMinutes ratePerMinute amount } totals { subtotal discount taxable gstRate supply cgst sgst igst gst total } payment { paidOn receivedAmount tdsAmount tdsSection } }
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

{}

Response · HTTP 200

{
  "data": {
    "invoices": {
      "totalCount": 2,
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e836-79c7-861a-0c20920fb6fc",
            "number": "CBE/26-27/0002",
            "customerId": "01a14ba6-e54e-713f-beb0-6e57f2a9a88e",
            "customerName": "Demo Auto Components",
            "jobCardId": "01a14ba6-e649-75ad-bbc9-16d7ecd00878",
            "orderId": "01a14ba6-e649-7d5b-9cc7-beaf68d484d7",
            "routeCard": "JC-00002",
            "part": "Valve spindle",
            "quantity": 80,
            "status": "NEW",
            "discount": 0,
            "gstRate": 18,
            "quoteId": null,
            "poAmount": null,
            "notes": null,
            "issuedAt": "2026-10-18",
            "dueDate": "2026-11-17",
            "lines": [
              {
                "id": "01a14ba6-e834-7522-b8bb-9760c119f49d",
                "operation": "CNC turning",
                "description": "",
                "minutesPerPiece": 6,
                "setupMinutes": 45,
                "ratePerMinute": 1500,
                "amount": 787500
              },
              {
                "id": "01a14ba6-e834-79d8-b991-0695c09addf2",
                "operation": "Deburring",
                "description": "",
                "minutesPerPiece": 1,
                "setupMinutes": 0,
                "ratePerMinute": 800,
                "amount": 64000
              }
            ],
            "totals": {
              "subtotal": 851500,
              "discount": 0,
              "taxable": 851500,
              "gstRate": 18,
              "supply": "INTRA",
              "cgst": 76635,
              "sgst": 76635,
              "igst": 0,
              "gst": 153270,
              "total": 1004770
            },
            "payment": null
          }
        },
        {
          "node": {
            "id": "01a14ba6-e818-7935-ad87-c0e2a7448c5a",
            "number": "CBE/26-27/0001",
            "customerId": "01a14ba6-e533-720d-adca-0c4fb0dedcdd",
            "customerName": "Demo Pumps & Valves",
            "jobCardId": "01a14ba6-e60b-76c9-90a1-2e48ac0af20c",
            "orderId": "01a14ba6-e60b-78e2-be46-05dfc8ff1cff",
            "routeCard": "JC-00001",
            "part": "Pump shaft",
            "quantity": 120,
            "status": "PAID",
            "discount": 0,
            "gstRate": 18,
            "quoteId": null,
            "poAmount": null,
            "notes": null,
            "issuedAt": "2026-10-18",
            "dueDate": "2026-11-17",
            "lines": [
              {
                "id": "01a14ba6-e817-747b-99d8-4c200a0ecb59",
                "operation": "CNC turning",
                "description": "",
                "minutesPerPiece": 6,
                "setupMinutes": 45,
                "ratePerMinute": 1500,
                "amount": 1147500
              },
              {
                "id": "01a14ba6-e817-7d7a-87f4-5d54ed3702d6",
                "operation": "Deburring",
                "description": "",
                "minutesPerPiece": 1,
                "setupMinutes": 0,
                "ratePerMinute": 800,
                "amount": 96000
              }
            ],
            "totals": {
              "subtotal": 1243500,
              "discount": 0,
              "taxable": 1243500,
              "gstRate": 18,
              "supply": "INTRA",
              "cgst": 111915,
              "sgst": 111915,
              "igst": 0,
              "gst": 223830,
              "total": 1467330
            },
            "payment": {
              "paidOn": "2026-10-18",
              "receivedAmount": 1442460,
              "tdsAmount": 24870,
              "tdsSection": "194C"
            }
          }
        }
      ]
    },
    "invoiceSummary": {
      "total": 2,
      "new": 1,
      "overdue": 0,
      "paid": 1,
      "billedThisMonth": 2472100,
      "outstanding": 1004770,
      "overdueAmount": 0
    },
    "quotes": {
      "totalCount": 2,
      "edges": [
        {
          "node": {
            "id": "01a14ba6-e68b-7186-9275-d44e3591f471",
            "number": "QTN/26-27/0002",
            "customerId": "01a14ba6-e55f-7151-850b-de9c5dbe0224",
            "customerName": "Demo Textile Machinery",
            "part": "Spline shaft",
            "quantity": 100,
            "material": "EN19 steel",
            "status": "SENT",
            "gstRate": 18,
            "orderId": null,
            "createdAt": "2026-10-17T20:56:31.680Z",
            "lines": [
              {
                "id": "01a14ba6-e68b-70d0-bdb2-cf0c1c5ee97d",
                "operation": "CNC turning",
                "description": "",
                "minutesPerPiece": 6,
                "setupMinutes": 45,
                "ratePerMinute": 1500,
                "amount": 967500
              },
              {
                "id": "01a14ba6-e68b-74f5-b24b-0d37caf8aa51",
                "operation": "Deburring",
                "description": "",
                "minutesPerPiece": 1,
                "setupMinutes": 0,
                "ratePerMinute": 800,
                "amount": 80000
              }
            ],
            "totals": {
              "subtotal": 1047500,
              "discount": 0,
              "taxable": 1047500,
              "gstRate": 18,
              "supply": "INTRA",
              "cgst": 94275,
              "sgst": 94275,
              "igst": 0,
              "gst": 188550,
              "total": 1236050
            }
          }
        },
        {
          "node": {
            "id": "01a14ba6-e678-7c29-b24d-e8d8f0d4ac48",
            "number": "QTN/26-27/0001",
            "customerId": "01a14ba6-e54e-713f-beb0-6e57f2a9a88e",
            "customerName": "Demo Auto Components",
            "part": "Hydraulic cylinder rod",
            "quantity": 50,
            "material": "EN19 steel",
            "status": "DRAFT",
            "gstRate": 18,
            "orderId": null,
            "createdAt": "2026-10-17T20:56:31.655Z",
            "lines": [
              {
                "id": "01a14ba6-e677-7155-8386-86e3b75f4134",
                "operation": "CNC turning",
                "description": "",
                "minutesPerPiece": 6,
                "setupMinutes": 45,
                "ratePerMinute": 1500,
                "amount": 517500
              },
              {
                "id": "01a14ba6-e677-7b39-8b3d-1b7247c34946",
                "operation": "Deburring",
                "description": "",
                "minutesPerPiece": 1,
                "setupMinutes": 0,
                "ratePerMinute": 800,
                "amount": 40000
              }
            ],
            "totals": {
              "subtotal": 557500,
              "discount": 0,
              "taxable": 557500,
              "gstRate": 18,
              "supply": "INTRA",
              "cgst": 50175,
              "sgst": 50175,
              "igst": 0,
              "gst": 100350,
              "total": 657850
            }
          }
        }
      ]
    },
    "quoteAll": {
      "totalCount": 2
    },
    "quoteDraft": {
      "totalCount": 1
    },
    "quoteSent": {
      "totalCount": 1
    }
  }
}
162Billing · quote-search-filterownerPOST /graphql200 OKAs expected28 ms
Operation
quotes(search, filter)
Request id
01a14ba9-f287-7a70-879a-4c0bcc82b68e
Expected
OK

Headers

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

Query

query AuditQuotesFilter { quotes(first: 5, search: "Audit", filter: { status: SENT }) { totalCount } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "quotes": {
      "totalCount": 1
    }
  }
}
209Billing · live-idsownerPOST /graphql200 OKAs expected40 ms
Operation
invoices+quotes
Request id
01a14bff-ec58-7653-b8d4-2ebb129781c7
Expected
OK

Headers

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

Query

query ProofIds {
  invoices(first: 5) { edges { node { id number customerId } } }
  quotes(first: 10) { edges { node { id number status orderId customerId } } } }

Variables

{}

Response · HTTP 200

{
  "data": {
    "invoices": {
      "edges": [
        {
          "node": {
            "id": "01a14baa-188a-7728-99be-72bfc173da7c",
            "number": "DCW/26-27/0101",
            "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e836-79c7-861a-0c20920fb6fc",
            "number": "CBE/26-27/0002",
            "customerId": "01a14ba6-e54e-713f-beb0-6e57f2a9a88e"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e818-7935-ad87-c0e2a7448c5a",
            "number": "CBE/26-27/0001",
            "customerId": "01a14ba6-e533-720d-adca-0c4fb0dedcdd"
          }
        }
      ]
    },
    "quotes": {
      "edges": [
        {
          "node": {
            "id": "01a14ba9-d1fa-71fe-8713-a07475f8dd8a",
            "number": "QTN/26-27/0003",
            "status": "SENT",
            "orderId": "01a14ba9-da4f-79da-8065-a9d7e84cac99",
            "customerId": "01a14ba6-e56a-7478-990d-ceec492d63e7"
          }
        },
        {
          "node": {
            "id": "01a14ba6-e68b-7186-9275-d44e3591f471",
            "number": "QTN/26-27/0002",
            "status": "SENT",
            "orderId": null,
            "customerId": "01a14ba6-e55f-7151-850b-de9c5dbe0224"
          }
        }
      ]
    }
  }
}

sendQuote

139QuoteDetails · set-sentaccountantPOST /graphql200 OKAs expected20 ms
Operation
sendQuote
Request id
01a14ba9-d7d3-79fb-9454-2cbd6aa4d64c
Expected
OK

Headers

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

Query

mutation AuditSendQuote($id: ID!) { sendQuote(id: $id) { id status } }

Variables

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

Response · HTTP 200

{
  "data": {
    "sendQuote": {
      "id": "01a14ba9-d1fa-71fe-8713-a07475f8dd8a",
      "status": "SENT"
    }
  }
}
223QuoteDetails · send-quoteaccountantPOST /graphql200 OKAs expected38 ms
Operation
sendQuote
Request id
01a14bff-ff7d-7bb5-88b0-d63ab6ea8252
Expected
OK

Headers

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

Query

mutation ProofSendQuote($id: ID!, $to: String) { sendQuote(id: $id, to: $to) { id number status } }

Variables

{
  "id": "01a14ba6-e68b-7186-9275-d44e3591f471",
  "to": "purchase@example.test"
}

Response · HTTP 200

{
  "data": {
    "sendQuote": {
      "id": "01a14ba6-e68b-7186-9275-d44e3591f471",
      "number": "QTN/26-27/0002",
      "status": "SENT"
    }
  }
}
224QuoteDetails · mailpit-shows-email-with-pdfaccountantGET /api/v1/search200 OKAs expected514 ms

Not a Core call: what the worker delivered to Mailpit (http://127.0.0.1:48025).

Operation
Mailpit GET /api/v1/search + /message/:id
Expected
OK

Response · HTTP 200

{
  "Subject": "Quotation QTN/26-27/0002 from Demo Coimbatore Works",
  "From": "no-reply@n1.local",
  "To": [
    "purchase@example.test"
  ],
  "Cc": [],
  "Text": "Hello,\r\n\r\nPlease find attached quotation QTN/26-27/0002 from Demo Coimbatore Works for Rs. 12,360.50, valid until 2026-11-17.\r\n\r\nThank you,\r\nDemo Coimbatore Works",
  "Attachments": [
    {
      "FileName": "QTN-26-27-0002.pdf",
      "ContentType": "application/pdf",
      "Size": 4255
    }
  ],
  "attachmentHeader": "%PDF-1.4"
}
230QuoteDetails · send-quoteoperatorPOST /graphql403 FORBIDDENAs expected8 ms
Operation
sendQuote
Request id
01a14c00-081c-74a6-95ae-2e87027bf6b5
Expected
FORBIDDEN

Headers

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

Query

mutation ProofSendQuoteDenied($id: ID!) { sendQuote(id: $id) { id } }

Variables

{
  "id": "01a14ba6-e68b-7186-9275-d44e3591f471"
}

Response · HTTP 403

{
  "errors": [
    {
      "message": "You do not have access to this.",
      "locations": [
        {
          "line": 1,
          "column": 43
        }
      ],
      "path": [
        "sendQuote"
      ],
      "extensions": {
        "code": "FORBIDDEN",
        "message": "You do not have access to this.",
        "requestId": "01a14c00-081c-74a6-95ae-2e87027bf6b5"
      }
    }
  ],
  "data": null
}
236QuoteDetails · send-quoteqcPOST /graphql403 FORBIDDENAs expected7 ms
Operation
sendQuote
Request id
01a14c00-0e7e-7b5b-9664-5cf5eee6500c
Expected
FORBIDDEN

Headers

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

Query

mutation ProofSendQuoteDenied($id: ID!) { sendQuote(id: $id) { id } }

Variables

{
  "id": "01a14ba6-e68b-7186-9275-d44e3591f471"
}

Response · HTTP 403

{
  "errors": [
    {
      "message": "You do not have access to this.",
      "locations": [
        {
          "line": 1,
          "column": 43
        }
      ],
      "path": [
        "sendQuote"
      ],
      "extensions": {
        "code": "FORBIDDEN",
        "message": "You do not have access to this.",
        "requestId": "01a14c00-0e7e-7b5b-9664-5cf5eee6500c"
      }
    }
  ],
  "data": null
}

updateQuote

136QuoteEdit · change-customeraccountantPOST /graphql400 GRAPHQL_INVALIDAs decided6 ms

D15: a quote keeps its customer.

Operation
updateQuote
Request id
01a14ba9-d432-770f-8a1b-a6bee7e01c53
Expected
OK

Headers

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

Query

mutation AuditQuoteCustomer($id: ID!, $input: QuoteUpdateInput!) { updateQuote(id: $id, input: $input) { id } }

Variables

{
  "id": "01a14ba9-d1fa-71fe-8713-a07475f8dd8a",
  "input": {
    "customerId": "01a14ba6-e54e-713f-beb0-6e57f2a9a88e"
  }
}

Response · HTTP 400

{
  "data": null,
  "errors": [
    {
      "message": "Field \"customerId\" is not defined by type \"QuoteUpdateInput\".",
      "extensions": {
        "code": "GRAPHQL_INVALID",
        "message": "The GraphQL document is invalid.",
        "requestId": "01a14ba9-d432-770f-8a1b-a6bee7e01c53"
      }
    }
  ]
}
137QuoteOperations · save-linesaccountantPOST /graphql200 OKAs expected110 ms
Operation
updateQuote
Request id
01a14ba9-d53f-7fb5-a2c1-93ad06a0a3f1
Expected
OK

Headers

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

Query

mutation AuditQuoteLines($id: ID!, $input: QuoteUpdateInput!) { updateQuote(id: $id, input: $input) { ...QT } }
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": "01a14ba9-d1fa-71fe-8713-a07475f8dd8a",
  "input": {
    "quantity": 12,
    "lines": [
      {
        "operation": "Turning",
        "minutesPerPiece": 5,
        "setupMinutes": 10,
        "ratePerMinute": 2000
      },
      {
        "operation": "Drilling",
        "minutesPerPiece": 1,
        "ratePerMinute": 900
      }
    ]
  }
}

Response · HTTP 200

{
  "data": {
    "updateQuote": {
      "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
      }
    }
  }
}

Search documentation

Search operations, types and errors from the generated contract.