Api-Key: ********************{
"first_name": "Ali",
"last_name": "Rezaei",
"father_name": "Mohammad",
"gender": 1, // 1 = men, 2 = women, 3 = other
"national_code": "1234567890",
"national_id": "A123456789",
"br_date": 631152000, // Example UNIX timestamp (1990-01-01)
"live_province_id": 2,
"live_city_id": 20,
"live_postal_code": "1234567890",
"fixed_phone": "02112345678",
"mobile": "09121234567",
"email": "ali.rezaei@example.com",
"address": "123 Example St, Cityname",
"ceo": {
"has_ceo": true,
"first_name": "Sara",
"last_name": "Ahmadi",
"father_name": "Hossein",
"gender": 1, // 1 = men, 2 = women, 3 = other
"br_date": 599616000, // 1989-01-01
"mobile": "09351234567",
"national_id": "B987654321",
"national_code": "9876543210"
},
"company": {
"name": "Example Co",
"national_id": "1122334455",
"registration_id": "778899",
"economic_id": "6655443322",
"province_id": 3,
"city_id": 30,
"address": "456 Corporate Ave, Business City",
"postal_code": "4433221100",
"fixed_phone": "02187654321",
"email": "info@exampleco.com"
}
}curl --location --request POST '/ws/v1/account/update' \
--header 'Accept: application/json' \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"first_name": "Ali",
"last_name": "Rezaei",
"father_name": "Mohammad",
"gender": 1, // 1 = men, 2 = women, 3 = other
"national_code": "1234567890",
"national_id": "A123456789",
"br_date": 631152000, // Example UNIX timestamp (1990-01-01)
"live_province_id": 2,
"live_city_id": 20,
"live_postal_code": "1234567890",
"fixed_phone": "02112345678",
"mobile": "09121234567",
"email": "ali.rezaei@example.com",
"address": "123 Example St, Cityname",
"ceo": {
"has_ceo": true,
"first_name": "Sara",
"last_name": "Ahmadi",
"father_name": "Hossein",
"gender": 1, // 1 = men, 2 = women, 3 = other
"br_date": 599616000, // 1989-01-01
"mobile": "09351234567",
"national_id": "B987654321",
"national_code": "9876543210"
},
"company": {
"name": "Example Co",
"national_id": "1122334455",
"registration_id": "778899",
"economic_id": "6655443322",
"province_id": 3,
"city_id": 30,
"address": "456 Corporate Ave, Business City",
"postal_code": "4433221100",
"fixed_phone": "02187654321",
"email": "info@exampleco.com"
}
}'{}