Business KPIs data - salesdata
Get All
Get all the salesdata.
get/public/api/salesdata?filter={filter}
Query parameters
filterstring
A valid JSON filter object
Headers
Acceptstring
e.g. application/json
Request body
Example request
{
"Authorization": {
"Authorization": "Bearer JWT"
}
}Response
OK
Example response
{
"paging": {
"total": 2,
"skip": 0,
"limit": 1000
},
"data": [
{
"salesdata_id": "54ab03c6546847ee0d30086b",
"store_id": "54ab03c6546847ee0d30086c",
"reporting_date": "2018-05-23T04:51:40.862Z",
"title": "Rockets salesdata 1",
"category": "Electronics",
"value": 2,
"value_currency": "$",
"value_frequency": "weekly",
"created_date": "2018-05-23T04:51:40.862Z",
"updated_date": "2018-05-23T04:51:40.862Z"
},
{
"salesdata_id": "54ab03c6546847ee0d30082b",
"store_id": "54ab03c6546847ee0d30086c",
"reporting_date": "2018-05-21T04:51:40.862Z",
"title": "Rockets salesdata 2",
"category": "Drinks",
"value": 5.4,
"value_currency": "$",
"value_frequency": "monthly",
"created_date": "2018-05-21T04:51:40.862Z",
"updated_date": "2018-05-21T04:51:40.862Z"
}
]
}Changes
No recorded changes to this endpoint across all 4 revisions of this API.