Error
A valid request URL is required to generate request examples{
"id": 123,
"name": "Deposit 30% on order",
"term_type": "percentage",
"trigger": "order",
"due_days": 1,
"is_default": true,
"position": 123,
"description": "<string>",
"percent": "30.0000",
"amount": "<string>",
"created_by_id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}PaymentTerm
Update a payment term
PATCH
/
payment_terms
/
{id}
Error
A valid request URL is required to generate request examples{
"id": 123,
"name": "Deposit 30% on order",
"term_type": "percentage",
"trigger": "order",
"due_days": 1,
"is_default": true,
"position": 123,
"description": "<string>",
"percent": "30.0000",
"amount": "<string>",
"created_by_id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}Body
application/json
Only the given keys change; sending percent clears amount and the reverse. Orders that copied the term keep their lines.
Response
OK
A workspace payment term — one reusable payment line (a percentage of the order total or a fixed amount, due due_days after a trigger). Contacts companies pick an ordered list of terms; the ones flagged is_default apply to suppliers without their own. Purchase orders copy the lines, so editing or deleting a term never changes existing orders.