---
title: "POST admin rentals reassign"
method: POST
path: "/admin/rentals/reassign-rentals"
tags: ["Admin"]
---

# POST admin rentals reassign

`POST /admin/rentals/reassign-rentals`

## Request

- Base URL: `https://api.equipmentshare.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.equipmentshare.com/admin/rentals/reassign-rentals`
- Auth: HTTP bearer

Reassign rentals to a different order with optional rate adjustments.

        TRANSACTION BEHAVIOR:
        - All rentals are reassigned in a single database transaction
        - If ANY rental fails to reassign, ALL changes are rolled back (all-or-nothing)
        - No partial success - either all rentals are reassigned or none are

        VALIDATION:
        - All rentals must be from the same source order
        - Target order must be from same company and branch as source rentals
        - Rentals must have started on or before now
        - Rentals must not have ended before now
        - Rentals must be in DRAFT, PENDING, or ON_RENT status

        RATE ADJUSTMENTS:
        - Use rentals_to_reassign to specify new rates and shift types during reassignment
        - Rates are not calculated by the backend - provide complete rate structures
        - If rate fields are omitted, the original rental's rates are preserved
        - Use rental_ids (deprecated) for backwards compatibility without rate adjustments

## Request body

- AdminRentalsReassignRequest
  - `new_order_id` integer, required: The ID of the order to which rentals will be reassigned.
  - `rental_ids` integer[], nullable: (DEPRECATED) List of rental IDs to be reassigned. Use rentals_to_reassign instead for rate adjustment support.
  - `rentals_to_reassign` RentalToReassign[], nullable: List of rentals to reassign with optional rate adjustments. Replaces rental_ids and supports specifying new rates during reassignment.
    - `price_per_day` number, float, required: New daily rate.
    - `price_per_hour` number, float, required: New hourly rate.
    - `price_per_month` number, float, required: New monthly rate.
    - `price_per_week` number, float, required: New weekly rate.
    - `rental_id` integer, required: The rental ID to reassign.
    - `shift_type_id` integer, required: New shift type ID for the reassigned rental.
  - `start_date` string: ISO 8601 effective start date for reassignment. If omitted, defaults to now.

## Response `200`

- AdminRentalsReassignResponse
  - `reassigned_rentals` ReassignedRentalResponse[], required: List of rentals that were reassigned with their old and new rental IDs.
    - `new_rental_id` integer, required: The ID of the new rental created as part of the reassignment.
    - `old_rental_id` integer, required: The ID of the rental that was reassigned.

## Other responses

- `400`: Bad request – validation failed or malformed data.
- `401`: Unauthorized – valid Bearer token required.
- `403`: Forbidden – insufficient permissions to perform this action.
- `404`: Not Found – specified company or market does not exist.
- `409`: Conflict – rental already reassigned or invalid state.

## Changes

- **2026-12-01** `40651e1558ac`: 1 info
  - added the media type `application/json` for the response with the status `200`
- **2026-12-01** `e598b74c6170`: 1 breaking
  - removed the media type `application/json` for the response with the status `200`
- **2026-11-30** `beba24fafb51`: 1 info
  - added the media type `application/json` for the response with the status `200`
- **2026-11-30** `c20ff16a0438`: 1 breaking
  - removed the media type `application/json` for the response with the status `200`
- **2026-11-30** `f6ee63f54e57`: 1 info
  - added the media type `application/json` for the response with the status `200`

[Operation history](https://skmtc.dev/equipmentshare/apis/es-api/changes/admin/rentals/reassign-rentals/post.md)

---

[API](https://skmtc.dev/equipmentshare/apis/es-api.md) - [All operations](https://skmtc.dev/equipmentshare/apis/es-api/llms.txt) - [OpenAPI document](https://skmtc.dev/equipmentshare/apis/es-api/revisions/40651e1558ac?raw)
