Create Stores Traffic Events
Create Stores Traffic Events for an account. Can be done in batch.
Body Required
-
eventTime string
Time the event occurred
-
externalStoreID string
-
incomingTraffic integer
Number of incoming traffic
-
outgoingTraffic integer
Number of outgoing traffic
-
storeTrafficCounterID string
ExternalID of the counter
POST
/storetrafficevents
curl \
-X POST https://api.maddenanalytics.com/v2/api/storetrafficevents \
-d '{"eventTime":"string","externalStoreID":"string","incomingTraffic":42,"outgoingTraffic":42,"storeTrafficCounterID":"string"}'
Request examples
{
"eventTime": "string",
"externalStoreID": "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
}