B2Brouter

Automate E-Invoicing with B2Brouter API

Account → Get Many

AI-generated

Summary

Retrieve multiple account records from B2Brouter with options to return all or limit the number of results.

Inputs

  • Environment — Select the API environment to use, either Test (Staging) or Live (Production).
  • Return All — Choose whether to return all accounts or limit the number of accounts returned.
  • Limit — Specify the maximum number of accounts to return when 'Return All' is false; must be between 1 and 500.

Output shape

A list of account objects returned as an array.

If 'Return All' is true, all accounts are retrieved via pagination. Otherwise, up to the specified 'Limit' number of accounts are returned. Each account object contains the data fields as defined by the B2Brouter API.

Examples

Example 1: Get up to 50 accounts from the test environment

Environment set to Test, Return All false, Limit 50. Returns up to 50 accounts.

Example 2: Get all accounts from the live environment

Environment set to Live, Return All true. Returns all account records available.

Links

Discussion