Skip to main content
POST
/
finance
/
customers
/
update
Update customer account details
curl --request POST \
  --url http://134.209.118.139:3002/finance/customers/update \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "customerid": 123,
  "fullname": "<string>",
  "telephone": "<string>",
  "address": "<string>",
  "nextofkin": "<string>"
}
'
{
  "message": "No token provided."
}

Authorizations

x-access-token
string
header
required

JWT token obtained from POST /api/auth/signin

Body

application/json
customerid
integer
required
fullname
string
telephone
string
address
string
nextofkin
string

Response

Update result