Skip to main content
POST
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.

Body

application/json

A day the organization will not work.

day
string<date>
required

The day, as YYYY-MM-DD. A day can be a holiday once.

name
string
required

What the day is, such as "Canada Day" or "Summer shutdown".

Maximum string length: 120

Response

HolidayResource

data
HolidayResource · object
required