ContractProducts
Search ContractProducts
Search and list ContractProduct records with filtering, sorting, and pagination.
GET
Search ContractProducts
A contract product (internally known as ContractProduct) is a recurring product line on a customer’s contract, billed with plan invoices and optionally controlled by a price override and billing window. When the product includes passes, booking time credit, monetary credit, or printing credit, those benefits are released as each contract invoice is created; configure the product’s credit expiration separately, either aligned with or independent of the billing cycle. A negative product price creates a discount shown as a negative invoice line; use ContractSchedule for a future contract price change instead. Do not use a contract product for a deposit: use ContractDeposit so it is invoiced only at contract start and can be refunded when appropriate.
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 ContractProduct-List role.Query Parameters
Pagination & Sorting
Filters
Filter by iD of the customer’s contract; it determines the location and billing cycle that will receive this recurring product line..
Filter by iD of the location product billed on the contract’s invoices; its current price is used when this line has no price override..
Filter by number of product units billed in each contract billing cycle; must be at least 1..
Filter by optional per-unit price override in the location’s currency; when null, the linked product’s price is used..
Filter by optional UTC date and time for the first invoice period that includes this product line; inclusive, and null starts billing immediately..
Filter by optional UTC date and time for the first invoice period that excludes this product line; exclusive, and null continues billing indefinitely..
Filter by whether this line requests prorating when it ends during an invoice period; the product’s setting can also enable prorating, and the contract plan must have ProrateDaysBefore configured..
Range Filters
Filter by display value for CoworkerContract.Coworker.Id. greater than or equal to this value.
Filter by number of product units billed in each contract billing cycle; must be at least 1. greater than or equal to this value.
Filter by number of product units billed in each contract billing cycle; must be at least 1. less than or equal to this value.
Filter by optional per-unit price override in the location’s currency; when null, the linked product’s price is used. greater than or equal to this value.
Filter by optional per-unit price override in the location’s currency; when null, the linked product’s price is used. less than or equal to this value.
Filter by optional UTC date and time for the first invoice period that includes this product line; inclusive, and null starts billing immediately. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by optional UTC date and time for the first invoice period that includes this product line; inclusive, and null starts billing immediately. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by optional UTC date and time for the first invoice period that excludes this product line; exclusive, and null continues billing indefinitely. greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by optional UTC date and time for the first invoice period that excludes this product line; exclusive, and null continues billing indefinitely. less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Code Examples
Simple listing
Filtering by CreatedOn
Range filters
Response
200
The list of ContractProduct records matching the query. See the Get one ContractProduct endpoint for the full list of properties returned for each record.
Example Response