Skip to main content
GET
Get sales

Path Parameters

consumer_id
string<uuid>
required

Query Parameters

date_from
string<date>
required

Start date (inclusive) of the period to get sales from

date_to
string<date>
required

End date (inclusive) of the period to get sales from

location_id
string | null

Unique identifier of the location. If none passed, sales from all locations will be returned unless the location was selected by the end-user

Response

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
TotalTaxItem · object[] | null

List of taxes grouped by tax rateapplied to the sales