---
title: "List Inventory"
method: GET
path: "/api/v1/admin/locations/{location_id}/inventory"
tags: ["Admin: Локации"]
---

# List Inventory

`GET /api/v1/admin/locations/{location_id}/inventory`

## Request

- Base URL: `https://api.food24.kz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.food24.kz/api/v1/admin/locations/{location_id}/inventory`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/v1/auth/login`
- TypeScript: <https://skmtc.dev/food24/apis/goodfood/docs/api/v1/admin/locations/:location_id/inventory/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `location_id` integer, required

## Response `200`

Successful Response

- InventoryItemRead[]
  - `location_id` integer, required
  - `product_id` integer, required
  - `id` integer, required
  - `added_at` string, date-time, required
  - `show_in_menu` boolean
  - `quantity` integer
  - `product` ProductRead
    - `id` integer, required
    - `name` string, required
    - `sku` string, nullable
    - `category_id` integer, nullable
    - `category_name` string, nullable
    - `category` string, nullable
    - `subcategory` string, nullable
    - `brand_id` integer, nullable
    - `brand_name` string, nullable
    - `price` number, required
    - `cost` number, nullable
    - `discount` number
    - `price_with_discount` number, nullable
    - `unit` string
    - `weight` string, nullable
    - `tags` string, nullable
    - `description` string, nullable
    - `visible` boolean, required
    - `is_new` boolean, required
    - `recommended` boolean, required
    - `limited` boolean, required
    - `badge` string, nullable
    - `image` string, nullable
    - `sort_order` integer, nullable
  - `campaign` CampaignOverride: Оверрайд цены и бейджа от активной маркетинговой кампании. Имеет приоритет над полями product.discount / product.price_with_discount.
    - `discount_pct` number, required
    - `price_with_discount` number, required
    - `badge` string, required
    - `badge_bg` string, nullable
    - `badge_color` string, nullable
  - `expiry_status` 'ok' | 'expiring' | 'expired' | 'duplicate' | 'mixed_batch', nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-06** `932677784212`: 1 info
  - added the optional property `items/product/anyOf[subschema #1: ProductRead]/sort_order` to the response with the `200` status

[Operation history](https://skmtc.dev/food24/apis/goodfood/changes/api/v1/admin/locations/:location_id/inventory/get.md)

---

[API](https://skmtc.dev/food24/apis/goodfood.md) - [All operations](https://skmtc.dev/food24/apis/goodfood/llms.txt) - [OpenAPI document](https://skmtc.dev/food24/apis/goodfood/revisions/f75c731597d3?raw)
