Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

For your own scripts and server-to-server integrations. Create a key in the app under Settings > Access > API keys and copy it then, because it is shown once. Send it as Authorization: Bearer <key>. The key acts as the member who made it, in the organization it was made in. A call needs the member's permission and one of the key's scopes, such as inventory:read or sales:write. A key with * has every scope.

Query Parameters

year
integer | null

The fiscal year, from 2000 to 2100. The current fiscal year is used when it's left out.

Required range: 2000 <= x <= 2100

Response

StockPeriodsResource

data
StockPeriodsResource · object
required

A fiscal year's inventory periods, with the fiscal calendar and the lock date.