curl --request POST \
--url https://api.togai.com/v2/accounts/{account_id}/edit_schedules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"edits": [
{
"mode": "ASSOCIATE",
"effectiveFrom": "2023-12-25",
"effectiveUntil": "2023-12-25",
"associationConfig": {
"pricePlanId": "<string>",
"scheduleId": "<string>",
"pricingCycleConfigOverride": {
"interval": "WEEKLY",
"startOffset": {
"dayOffset": "<string>",
"monthOffset": "<string>"
},
"gracePeriod": 3,
"anniversaryCycle": true
},
"retainStartOffsets": true
},
"mergeSchedules": true
}
]
}'