Pereiti prie pagrindinio turinio
pre_invoices

Update /pre_invoices/{uuid}

Update a pre-invoice by UUID (PATCH). Only sent fields are updated. Returns record with the detail projection.

PATCH
/pre_invoices/{uuid}
Authorizationstringheaderprivaloma

API key (Bearer token) created in Setup → API & MCP.

uuidstringprivaloma

Turinys

application/json
adminnotestring

Internal admin note.

billing_citystring

Billing city.

billing_countrystring

Billing country UUID.

billing_statestring

Billing state/region.

billing_streetstring

Billing street address.

billing_zipstring

Billing ZIP/postal code.

clientnotestring

Note visible to client.

contactstring

Client UUID (required on create if lead is omitted).

contact_personstring

Contact person UUID.

currencystring

Currency name (e.g. EUR). Uses tenant default when omitted on create.

custom_fieldsobject[]

Custom field values by slug.

datestring

Estimate date (Y-m-d).

expiry_datestring

Expiry date (Y-m-d).

itemsobject[]

Estimate line items to create or update. Include uuid to update an existing row.

leadstring

Lead UUID (required on create if contact is omitted).

organizationstring

Organization UUID.

sale_agentstring

Sale agent staff UUID.

shipping_citystring

Shipping city.

shipping_countrystring

Shipping country UUID.

shipping_statestring

Shipping state/region.

shipping_streetstring

Shipping street address.

shipping_zipstring

Shipping ZIP/postal code.

statusinteger

Estimate status code (1–5).

termsstring

Terms and conditions.

Atsakymas

application/json

Success

recordobject

Fields enabled for this documentation instance (projection enabled: feature, option, subdomain, closures) plus account-level form field visibility. Role- and user-level field overrides are not applied here, so an API key whose staff user has such overrides may receive fewer fields. A disabled field is omitted from the response object entirely; a present key with a null value means the record simply has no value.