Update customer info
/customers
PUT
Query Parameters
Name
Type
Description
merchant_token
string
Token is created in management system.
Headers
Name
Type
Description
Accept
string
application/json
Content-Type
string
application/json
Request Body
Name
Type
Description
code
string
Customer code
name
string
Customer name
phone
string
Customer phone number
string
Customer email
note
string
Note
street
string
Customer street
ward_code
string
Customer ward code
district_code
string
Customer district code
province_code
string
Customer province code
country_code
string
Customer country code
{
"code": "success",
"message": "Thành công",
"data": {
"code": "CM0000000002",
"name": "Phạm Thị Hà",
"phone": "01234567832",
"email": "[email protected]",
"note": "Customer note",
"image": null,
"address": {
"name": "Phạm Thị Hà",
"organization": null,
"email": "[email protected]",
"phone": "01234567832",
"postal_code": null,
"country_code": "VN",
"street": "15 Xuân Đỉnh",
"ward_code": "13030",
"province_code": "10",
"district_code": "1290",
"full_location": "15 Xuân Đỉnh"
}
}
}
Last updated