---
title: "[beta] List vendor locations."
method: GET
path: "/fleet/maintenance/vendor-locations"
tags: ["Beta APIs"]
---

# \[beta\] List vendor locations.

`GET /fleet/maintenance/vendor-locations`

## Request

- Base URL: `https://api.samsara.com`
- URL: `https://api.samsara.com/fleet/maintenance/vendor-locations`
- Auth: HTTP bearer

Returns a paginated list of vendor locations in the organization. Each linked Place owns the location's name, address, and notes. Use the location's addressId as {id} in the public Addresses API: GET /addresses/{id} retrieves data.name, data.formattedAddress, and data.notes; PATCH /addresses/{id} updates name, formattedAddress, and notes. These calls require Read Addresses and Write Addresses permissions, respectively.

 <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).

To use this endpoint, select **Read Work Orders** under the Work Orders category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
 

 **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.

## Query parameters

- `ids` string[]
- `externalIds` string[]
- `includeResolvedSettings` boolean
- `includeExternalIds` boolean
- `after` string

## Response `200`

OK response.

- MaintenanceVendorsListMaintenanceVendorsResponseBody
  - `data` VendorLocationObjectResponseBody[], required: An array of vendor locations.
    - `addressId` string: The linked Place's Address ID, equal to data.id returned by the public Addresses API. The Place owns the location's name, address, and notes. Use this addressId as {id} in GET /addresses/{id} to retrieve data.name, data.formattedAddress, and data.notes, and PATCH /addresses/{id} to update name, formattedAddress, and notes. These calls require Read Addresses and Write Addresses permissions, respectively.
    - `assetAttributeSelections` VendorPublicAttributeSelectionResponseBody[]: Configured asset attributes. An empty array is explicit; omission inherits.
      - `attributeId` string, required: Asset attribute ID.
      - `values` VendorPublicAttributeValueResponseBody[], required: Selected values.
        - `id` string, required: Attribute value ID.
    - `categoryIds` string[], required: Category UUIDs for this vendor. Use the Vendor Categories endpoint to resolve names.
    - `defaultLaborRatePerHour` VendorPublicMoneyResponseBody: Hourly labor rate in the organization's current currency.
      - `amount` string, required: Nonnegative decimal amount.
      - `currency` string, required: Organization's ISO 4217 currency.
    - `externalIds` object: A map of external ids
    - `id` string, required: Unique UUID of the vendor location.
    - `isMobile` boolean: Explicit mobile-service override; omitted when inherited.
    - `isPreferred` boolean: Explicit preferred override; omitted when inherited.
    - `parentVendorId` string: Parent vendor UUID, when configured.
    - `payeeId` string: The vendor's accounts-payable/ERP payee ID.
    - `resolvedSettings` VendorPublicResolvedSettingsResponseBody: Resolved settings; does not change the configured top-level fields.
      - `assetAttributeSelections` VendorPublicAttributeSelectionResponseBody[], required: Resolved attribute selections. System default empty.
        - `attributeId` string, required: Asset attribute ID.
        - `values` VendorPublicAttributeValueResponseBody[], required: Selected values.
          - `id` string, required: Attribute value ID.
      - `assetAttributeSelectionsSource` string, required: system, vendor, vendorLocation, or unknown.
      - `defaultLaborRatePerHour` VendorPublicMoneyResponseBody: Hourly labor rate in the organization's current currency.
        - `amount` string, required: Nonnegative decimal amount.
        - `currency` string, required: Organization's ISO 4217 currency.
      - `defaultLaborRatePerHourSource` string, required: system, vendor, vendorLocation, or unknown.
      - `isActive` boolean, required: Both location and parent, if present, are active.
      - `isMobile` boolean, required: Resolved mobile service. System default false.
      - `isMobileSource` string, required: system, vendor, vendorLocation, or unknown.
      - `isPreferred` boolean, required: Resolved preferred status. System default false.
      - `isPreferredSource` string, required: system, vendor, vendorLocation, or unknown.
    - `servicesProvided` string: Description of services provided by the vendor.
    - `status` string: Own lifecycle status: active, inactive, or unknown. Defaults to active.
    - `vendorId` string: The vendor's legacy vendor ID from the source system. Multiple vendor locations may share the same vendorId if they belong to the same parent company.
  - `pagination` GoaPaginationResponseResponseBody, required: Pagination parameters.
    - `endCursor` string, required: Cursor identifier representing the last element in the response. This value should be used in conjunction with a subsequent request's 'after' query parameter. This may be an empty string if there are no more pages left to view.
    - `hasNextPage` boolean, required: True if there are more pages of results immediately available after this endCursor.

## Other responses

- `401`: Unauthorized response.
- `404`: Not Found response.
- `405`: Method Not Allowed response.
- `413`: Content Too Large response.
- `429`: Too Many Requests response.
- `500`: Internal Server Error response.
- `501`: Not Implemented response.
- `502`: Bad Gateway response.
- `503`: Service Unavailable response.
- `504`: Gateway Timeout response.
- `default`: Bad Request response.

---

[API](https://skmtc.dev/samsara/apis/samsara-api.md) - [All operations](https://skmtc.dev/samsara/apis/samsara-api/llms.txt) - [OpenAPI document](https://skmtc.dev/samsara/apis/samsara-api/revisions/a9e35d4999be?raw)
