Rental Types
Reference of available rental types in the system.
LONG_TERM
Long-term rental
Rental for a period of 1 month or more
SHORT_TERM
Short-term rental
Rental for a period of less than 1 month (daily, weekly)
REST API
You can get the list of rental types via API.
GET /api/v1/rental-types
GET /api/v1/rental-types/{code}
Example Response
{
"rental_types": [
{
"id": 1,
"code": "LONG_TERM",
"name_key": "rental_type.long_term.name",
"description_key": "rental_type.long_term.description",
"image_url": "https://example.com/images/long_term.svg",
"is_active": true
},
{
"id": 2,
"code": "SHORT_TERM",
"name_key": "rental_type.short_term.name",
"description_key": "rental_type.short_term.description",
"image_url": "https://example.com/images/short_term.svg",
"is_active": true
}
],
"total": 2
}