Quotes

Partial update a quote

Update only the provided fields on an existing quote.

patch/v1/quotes/{quoteId}

Request

  • Base URL: https://api.frihet.io
  • URL: https://api.frihet.io/v1/quotes/{quoteId}
  • Auth: API key in header X-API-Key

Path parameters

quoteIdstring required

Quote unique identifier

Request body

clientNamestring required

Client name

validUntilstring date

Quote expiration date

status'draft' | 'sent' | 'accepted' | 'rejected' | 'expired'
notesstring

Additional notes

Example request

{
  "clientName": "Acme Corp",
  "items": [
    {
      "description": "Web development services",
      "quantity": 10,
      "unitPrice": 85
    }
  ],
  "validUntil": "2026-04-09",
  "notes": "Valid for 30 days"
}

Response

Quote updated

idstring

Unique identifier

createdAtstring date-time
updatedAtstring date-time
clientNamestring required

Client name

validUntilstring date

Quote expiration date

status'draft' | 'sent' | 'accepted' | 'rejected' | 'expired'
notesstring

Additional notes

documentNumberstring

Auto-generated quote number

subtotalnumber

Subtotal before tax

taxnumber

Tax amount

totalnumber

Total amount including tax

Example response

{
  "clientName": "Acme Corp",
  "items": [
    {
      "description": "Web development services",
      "quantity": 10,
      "unitPrice": 85
    }
  ],
  "validUntil": "2026-04-09",
  "notes": "Valid for 30 days",
  "documentNumber": "PRE-2026-0015"
}

Changes

No recorded changes to this operation across all 1 revision of this API.