---
title: "Reassign an asset's inventory branch"
method: PUT
path: "/machine-to-machine/assets/{asset_id}/inventory-branch"
tags: ["Assets"]
---

# Reassign an asset's inventory branch

`PUT /machine-to-machine/assets/{asset_id}/inventory-branch`

## Request

- Base URL: `https://api.equipmentshare.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.equipmentshare.com/machine-to-machine/assets/{asset_id}/inventory-branch`
- Auth: HTTP bearer

Reassigns the asset's inventory (ISP) branch. Set skipResourceSync=true to suppress the branch-to-resource sync, so a caller that owns the asset-resource record write (e.g. fleet-configuration-api's designation-driven branch reassignment) is not echoed back into its in-flight write; defaults to false (the sync runs). Idempotent: when the asset's inventory branch already is the requested branch nothing is written and the response carries changed=false. M2M authentication required. Currently scoped to the inventory branch only; extendable to service/rental/telematics providers later.

## Path parameters

- `asset_id` integer, required

## Request body

- AssignInventoryBranchRequest
  - `branchId` integer, required
  - `companyId` integer, required
  - `skipResourceSync` boolean
  - `userId` integer, required

## Response `200`

- AssignInventoryBranchResponse
  - `changed` boolean
  - `id` integer
  - `inventory_branch_id` integer

## Other responses

- `404`: Asset or branch not found
- `409`: Invariant violated (e.g. cross-company assignment)
- `422`: Asset is owned by EquipmentShare (1854), company mismatch, or inactive branch

---

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