v1
latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MBAdministrative divisions V2 (deprecated)
Create administrative division (deprecated)
DEPRECATED. Call Create holiday calendar instead.
This endpoint is deprecated starting April 30, 2026, and final removal from both test (EXT) and production environments on October 30, 2026.
Create an administrative division.
This is a v2 endpoint that offers more granular control over financial activities on non-business days. To understand the differences between v1 and v2 endpoints, refer to Platform setup - Holidays and administrative divisions.
post/divisions-core/v2/administrative-division
Request body
Example request
{
"name": "Scotland",
"type": "State",
"external_id": "8675309",
"parent_external_id": "8675309",
"working_days": [
1,
2,
3,
4,
5
],
"metadata": "{ \"key\": \"value\"}"
}Response
Created
Example response
{
"id": 84849,
"external_id": "8675309",
"name": "Scotland",
"type": "State",
"working_days": [
1,
2,
3,
4,
5
],
"metadata": "{ \"key\": \"value\"}"
}