customerPayment

PATCH {{url}}/{{environment}}/api/v2.0/companies({{companyId}})/customerPayments({{customerPaymentId}})?tenant={{tenant}}

Request Params

KeyDatatypeRequiredDescription
tenantstring

Request Body

{"amount"=>1500}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
If-Matchstring

RESPONSES

status: OK

{"@odata.context":"http://bcserver:7048/BC/api/v2.0/$metadata#companies(7d95c69c-82de-ed11-884e-6045bdac97e2)/customerPayments/$entity","@odata.etag":"W/\"JzE5OzUwMTc2MjY4MjA0NzgzMjA3NTUxOzAwOyc=\"","id":"af844d50-5b0b-ee11-b393-db339aee3495","journalId":"66223caa-82de-ed11-884e-6045bdac97e2","journalDisplayName":"GENERAL","lineNumber":10000,"customerId":"00000000-0000-0000-0000-000000000000","customerNumber":"","postingDate":"2023-06-15","documentNumber":"G02001","externalDocumentNumber":"","amount":1500,"appliesToInvoiceId":"00000000-0000-0000-0000-000000000000","appliesToInvoiceNumber":"","description":"Cash","comment":"","lastModifiedDateTime":"2023-06-15T09:04:11.917Z"}