---
title: "Add To Location"
method: POST
path: "/api/inventory/locations/add"
---

# Add To Location

`POST /api/inventory/locations/add`

## Request

- Base URL: `https://api.liposta.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.liposta.com/api/inventory/locations/add`
- Auth: none declared

## Request body

- AppResourcesSofiastoreInventoryInventoryAddToLocationPayload
  - `id` string, required
  - `sku` string, required
  - `sku_code` string, required
  - `variant` string, required
  - `category_id` string, required
  - `img` string, required
  - `cost` number, nullable
  - `page_ids` string[], required
  - `quantity` integer, required
  - `reason` string, nullable
  - `user` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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