Payment Terms
Update payment term
Partially update a payment term. Only provided fields will be updated.
patch/payment-terms/{id}
Path parameters
idstring required
Resource ID (UUID) or client key
Query parameters
by'id' | 'key'
Specify lookup type for faster retrieval. If omitted, defaults to looking up by ID first, then falls back to client key if not found. Use by=key when you know you're providing a client key for best performance.
Request body
Example request
{
"name": "Net 30",
"description": "Payment due 30 days from invoice date",
"days": 30,
"quickPayFee": 0.05,
"key": "ERP-PAYTERM-NET30"
}Response
Payment term updated successfully
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Net 30",
"description": "Payment due 30 days from invoice date",
"days": 30,
"quickPayFee": 0.05,
"key": "ERP-PAYTERM-NET30",
"createdAt": "2025-01-15T10:00:00Z",
"updatedAt": "2025-01-15T14:30:00Z"
}