Create Stores Traffic Events

POST /storetrafficevents

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

Responses

  • 201

    Created

    Hide response attributes Show response attributes object
    • error string
    • message string
    • statusCode integer
  • default

    All errors will return the same object with a describing code & message

    Hide response attributes Show response attributes object
    • error string
    • message string
    • statusCode integer
POST /storetrafficevents
curl \
 --request POST 'https://api.maddenanalytics.com/v2/api/storetrafficevents' \
 --data '{"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
}