Daily Sales
Update your daily sales data.
Upsert daily sales
PUT
/api/v1/daily-sales
Upserts daily sales data by location and date.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Description
date
string
The date for the data. Should be in YYYY-MM-DD
format.
locations
record
A record with the location ID as the key, and sales data as the value.
Example Request
Note that you can submit data for multiple locations at a time. However, you can only submit data for one date at a time.
Response
Last updated