{
"sync_code": "C0001",
"name": "Update Customer",
"name_kh": "អតិថិជន ខ",
"email": "Bill24@gmail.com",
"phone": "0122558963"
}
curl --location --request POST 'https://merchantapi-demo.bill24.io/customer/update' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {token get from endpoint (Authorization)}' \
--header 'Content-Type: application/json' \
--data-raw '{
"sync_code": "C0001",
"name": "Update Customer",
"name_kh": "អតិថិជន ខ",
"email": "Bill24@gmail.com",
"phone": "0122558963"
}'
{
"code": "000",
"message": "Customer profile updated successfully.",
"message_kh": " អតិថិជនបានកែប្រែជោគជ័យ។ ",
"data": {
"id": "5a736f6c-df75-4598-a1ed-bc1850482a0d",
"sync_code": "C0001",
"name": "Update Customer",
"name_kh": "អតិថិជន ខ",
"phone": "0122558963",
"email": "Bill24@gmail.com",
"wallet": []
}
}