Quote update
Changed onThis operation updates the details of a specific quote within a document by specifying the document ID and quote ID.
📘 Permissions
Requires the 'Can Edit Document' and 'Can Edit Content' permissions. The document must be in Draft (document.draft). Updating quotes is available on plans that include Product Catalog.
🚧 Payload size
The maximum request body size is 512 KiB (524288 bytes). Larger requests return 413 and are not applied.
Request
- Base URLhttps://api.pandadoc.com
- Auth
- API key in header Authorization
- or OAuth 2Authorization codehttps://app.pandadoc.com/oauth2/authorizeToken URLhttps://api.pandadoc.com/oauth2/access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Document ID
Quote ID
Request body
Example request
{
"currency": "USD",
"sections": [
{
"items": [
{
"qty": 10,
"price": 42.42,
"cost": 42.42
}
]
}
]
}Response
OK
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"
}
]
}Changes
- breaking
removed the enum value
semiannualyof the request property//// - breaking
the
////response's property type changed fromstringtobooleanfor status - warning
added the new
annuallyenum value to the////response property for the response status - warning
added the new
monthlyenum value to the////response property for the response status - warning
added the new
quarterlyenum value to the////response property for the response status - warning
added the new
semiannuallyenum value to the////response property for the response status - warning
added the new
weeklyenum value to the////response property for the response status - info
added the new optional request property
// - info
added the new
semiannuallyenum value to the request property//// - info
added the non-success response with the status
- info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
///to the response with the status
- breaking