PATCH
/v1/company/settings
curl \
--request PATCH 'https://api.classmanager.io/v1/company/settings' \
--header "Content-Type: application/json" \
--data '{"general":{"timezone":"America/New_York","locale":"en-IE","industry":"cheer","use12HourClock":true,"brandColor":"#6354e8","brandColors":{"50":"#ffead7","100":"#ffddc1","200":"#ffcfab","300":"#ffc196","400":"#ffad80","500":"#ff9f6a","600":"#ff9154","700":"#ff833e","800":"#ff7528","900":"#ff6712","950":"#ff5a00"},"startDayOfWeek":"monday"},"tax":{"enabled":true,"taxIdLabel":"string","taxIdNumber":"string","taxMode":"inclusive"},"trial":{"price":42,"enableOnPortal":true,"maxCapacityPerLesson":42,"limitedCapacity":true},"billing":{"currency":"USD","isProcessingFeeEnabled":false,"processingFee":0,"billingDayOfMonth":13,"billingTiming":"advance"},"enrolment":{"ageCutOffType":"first_day_of_season","ageCutOffDate":"04-28","ageCutOffDays":42}}'
Request examples
{
"general": {
"timezone": "America/New_York",
"locale": "en-IE",
"industry": "cheer",
"use12HourClock": true,
"brandColor": "#6354e8",
"brandColors": {
"50": "#ffead7",
"100": "#ffddc1",
"200": "#ffcfab",
"300": "#ffc196",
"400": "#ffad80",
"500": "#ff9f6a",
"600": "#ff9154",
"700": "#ff833e",
"800": "#ff7528",
"900": "#ff6712",
"950": "#ff5a00"
},
"startDayOfWeek": "monday"
},
"tax": {
"enabled": true,
"taxIdLabel": "string",
"taxIdNumber": "string",
"taxMode": "inclusive"
},
"trial": {
"price": 42,
"enableOnPortal": true,
"maxCapacityPerLesson": 42,
"limitedCapacity": true
},
"billing": {
"currency": "USD",
"isProcessingFeeEnabled": false,
"processingFee": 0,
"billingDayOfMonth": 13,
"billingTiming": "advance"
},
"enrolment": {
"ageCutOffType": "first_day_of_season",
"ageCutOffDate": "04-28",
"ageCutOffDays": 42
}
}
Response examples (200)
{
"id": "co_123123123123",
"name": "My Dance Stdio",
"slug": "my-dance-studio",
"email": "john@example.com",
"phone": "(123) 456 7890",
"createdAt": "2025-05-04T09:42:00Z",
"isClassicCustomer": true,
"logo": "https://example.com/logo.png",
"address": {
"id": "loc_xxxxxxxxxxx",
"companyId": "co_123123123123",
"entityId": "ent_xxxxxxxxxxx",
"address1": "123 Main St",
"address2": "Apt 123",
"town": "Springfield",
"state": "IL",
"countryCode": "US",
"zip": "12345"
},
"settings": {
"general": {
"id": "cos_xxxxxxxxxxxxxxxxxxxxxxxxxx",
"timezone": "Africa/Abidjan",
"locale": "en-IE",
"industry": "cheer",
"size": "not-started-yet",
"use12HourClock": true,
"brandColor": "#6354e8",
"brandColors": {
"50": "#ffead7",
"100": "#ffddc1",
"200": "#ffcfab",
"300": "#ffc196",
"400": "#ffad80",
"500": "#ff9f6a",
"600": "#ff9154",
"700": "#ff833e",
"800": "#ff7528",
"900": "#ff6712",
"950": "#ff5a00"
},
"startDayOfWeek": "monday"
},
"tax": {
"id": "cotx_xxxxxxxxxxxxxxxxxxxxxxxxxx",
"enabled": true,
"taxIdLabel": "Tax ID",
"taxIdNumber": "123123123",
"taxMode": "inclusive"
},
"trial": {
"id": "cotr_xxxxxxxxxxxxxxxxxxxxxxxxxx",
"price": 0,
"enableOnPortal": true,
"maxCapacityPerLesson": 0,
"limitedCapacity": true
},
"billing": {
"id": "cobl_xxxxxxxxxxxxxxxxxxxxxxxxxx",
"stripeId": "acct_123123123123",
"currency": "USD",
"processingFee": 0,
"isProcessingFeeEnabled": false,
"billingTiming": "advance",
"billingDayOfMonth": 13
},
"enrolment": {
"id": "coen_xxxxxxxxxxxxxxxxxxxxxxxxxx",
"ageCutOffType": "first_day_of_season",
"ageCutOffDate": "06-24",
"ageCutOffDays": "7"
},
"integrations": {
"stripe": {
"id": "coiss_xxxxxxxxxxxxxxxxxxxxxxxxxx",
"connectAccountId": "acct_123123123",
"region": "us",
"feeSchedule": "grandfather",
"payoutStatus": "disabled"
}
}
},
"countryCode": "US"
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}