v1

latestOpenAPI 3.0.12026-07-24310590875.6 KB
payment-terms

Update a payment term

Update details about an existing payment term.

patch/v3/organizations/{organizationId}/payment-terms/{paymentTermId}

Path parameters

organizationIdstring required

BILL-generated ID of the organization. The value begins with 008.

Example:{{organization_id}}
paymentTermIdstring required

BILL-generated ID of the payment term. The value begins with 00p.

Example:{{payment_term_id}}

Headers

sessionIdstring nullable

API session ID generated with /v3/login

Example:{{session_id}}
devKeystring nullable

Developer key generated with your BILL developer account

Example:{{developer_key}}

Request body

namestring

Payment term name. Examples include Net 30 and Due upon receipt.

daysDueinteger

Number of days until payment is due

Example request

{
  "name": "Net 60",
  "daysDue": 60
}

Response

Update a payment term response

idstring

BILL-generated ID of the payment term. The value begins with 00p.

namestring

Payment term name

daysDueinteger

Number of days until payment is due

createdTimestring date-time

Created date and time

updatedTimestring date-time

Updated date and time