---
title: "Assign an inventory item to a specified customer"
method: PATCH
path: "/v1/InventoryItem/AssignCustomer"
tags: ["InventoryItem"]
---

# Assign an inventory item to a specified customer

`PATCH /v1/InventoryItem/AssignCustomer`

Assigns the specified inventory item to the customer

## Request body

- RevAppModelsInventoryItemCustomerAssignModel
  - `inventory_item_id` integer, required — Database primary key identifier for the inventory to be assigned.
  - `customer_id` integer, required — Foreign identifier indicating which customer to assign inventory to.
  - `links` RevAppComponentsLink[]
    - `rel` string
    - `href` string

## Response `200`

OK

- RevWebAPIModelsSuccess
  - `ok` boolean

## Other responses

- `500` — InternalServerError

---

[API](https://skmtc.net/rev-io/apis/rev-io-api.md) · [All operations](https://skmtc.net/rev-io/apis/rev-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rev-io/rev-io-api/revisions/135571434f6c/schema)
