v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Account calendar strategies

Update account calendar strategy

Update an account calendar strategy. After a program calendar strategy is defined using Create program calendar strategy, you must use this endpoint to assign the strategy to an account. If you have more than one program calendar strategy defined for a program, you can also use this endpoint to change the strategy assigned to an account.

This endpoint generates a Balance account changed event.

<b>Note:</b> This endpoint cannot be used to update a fixed due date calendar.

put/v1/accounts/{accountId}/calendar-strategies

Path parameters

accountIdinteger required
Example:6912345

Account ID

Headers

x-tenantstring required

Tenant ID

x-cidstring

The Correlation Identifier field is used to link related API requests and events. The x-cid can help the Pismo engineering team track everything related to a call. You can find the x-cid field in the response header of an API endpoint call. If the x-cid value isn't passed, one is automatically generated.

Request body

program_calendar_strategy_idinteger required

Program calendar strategy ID

apply_to_current_cycleboolean

Apply the strategy to the current cycle (true) or don't (false)?

Example request

{
  "program_calendar_strategy_id": 67854322,
  "apply_to_current_cycle": true
}

Response

OK

program_calendar_strategy_idinteger

Program calendar strategy ID

created_atstring date-time

Datetime program calendar strategy was created. Format = YYYY-MM-DDTHH:MM:SS:MM.

updated_atstring date-time

Datetime program calendar strategy was updated. Format = YYYY-MM-DDTHH:MM:SS:MM

Example response

{
  "program_calendar_strategy_id": 67854322,
  "created_at": "2024-09-12T16:46:16.43663522",
  "updated_at": "2024-09-12T16:46:16.43663522"
}