Update one

Updates a payable

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The id of the payable

Body Params

update parameters

date-time
string
enum

The approval state of the payable.

Allowed:
string
date-time

The scheduled/expected payment date for this payable.

string
enum

Only editable by callers with the erp_tradables_manage permission on the payable's company; ignored otherwise.

Allowed:
string
enum
Allowed:
boolean

Whether the payable has been discarded or not. A discarded payable will not be obtained in the index.

integer

The amount that has been paid for this payable. This amount is not necessarily the same as the total paid amount of the payable.

Headers
uuid
required

UUID of the company on whose behalf the request is made. Required for every Pay endpoint.
See The company-id header for details on how to obtain
a value for this header and the error responses to expect when it is missing or invalid.

If the deprecated company_id query parameter is also sent, both values must match;
the API returns 422 Unprocessable Entity when they disagree.

Responses

401

Unauthorized

404

Payable not found

422

Unprocessable Entity

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json