[beta] Update a vendor
Manage parent vendor identity and defaults inherited by vendor locations.
<b>Rate limit:</b> 100 requests/min (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
To use this endpoint, select Write 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.
Request
- Base URLhttps://api.samsara.com
- AuthHTTP bearer
Query parameters
Include externalIds in the response. Defaults to false.
Unique identifier for the vendor record.
Request body
Example request
{
"assetAttributeSelections": [
{
"attributeId": "12345",
"values": [
{
"id": "12345"
}
]
}
],
"defaultLaborRatePerHour": {
"amount": "12345",
"currency": "12345"
},
"externalIds": [
{
"key": "12345",
"value": "12345"
}
],
"isMobile": true,
"isPreferred": true,
"name": "12345",
"primaryCorporateContact": {
"email": "12345",
"name": "12345",
"phoneNumber": "12345"
},
"status": "active"
}Response
OK response.
Example response
{
"data": {
"assetAttributeSelections": [
{
"attributeId": "12345",
"values": [
{
"id": "12345"
}
]
}
],
"createdAtTime": "2019-06-13T19:08:25Z",
"defaultLaborRatePerHour": {
"amount": "12345",
"currency": "12345"
},
"externalIds": [
{
"key": "12345",
"value": "12345"
}
],
"id": "12345",
"isMobile": true,
"isPreferred": true,
"name": "12345",
"primaryCorporateContact": {
"email": "12345",
"name": "12345",
"phoneNumber": "12345"
},
"status": "active",
"updatedAtTime": "2019-06-13T19:08:25Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.