put
https://api.zenoti.com//v1/invoices//lock
This API locks an invoice to prevent any further edits or modifications after the invoice receipt has been printed or emailed. Once an invoice is locked, invoice items or details cannot be modified.
BaseApiV2Response
| Json property | Data type | Description |
|---|---|---|
| error | APIV2ErrorModel | Contains error details when the request fails. Returns null when the API request is successful. |
APIV2ErrorModel
| Json property | Data type | Description |
|---|---|---|
| code | string | Error code representing the type of failure. |
| message | string | Human-readable description of the error returned by the API. |
