UpdateCustomer
PATCH
/api/customers/me/update/
User/Customer
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/api/customers/me/update/' \
--header 'Accept-Language: en' \
--header 'Content-Type: application/json' \
--data-raw '{
"full_name": "John Doe",
"email": "john.doe@example.com",
"gender": "male",
"birth_date": "1990-01-01",
"primary_address": 1,
"language": "en"
}'
Response Response Example
200 - Example 1
{
"id": 0,
"phone_number": "string",
"full_name": "string",
"email": "user@example.com",
"image": "http://example.com",
"gender": "M",
"birth_date": "2019-08-24",
"primary_address": 0,
"is_profile_completed": true,
"language": "en",
"country": {
"code": "EG",
"flag": "http://example.com",
"phone_code": "stri",
"name": "string"
},
"wallet": {
"balance": "string",
"balance_currency": "string",
"is_use_wallet_in_payment": true
}
}
Request
Header Params
Accept-Language
string
optional
Example:
en
Body Params application/json