Replaces the lines items in a payable

Replaces the information of all line items of a specific payable. Related guide: [Replace all line items](https://docs.monite.com/accounts-payable/payables/line-items#replace-all-line-items) See also: [Manage line items](https://docs.monite.com/accounts-payable/payables/line-items) [Collect payables](https://docs.monite.com/accounts-payable/payables/collect)

Authentication

AuthorizationBearer

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

Path parameters

payable_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.
datalist of objectsRequired

Response

Successful Response
datalist of objects

Errors

400
Put Payables ID Line Items Request Bad Request Error
401
Put Payables ID Line Items Request Unauthorized Error
403
Put Payables ID Line Items Request Forbidden Error
404
Put Payables ID Line Items Request Not Found Error
406
Put Payables ID Line Items Request Not Acceptable Error
409
Put Payables ID Line Items Request Conflict Error
422
Put Payables ID Line Items Request Unprocessable Entity Error
500
Put Payables ID Line Items Request Internal Server Error