GET
/
consumers
/
{consumer_id}
/
pos
/
sales
curl --request GET \
  --url https://api.chift.eu/consumers/{consumer_id}/pos/sales \
  --header 'Authorization: Bearer <token>'
{
  "total": 10,
  "tax_amount": 1,
  "taxes": []
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string
required

Query Parameters

date_from
string
required
date_to
string
required
location_id
string

Response

200
application/json
Successful Response
total
number
required

Total amount including tax of the sales

Example:

10

tax_amount
number
required

Total amount of the taxes

Example:

1

taxes
object[]

List of taxes grouped by tax rateapplied to the sales