---
search:
  tags:
    - projects
    - POST
seo:
  description: >-
    Updates the sort order for multiple products in a project.… Reference for
    the POST /projects/{projectId}/products/sort endpoint in the Leadtime Public
    API API.
sidebar:
  badge: POST
  label: Reorder products
title: Reorder products
type: openapi-operation
---
Updates the sort order for multiple products in a project. Products are displayed in the order specified by the provided array of product IDs.

**How it works:**
1. Provide an array of product IDs in the desired display order
2. The first ID in the array will have the lowest sort value
3. Subsequent IDs receive incrementally higher sort values
4. Products not included in the array retain their current sort order

**Requirements:**
- All product IDs must belong to the specified project
- All product IDs must be valid UUIDs
- Array must contain at least one product ID

**Use cases:**
- Reorganizing product list for better presentation
- Grouping related products together
- Prioritizing important products at the top

<Operation source="api-reference" id="projectproductscontroller-reorderproducts" />
