Create customer
Get Cakes
POST
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
name
string
Customer name
phone
string
Phone numberr
string
Customer email address
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": "Nguyễn Thị Vân",
"phone": "01234567832",
"email": "[email protected]",
"note": "Customer note",
"image": null,
"address": {
"name": "Nguyễn Thị Vân",
"organization": null,
"email": "[email protected]",
"phone": "01234567832",
"postal_code": null,
"country_code": "VN",
"street": "15 Xuân La",
"ward_code": "13030",
"province_code": "10",
"district_code": "1290",
"full_location": "15 Xuân La"
}
}
}
Last updated