Edit Customer Details#
This API will enable you to edit details of the customer.#
Request Body Parameters:| Name | Type | Description |
|---|
| api_key | string | Your API-key |
| vendor_id | number | Customer's id |
| marketplace_user_id | number | Marketplace user id |
| email | string | Customer's email id |
| first_name | string | Customer's first name |
| last_name | string | Customer's last name |
| phone_no | string | Customer's phone number |
| language | string(optional) | "en" is mandatory and refer to below language table |
Languages#
Different languages supported. If you are not passing any language then it is mandatory to pass "en"#
| Name | Type |
|---|
| ENGLISH | en |
| ARABIAN | ar |
| FRENCH | fr |
| SPANISH | es |
| MALAY | ms |
| SIMPLIFIED_CHINESE | zh-Hans |
| PORTUGUESE | pt |
| TRADITIONAL_CHINESE | zh-Hant |
| BENGALI | bn |
| MEXICAN_SPANISH | es-mx |
| KHMER | km |
| TAMIL | ta |
| SINHALA | si |
| SWEDISH | sv |
Request
Body Params application/json
{
"api_key" : {{apikey}} ,
"vendor_id" : 334 ,
"marketplace_user_id" : 510001 ,
"email" : "test@email.com" ,
"first_name" : "Ankit" ,
"last_name" : "Singh" ,
"phone_no" : "9898981122" ,
"language" : "en"
}
Request Code Samples
curl --location --request POST 'https://api.yelo.red/open/updateVendor' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key" : {{apikey}} ,
"vendor_id" : 334 ,
"marketplace_user_id" : 510001 ,
"email" : "test@email.com" ,
"first_name" : "Ankit" ,
"last_name" : "Singh" ,
"phone_no" : "9898981122" ,
"language" : "en"
}'
Responses
application/json Modified at 2024-04-17 07:11:33