ContractProducts
Search ContractProducts
Search and list ContractProduct records with filtering, sorting, and pagination.
GET
Search ContractProducts
A ContractProduct is a product added to a contract that is billed every time the contract is invoiced. UseDocumentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
ContractProduct to append product charges to a specific member’s billing cycle alongside the base plan.
Price — If Price is not set, the price of the underlying product (ProductPrice) is used instead. Set Price to override the product’s default price for this specific contract line.
Billing window — RepeatFrom and RepeatUntil control the date range during which the product is included on invoices. Outside that range the product is silently skipped. Leave both null to bill the product on every invoice.
Pro-rating — ApplyProRating distributes the charge proportionally across the billing period, but only takes effect when the linked location plan has prorating enabled (Tariff.ProrateDaysBefore > 0). If the plan does not have prorating configured, ApplyProRating is ignored.
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
The page number to retrieve.
The number of records per page.
The property name to sort results by (e.g.
Name, CreatedOn).Sort direction.
0 for ascending, 1 for descending.Filters
Filter by contract to add this product to.
Filter by quantity associated with the contract.
Filter by floor plan desk IDs assigned to the contract.
Filter by floor plan desk names assigned to the contract.
Filter by coworker contract tariff name.
Filter by iD of the member on the contract.
Filter by contract coworker full name.
Filter by contract coworker billing name.
Filter by product to bill on each contract invoice.
Filter by product name.
Filter by product price.
Filter by whether the underlying product applies pro-rating by default.
Filter by product currency code.
Filter by notes.
Filter by quantity.
Filter by price override.
Filter by repeat from date.
Filter by repeat until date.
Filter by apply pro-rating to this product charge. Only takes effect when the location plan has prorating enabled (Tariff.ProrateDaysBefore > 0)..
Range Filters
Filter by quantity associated with the contract greater than or equal to this value.
Filter by quantity associated with the contract less than or equal to this value.
Filter by iD of the member on the contract greater than or equal to this value.
Filter by iD of the member on the contract less than or equal to this value.
Filter by product price greater than or equal to this value.
Filter by product price less than or equal to this value.
Filter by quantity greater than or equal to this value.
Filter by quantity less than or equal to this value.
Filter by price override greater than or equal to this value.
Filter by price override less than or equal to this value.
Filter by repeat from date greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by repeat from date less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by repeat until date greater than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter by repeat until date less than or equal to this value. Format:
YYYY-MM-DDTHH:mm.Filter records created on or after this date. Format:
YYYY-MM-DDTHH:mm.Filter records created on or before this date. Format:
YYYY-MM-DDTHH:mm.Filter records updated on or after this date. Format:
YYYY-MM-DDTHH:mm.Filter records updated on or before this date. 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.
Current page number.
Number of records per page.
The field used for sorting.
The sort direction (
0 = ascending, 1 = descending).Index of the first item on the current page.
Index of the last item on the current page.
Total number of matching records across all pages.
Total number of pages.
Whether there is a next page of results.
Whether there is a previous page of results.
Example Response
Search ContractProducts