---
title: "Reorder Locations"
method: PUT
path: "/api/v1/admin/locations/reorder"
tags: ["Admin: Локации"]
---

# Reorder Locations

`PUT /api/v1/admin/locations/reorder`

## 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/reorder`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/v1/auth/login`
- TypeScript: <https://skmtc.dev/food24/apis/goodfood/docs/api/v1/admin/locations/reorder/put.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- integer[]

## Response `200`

Successful Response

- LocationRead[]
  - `name` string, required
  - `display_name` string, nullable
  - `address` string, nullable
  - `city` string, nullable
  - `timezone` string
  - `phone` string, nullable
  - `email` string, nullable
  - `fridge_count` integer
  - `is_active` boolean
  - `show_in_menu` boolean
  - `online_payment_enabled` boolean
  - `sort_order` integer
  - `id` integer, required
  - `public_id` string, required
  - `slug` string, nullable
  - `total_stock` integer
  - `unique_products_count` integer

## Other responses

- `422`: Validation Error

---

[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)
