Update holiday calendar

Update a holiday calendar. Fields not passed are not updated.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Holiday calendar ID

Body Params

Business day search request body

string

Holiday calendar type

integer
≥ 1

Calendar parent ID.

Holiday calendars can have parent-child relationships, creating a hierarchy. Child calendars inherit holidays from their parent calendars.

Common use case: Country → State → City hierarchy

Example:

  • Brazil (parent)
    • São Paulo (child of Brazil)
      • Campinas (child of São Paulo)

When you query holidays for Campinas, you automatically get:

  • Campinas city holidays
  • São Paulo state holidays
  • Brazil national holidays

You can reference the parent calendar using either:

  • parent_id: The internal parent calendar ID
  • parent_external_id: The parent calendar external_id
string
length between 1 and 36

Client-created external ID

metadata
object

A valid JSON schema as specified in https://json-schema.org/specification.html. Used to register rules used to authorize the transaction.

string
length between 1 and 80

Holiday name

working_days
array of integers

Working days array

1 = Monday, 6 = Saturday. Default = [1, 2, 3, 4, 5].

working_days
Responses
204

No Content

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json