Update a payment term

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

payment_terms_idstringRequired

Headers

x-monite-versionstringRequired
x-monite-entity-idstringRequired
The ID of the entity that owns the requested resource.

Request

This endpoint expects an object.
descriptionstringOptional<=255 characters
namestringOptional1-100 characters
term_1objectOptional
The first tier of the payment term. Represents the terms of the first early discount.
term_2objectOptional
The second tier of the payment term. Defines the terms of the second early discount.
term_finalobjectOptional
The final tier of the payment term. Defines the invoice due date.

Response

Successful Response
idstringformat: "uuid"
namestring
term_finalobject
The final tier of the payment term. Defines the invoice due date.
descriptionstring
term_1object
The first tier of the payment term. Represents the terms of the first early discount.
term_2object
The second tier of the payment term. Defines the terms of the second early discount.

Errors

400
Patch Payment Terms ID Request Bad Request Error
401
Patch Payment Terms ID Request Unauthorized Error
403
Patch Payment Terms ID Request Forbidden Error
404
Patch Payment Terms ID Request Not Found Error
422
Patch Payment Terms ID Request Unprocessable Entity Error
500
Patch Payment Terms ID Request Internal Server Error