Actions36
- Bill Actions
- Business Actions
- Card Actions
- Cashback Actions
- Department Actions
- Entity Actions
- Limit Actions
- Location Actions
- Memo Actions
- Merchant Actions
- Receipt Actions
- Reimbursement Actions
- Transaction Actions
- Transfer Actions
- User Actions
- Vendor Actions
- Webhook Actions
Location → Get Many
AI-generatedSummary
Retrieve multiple location records from the Ramp API, either returning all results or a limited number as specified.
Inputs
- Return All — A boolean to specify whether to return all location records or just up to a specified limit.
- Limit — When 'Return All' is false, specify the maximum number of location records to return.
Output shape
a list of location records represented as JSON objects
If 'Return All' is true, all location records are fetched using automatic pagination. Otherwise, up to 'Limit' records are retrieved. The data is returned as an array of JSON objects corresponding to location entities.
Examples
Example 1: Fetching all locations
Set 'Return All' to true to fetch every location without limiting the number.
Example 2: Fetching a limited number of locations
Set 'Return All' to false and specify the maximum number of locations to retrieve with 'Limit'.
