B2Brouter

Automate E-Invoicing with B2Brouter API

Order → Get Many

AI-generated

Summary

Retrieves a list of orders from the authenticated B2Brouter account.

Inputs

  • environment (required) — Select the B2Brouter API environment (Test/Staging or Live/Production). Determines the base URL for all requests.
  • returnAll — When true, fetch all orders regardless of any limit; when false, limit the result set using the Limit parameter. Default: false.
  • limit — Maximum number of orders to return when Return All is false. Must be between 1 and 500. Ignored when Return All is true. Default: 50.

Output shape

array of order objects

Each element corresponds to an order as returned by the B2Brouter API. If no orders match, an empty array is returned.

Examples

Example 1: Fetch the most recent 20 orders from the test environment.

Set Environment = Test (Staging), Return All = false, Limit = 20.

Example 2: Retrieve every order in the account from the production environment.

Set Environment = Live (Production), Return All = true (Limit ignored).

Links

Discussion