Ramp icon

Ramp

Interact with the Ramp spend management API — built by SolutionLab

Actions36

Merchant → Get Many

AI-generated

Summary

Retrieve a list of merchants with optional pagination support in the Ramp spend management platform.

Inputs

  • Return All — Choose whether to return all merchant records or limit the number of results.
  • Limit — Specify the maximum number of merchant records to return if not returning all.

Output shape

a list of merchant objects as returned by the Ramp API, each representing merchant details

Supports pagination via the 'Return All' boolean. If 'Return All' is false, the 'Limit' parameter controls the maximum number of merchants returned. The output is an array of merchant data items under normal JSON output.

Examples

Example 1: Fetch up to 50 merchants

Set 'Return All' to false and 'Limit' to 50 (default). Node fetches up to 50 merchant records.

Example 2: Fetch all merchants

Set 'Return All' to true. Node fetches all merchants available from the API, handling pagination internally.

Links

Discussion