Get the books
The books for a period: the profit and loss line by line beside the period before, where the buyers were, and what each payment method took in. Gross sales are at the prices before any sale, and what sales, discounts, refunds and chargebacks took off is a line each; affiliate commission is a cost of sales. Tax collected is not income and is in none of it but the tax report. A store makes at most 20 reports every 10 minutes, counting this one, the other report, their files and the dashboard’s Generate Report together: after that the answer is 429. Refused with business_details_required until the store has its business details.
Needs the finance.read permission (Read Finance). It is one of the heavier reads, and is counted against a smaller budget of its own: 60 a minute for each key.
Authorizations
A secret API key, made under Developers in the dashboard: Authorization: Bearer shoply_sk_...
Path Parameters
The store's ID. A key reaches the store it was made in: GET /key answers which.
Query Parameters
The period.
today, yesterday, 7d, 30d, this_week, last_week, this_month, last_month, this_year The first day of a period of your own, as YYYY-MM-DD. With to, in place of range.
Its last day, as YYYY-MM-DD.
The time zone those days are in, as an IANA name. Left out, UTC.
"Europe/Berlin"

