Pereiti prie pagrindinio turinio
payments

Update /payments/{uuid}

Update a payment by UUID (PATCH). Only sent fields are updated (total_amount, payment_mode, date, note). Related document and rel_type cannot be changed. Returns record with the detail projection.

PATCH
/payments/{uuid}
Authorizationstringheaderprivaloma

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

uuidstringprivaloma

Turinys

application/json
datestring

Payment date (Y-m-d). Defaults to today on create when omitted.

notestring

Payment note.

payment_modestring

Payment mode ID from tenant payment modes.

total_amountstring

Total paid amount.

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.