Supplier Payments

PATCH

Update Supplier Payment

Update an existing supplier payment's information.

Required Permission: Edit Supplier Payment
PATCH /supplier-payments/{id}

Request Body

JSON

    

Request Parameters

Parameter Type Required Validation Description
supplier_idIntegerRequiredinteger, required, exists:suppliers,idID of the supplier (must be active)
fund_idIntegerRequiredinteger, required, exists:funds,idID of the fund (must be active)
amountNumericRequirednumeric, required, min:0.01Payment amount (minimum: 0.01)
payment_referenceStringOptionalstring, nullable, max:255Payment reference number
noteStringOptionalstring, nullable, max:255Additional notes
statusBooleanOptionalbooleanPayment status (true/false)

Response

200 OK
Status Code
HTTP status code (200)
Message
Supplier payment updated successfully
Data
Updated supplier payment object