---
title: "Product location PATCH update."
method: PATCH
path: "/rest/api/warehouse/product/{id}/location/"
tags: ["Warehouse"]
---

# Product location PATCH update.

`PATCH /rest/api/warehouse/product/{id}/location/`

## Path parameters

- `id` string, required

## Request body

- LocationPatchModel
  - `locationId` integer, nullable
  - `locationCode` string, nullable

## Response `200`

Update product location correctly

- unknown

## Other responses

- `400` — Invalid payload
- `401` — Authorization failed
- `422` — Validation error

---

[API](https://skmtc.dev/apilo/apis/apilo-rest-api.md) · [All operations](https://skmtc.dev/apilo/apis/apilo-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apilo/apilo-rest-api/revisions/a0f9dcdba6cc/schema)
