Create Stores Traffic Events
Create Stores Traffic Events for an account. Can be done in batch.
Body Required
-
eventTime string
Time the event occurred
-
incomingTraffic integer
Number of incoming traffic
-
outgoingTraffic integer
Number of outgoing traffic
-
storeTrafficCounterID string
ExternalID of the counter
POST /v1/storetrafficevents
curl \
-X POST https://ma-api.maddenanalytics.com/v1/storetrafficevents \
-H "Authorization: $API_KEY" \
-d '{"eventTime":"string","incomingTraffic":42,"outgoingTraffic":42,"storeTrafficCounterID":"string"}'
Request example
{
"eventTime": "string",
"incomingTraffic": 42,
"outgoingTraffic": 42,
"storeTrafficCounterID": "string"
}
Response examples (201)
[
[
{
"error": "Error Type (if any)",
"message": "Message describing the error",
"statusCode": 400
}
]
]
Response examples (default)
{
"error": "Error Type (if any)",
"message": "Message describing the error",
"statusCode": 400
}