Skip to main content
POST
Create ContractPausedPeriod
A ContractPausedPeriod represents a freeze period applied to a customer’s plan contract (CoworkerContract). Plan freezing lets admins — and optionally customers — suspend a contract for one or more billing cycles without cancelling it. Freeze dates are always aligned to billing cycle boundaries: PauseFrom is always the first day of the customer’s next billing cycle, and PauseUntil is always the first day of the billing cycle when the plan is due to restart. While a contract is frozen:
  • No charges are generated for the contract for the duration of the freeze.
  • The customer’s status reverts to Contact if they have no other active contract.
  • No member rates or benefits from the frozen contract apply during the freeze.
  • Invoices are still generated on the usual billing day for any purchases (bookings, products) linked to the contract.
Admins can freeze contracts from the customer’s account, via teams, or in bulk from Finance > Contracts. Whether customers can freeze their own plans from the Members Portal is controlled by the AllowContractFreezing setting on the plan (Tariff).

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the ContractPausedPeriod-Create role.

Request Body

Required Fields

integer
required
ID of the customer contract being frozen.
string
required
UTC date when the freeze starts. Always falls on the first day of a billing cycle.
string
required
UTC date when the freeze ends. Always falls on the first day of the billing cycle when the plan is due to restart.

Optional Fields

string
Optional notes or reason for this freeze period.
string
Location-timezone equivalent of PauseFrom.
string
Location-timezone equivalent of PauseUntil.

Code Examples

Response

200

integer
HTTP status code. 200 on success.
string
A human-readable message confirming the creation.
object
Contains the Id of the newly created record.
boolean
true if the contractpausedperiod was created successfully.
array
null on success.
Example Response

400

string
A summary of the validation error(s), in the format PropertyName: error message.
any
null on validation failure.
object[]
Array of validation errors.
boolean
false when the request fails validation.
Example Response