curl -X PATCH https://kliio.app/api/v1/quotes/quo-uuid-... \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "status": "Accepted" }'
const res = await fetch('https://kliio.app/api/v1/quotes/quo-uuid-...', {
method: 'PATCH',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({ status: 'Accepted' })
})
const { data } = await res.json()
{
"success": true,
"data": {
"id": "quo-uuid-...",
"quote_number": "QUO-0012",
"status": "Accepted",
"amount": 3500.00,
"currency": "USD",
"expires_at": "2025-04-30",
"created_at": "2025-03-15T10:30:00.000Z"
}
}
{
"error": "No valid fields to update"
}
{
"error": "Quote not found or access denied"
}
Quotes
Update Quote
Updates one or more fields on an existing quote.
PATCH
/
api
/
v1
/
quotes
/
{id}
curl -X PATCH https://kliio.app/api/v1/quotes/quo-uuid-... \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "status": "Accepted" }'
const res = await fetch('https://kliio.app/api/v1/quotes/quo-uuid-...', {
method: 'PATCH',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({ status: 'Accepted' })
})
const { data } = await res.json()
{
"success": true,
"data": {
"id": "quo-uuid-...",
"quote_number": "QUO-0012",
"status": "Accepted",
"amount": 3500.00,
"currency": "USD",
"expires_at": "2025-04-30",
"created_at": "2025-03-15T10:30:00.000Z"
}
}
{
"error": "No valid fields to update"
}
{
"error": "Quote not found or access denied"
}
Headers
string
required
Bearer YOUR_API_KEYPath Parameters
string
required
UUID of the quote to update.
Body
Send only the fields you want to change. At least one field is required.string
New status. One of:
Draft, Sent, Accepted, Declined, Expired.string
Updated description.
string
Updated valid until date in
YYYY-MM-DD format.number
Updated total amount.
string
Updated 3-letter currency code.
number
Updated tax rate as a percentage (0–100).
Response
boolean
true on update.object
The updated quote object.
curl -X PATCH https://kliio.app/api/v1/quotes/quo-uuid-... \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "status": "Accepted" }'
const res = await fetch('https://kliio.app/api/v1/quotes/quo-uuid-...', {
method: 'PATCH',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({ status: 'Accepted' })
})
const { data } = await res.json()
{
"success": true,
"data": {
"id": "quo-uuid-...",
"quote_number": "QUO-0012",
"status": "Accepted",
"amount": 3500.00,
"currency": "USD",
"expires_at": "2025-04-30",
"created_at": "2025-03-15T10:30:00.000Z"
}
}
{
"error": "No valid fields to update"
}
{
"error": "Quote not found or access denied"
}

