Update customer

PUT {{baseUrl}}/v3/ledger/customer/:id

2 credits per API call.


This method is helpful in case your primary system will change ID's or customer will change the country he/she is supposed to be in compliance with.

Request Body

{"externalId"=>"123654", "accountingCurrency"=>"USD", "customerCountry"=>"US", "providerCountry"=>"US"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"active":true,"id":"5e68c66581f2ee32bc354087","externalId":"651234","enabled":true,"accountingCurrency":"USD","customerCountry":"US","providerCountry":"US"}