v1

latestOpenAPI 3.0.3MIT2026-07-24122271451.2 KB
Quotes

Quote update

This operation updates the details of a specific quote within a document by specifying the document ID and quote ID.

put/public/v1/documents/{document_id}/quotes/{quote_id}

Path parameters

document_idstring required

Document ID

quote_idstring required

Quote ID

Request body

currencystring

Currency code (ISO 4217)

Example request

{
  "currency": "USD",
  "sections": [
    {
      "items": [
        {
          "qty": 10,
          "price": 42.42,
          "cost": 42.42
        }
      ]
    }
  ]
}

Response

OK

idstring
currencystring
totalstring

Example response

{
  "id": "4b011d86-286b-4f86-b697-90a6ad3f1489",
  "currency": "USD",
  "total": "900",
  "summary": {
    "total": "900",
    "subtotal": "1000",
    "one_time_subtotal": "500",
    "recurring_subtotal": [
      {
        "billing_cycle": "monthly",
        "value": "500"
      }
    ],
    "total_discount": "100",
    "total_contract_value": "1900"
  },
  "sections": [
    {
      "summary": {
        "total": "1000",
        "subtotal": "1000",
        "one_time_subtotal": "500",
        "recurring_subtotal": [
          {
            "billing_cycle": "monthly",
            "value": "500"
          }
        ],
        "total_section_value": "1900"
      },
      "items": [
        {
          "qty": "1",
          "price": "500",
          "overall_total": "1000"
        }
      ],
      "total": "1000"
    }
  ]
}