Admin
POST admin rentals reassign
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
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
Request body
Response
Changes
No recorded changes to this operation across all 1 revision of this API.