Skip to main content
PUT

Update an estimate

Scope:sales:estimates.write
https://api.holded.com/api/v2/estimates/{estimateId}

Replaces all mutable fields of an existing estimate. This is a full replacement — any field you omit will be reset to its default value. To avoid accidentally clearing data, first fetch the estimate with GET, modify the fields you need, and send back the full object. A signed-in user with limited access to estimates only reaches the estimates assigned to them or created by them; any other is reported as not found. API keys still need the scope of this endpoint.

Parameters

Path parameters

estimateIdstringrequired

Estimate ID (24-char hex ObjectId)

Request body

object
datestring<date>

Issue date in ISO 8601 format. Accepts date (YYYY-MM-DD) or datetime (e.g. 2026-01-15T00:00:00+00:00)

due_datestring<date> | null

Payment due date in ISO 8601 format. Accepts date (YYYY-MM-DD) or datetime (e.g. 2026-01-15T00:00:00+00:00)

show_totalboolean | null

Whether to show the total row in the PDF

tax_includedboolean | null

Whether prices are tax-included

show_discountboolean | null

Whether to show the discount rows in the PDF, including the per-item discount summary

bodystring | null

Rich-text content printed on the estimate

items[]object[]

Line items to include

namestring
typestring | null

Kind of line. `product` and `service` are billable lines whose amount (`units` × `price`, less `discount`, plus `taxes`) is added to the document total. `title` is a section-header line that shows only its `name` and carries no amount — it does not contribute to the total. Other values are special-purpose lines. Omit this field for an ordinary priced line item.

Enum:productshippingtitleroundingrefundecotaxwrappingservice
descriptionstring | null
product_idstring | null

Identifier of an existing catalog product to link this line to. The id is stored as a reference associating the line with the product (used for stock and reporting). Each line field (`price`, `taxes`, ...) is taken as sent; api2 stores the line values you provide and does not itself read them back from the product record. Leave unset for a free-text line that is not a catalog product.

variant_idstring | null

Identifier of the variant of `product_id` to link this line to. Requires `product_id`. Leave unset for a line without variant.

unitsnumber | null
pricenumber | null
discountnumber | null
taxes[]string[] | null

Tax keys applied to this line. When omitted, the contact default tax applies, or, if the contact has none, the account default tax when the request asks for it, else no tax.

skustring | null
accountstring | null
project_idstring | null
unit_typestring | null
suppliedboolean | null

Whether this line is a supply expense (suplido) paid on behalf of the client. Excluded from the tax base.

design_idstring | null

Identifier of the design template to apply to the document

Request

python
import requests

url = "https://api.holded.com/api/v2/estimates/{estimateId}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

payload = {
    "date": "2026-01-15",
    "due_date": "2026-01-31",
    "show_total": false,
    "tax_included": false,
    "show_discount": false,
    "body": "string",
    "items": [
        {
            "name": "string",
            "type": "product",
            "description": "string",
            "product_id": "string",
            "variant_id": "string",
            "units": 0,
            "price": 0,
            "discount": 0,
            "taxes": [
                "s_iva_21"
            ],
            "sku": "string",
            "account": "string",
            "project_id": "string",
            "unit_type": "string",
            "supplied": false
        }
    ],
    "design_id": "string"
}
response = requests.put(url, headers=headers, json=payload)
print(response.json())

Responses

Response

json
{
  "id": "string"
}

Success responses

200Estimate updatedapplication/json
object
idstring

Error responses

400Bad requestapplication/json
401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Estimate not foundapplication/json
429Rate limit exceededapplication/json