CoworkerBookingCredits
Search CoworkerBookingCredits
Search and list CoworkerBookingCredit records with filtering, sorting, and pagination.
GET
Search CoworkerBookingCredits
A booking credit (internally CoworkerBookingCredit) is a monetary balance assigned to a customer that can pay for bookings, event sign-ups, or, when universal credit is enabled, products, plans, passes, and selected one-off charges. It can be created manually or released from a plan or product benefit, and its availability can be limited by eligibility and a validity period.
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 CoworkerBookingCredit-List role.Query Parameters
Pagination & Sorting
integer
default:"1"
The page number to retrieve.
integer
default:"25"
The number of records per page.
string
The property name to sort results by (e.g.
Name, CreatedOn).integer
Sort direction.
0 for ascending, 1 for descending.Filters
integer
Filter by iD of the customer this booking credit belongs to.
string
Filter by display value for Coworker.FullName..
integer
Filter by iD of the location that issued and owns this booking credit.
string
Filter by display value for Business.Name..
string
Filter by display value for Business.Currency.Code..
string
Filter by optional operator-facing label or description for this booking credit.
integer
Filter by read-only ID of the plan booking-credit definition that created this credit, if applicable.
string
Filter by display value for TariffBookingCredit.Name..
number
Filter by read-only monetary amount still available; the system initializes it from TotalCredit and changes it through credit use or an adjustment.
number
Filter by total monetary amount assigned when this credit is created; it sets the initial RemainingCredit.
string
Filter by optional UTC date and time when this credit becomes usable; blank means it is usable immediately.
string
Filter by optional UTC date and time when this credit stops being usable; blank means no expiry, and when set it must be later than ValidFrom.
boolean
Filter by whether this credit can pay for bookings; use ElegibleResourceTypes to limit eligible resource types.
boolean
Filter by whether this credit can pay for event sign-ups; use EventCategories to limit eligible event categories.
boolean
Filter by whether this credit can pay for products, plans, passes, and eligible charges; use the eligibility lists and AppliesToCharges to restrict those uses.
string
Filter by internal unique ID linking this credit to the product purchase that created it.
boolean
Filter by system-calculated flag indicating whether any eligible resource type has a booking rate with a credit price.
string
Filter by internal unique ID linking this credit to the contract that originated it.
boolean
Filter by whether this universal credit can pay for one-off charges in addition to products, plans, and passes.
Range Filters
number
Filter by read-only monetary amount still available; the system initializes it from TotalCredit and changes it through credit use or an adjustment greater than or equal to this value.
number
Filter by read-only monetary amount still available; the system initializes it from TotalCredit and changes it through credit use or an adjustment less than or equal to this value.
number
Filter by total monetary amount assigned when this credit is created; it sets the initial RemainingCredit greater than or equal to this value.
number
Filter by total monetary amount assigned when this credit is created; it sets the initial RemainingCredit less than or equal to this value.
string
Filter by optional UTC date and time when this credit becomes usable; blank means it is usable immediately greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter by optional UTC date and time when this credit becomes usable; blank means it is usable immediately less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter by optional UTC date and time when this credit stops being usable; blank means no expiry, and when set it must be later than ValidFrom greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter by optional UTC date and time when this credit stops being usable; blank means no expiry, and when set it must be later than ValidFrom less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.string
Filter records created on or after this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records created on or before this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records updated on or after this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records updated on or before this date. Format:
YYYY-MM-DDTHH:mm.Code Examples
Simple listing
Filtering by CreatedOn
Range filters
Response
200
CoworkerBookingCredit[]
The list of CoworkerBookingCredit records matching the query. See the Get one CoworkerBookingCredit endpoint for the full list of properties returned for each record.
integer
Current page number.
integer
Number of records per page.
string
The field used for sorting.
integer
The sort direction (
0 = ascending, 1 = descending).integer
Index of the first item on the current page.
integer
Index of the last item on the current page.
integer
Total number of matching records across all pages.
integer
Total number of pages.
boolean
Whether there is a next page of results.
boolean
Whether there is a previous page of results.
Example Response