Visitor count information from anti-theft gates or camera systems. Five different types of visitors can be reported: visitors coming in, visitors going out, visitors passing by, visitor average occupancy and visitor average visit time.
You can also send data for visiting cars & bicycles for all of these five metrics but default is people.
Visitor data can be sent either on store or department level. If department is empty visitors are considered to be entering/leaving/passing/visiting store. If department is specified then visitor entry is considered to be person moving inside the store.
When showing visitor counts on portal store-level visitor counts are used, unless data is viewed on department level.
POST https://api.zoined.com/visitors?dryRun=false&separator=%3B&encoding=utf-8
Type of visitor record ('in', 'out', 'pass', 'occupancy', 'visit_time', 'queue')
- Mock serverhttps://zapi-api.zoined.com/_mock/visitors
- https://api.zoined.comhttps://api.zoined.com/visitors
curl -i -X POST \
'https://zapi-api.zoined.com/_mock/visitors?dryRun=false&separator=%3B&encoding=utf-8' \
-H 'Authorization: Bearer <YOUR_token_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"organisation_id": "540",
"department_id": "540",
"counter_id": "540",
"product_id": "ABC-123",
"customer_id": "1234",
"date": "2016-01-01",
"time": "15:00:00",
"time_zone": "02:00",
"visit_type": "in",
"vehicle_type": "car",
"queue_area_name": "Area 1",
"low_queue": 1,
"high_queue": 5,
"visitors": 1000,
"custom_metric_1": 1,
"custom_metric_2": 100,
"custom_metric_3": 2.2,
"custom_metric_4": 1.05,
"custom_metric_5": 10000,
"custom_field_1": "XYZ",
"custom_field_2": "XYZ",
"custom_field_3": "XYZ",
"custom_field_4": "XYZ",
"custom_field_5": "XYZ",
"source_system": "ABCDEF"
}'{ "status": "OK", "msg": "1 entity added" }