Authorization: Bearer ********************
{
"taxId": "string",
"branchCode": "string"
}
curl --location --request POST 'https://api.gofive.co.th/v1/customers/filters' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"taxId": "string",
"branchCode": "string"
}'
{
"status": {
"code": "1000",
"description": "Success"
},
"data": [
{
"customerId": "string",
"customerName": "string",
"customerCode": "string",
"customerState": 3,
"customerType": 1,
"customerStatus": 0,
"leadStatus": 4,
"customerPicture": "string",
"customer2ndName": "string",
"customerAliases": [
"string"
],
"customerTaxNo": "string",
"branchCode": "string",
"customerPhone": "string",
"customerMobile": "string",
"customerEmail": "string",
"customerSocialAccount": {
"facebook": "string"
},
"customerTags": [
"string"
],
"addresses": [
{
"locationName": "string",
"locationAddress": "string",
"locationType": 1,
"latitude": "string",
"longitude": "string"
}
],
"sourceName": "string",
"customerGroupName": "string",
"interestsName": [
"string"
],
"classificationName": "string",
"customFields": [
null
],
"contact": [
{
"contactName": "string",
"contactPicture": "string",
"contactPhone": "string",
"contactMobile": "string",
"contactEmail": "string",
"contactSocialAccount": {
"facebook": "string"
},
"contactPosition": "string",
"contactBirthdate": "YYYY-MM-DD",
"contactNote": "string",
"contactStatus": true
}
],
"customerNote": "string",
"owners": [
"string"
],
"primaryOwner": "string"
}
]
}