POST on https://api.wisk.ai/public/sales/upload
In the Header ask WISK to give the venue unique identifier
The POST body needs to have this structure.
It's in a JSON structure and it accepts an ARRAY
[
{
"id": "1",
"date": "2019-01-04T02:37:30Z",
"plu_number": "1",
"title": "Negroni",
"quantity": 2,
"total": 60
},
{
"id": "2",
"date": "2019-01-04T02:38:30Z",
"plu_number": "2",
"title": "Mojito",
"quantity": 4,
"total": 40
},
{
"id": "3",
"date": "2019-01-04T02:39:30Z",
"plu_number": "4",
"title": "Martini",
"quantity": 1,
"total": 10
},
{
"id": "4",
"date": "2019-01-04T02:40:30Z",
"plu_number": "4",
"title": "Martini",
"quantity": -1,
"total": -10
}
]