OneBill icon

OneBill

Interact with the OneBill billing and subscription management API

Order → Get Many

AI-generated

Summary

Searches OneBill orders and returns matching records, optionally including quotes. By default, the search omits quotes; filters can narrow results or sort them, and the search can return all matches or a limited number.

Inputs

  • Include Quotes — Defaults to false. When enabled, performs a second search and merges results by order number to include quotes. Cannot be combined with other filters.
  • Return All — Choose whether to return all results or cap the output at Limit.
  • Limit — Maximum results when Return All is off; defaults to 50.
  • Filters — Optional filters: Account Number restricts to a subscriber and takes precedence over Search By and Search String; Order By sets the sort field; Search By selects accountNumber or orderNumber (or an expression for another field); Search String supplies the value for the selected field and is ignored without Search By; State restricts by order state. Account Number cannot be combined with State.

Output shape

A list of matching order records.

The reported total counts only returned results. By default quotes are omitted without being indicated in the response; enable Include Quotes or filter by a quote state to include them. A single-order read reports state values differently from this search.

Examples

Example 1: List all orders for an account

Set Filters → Account Number to the subscriber's account number; enable Return All to fetch all matches.

Example 2: Find quote orders

Set Filters → State to Quote or Quote Expired. Leave Include Quotes off, since it cannot be combined with other filters.

Links

Discussion