Cost Locations: get cost locations
cost_locations_getFetch cost locations for a customer account. Filter by specific code, limit results, or set an offset for paginated access.
Instructions
🟢 READ-ONLY — Fetches data. Makes no changes to the accounting records. get cost locations Get cost locations for a specified customer account. The response includes the number of returned rows and an array of cost locations data. NOTE: Each request is limited to 1000 cost locations!
Endpoint: POST /cost-locations/get
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The code of one specific cost location. If provided, only the cost location with this code will be returned. | |
| limit | No | Set a limit of returned postings. NOTE: the maximum limit is 1000! | |
| offset | No | Set an offset for the returned postings. | |
| api_key | No | Optional. The BB customer api_key to act on. Defaults to the BB_API_KEY configured on the server — only set this to target a different customer. |