Contracts
Get Bookings During Pause Period
GET
Get Bookings During Pause Period
Documentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
Get Bookings During Pause Period
Returns a summary of the customer’s bookings that fall within a proposed pause period. Use this endpoint in the pause flow to warn the customer about any existing bookings that will be affected — specifically those that have not yet been charged, invoiced, or paid.Authentication
This endpoint requires an authenticated customer session.Query Parameters
ISO 8601 datetime string for the start of the proposed pause period. This is typically the earliest pause date returned by the pause metadata
endpoint.
ISO 8601 datetime string for the end of the proposed pause period. This is computed from the selected number of pause cycles.
Response
Returns aPauseBooking object summarising booking counts within the date range.
Total number of bookings within the proposed pause period.
Number of bookings that have not yet been charged.
Number of bookings that have not yet been invoiced.
Number of bookings whose invoices have not yet been paid.
Example Response
Usage in Portal
Called inside the pause modal each time the customer changes the number of pause cycles, so the warning counts stay in sync with the selected date range.- File:
src/views/user/plans/components/PauseContractModal.tsx
Typical integration pattern
Related Endpoints
GET /api/public/billing/coworkerContracts/{contractId}/pause/meta– Get pause eligibility and available date optionsPUT /api/public/billing/coworkerContracts/v2/{contractId}/pause– Submit the pause request
Error Responses
The current user is not authenticated.
Missing or invalid
start/end parameters.Get Bookings During Pause Period