Properties Collection
API methods to work with Properties
Properties List
GET https://staging.magarental.com/api/v1/properties{
"data": [{
"type": "property",
"id": "eb731641-39cd-492b-8ed9-76bcbc16baa7",
"attributes": {
"id": "eb731641-39cd-492b-8ed9-76bcbc16baa7",
"title": "Test Magarental Hotel",
"is_active": true,
"email": "[email protected]",
"phone": "41796034724",
"currency": "EUR",
"country": "Italy",
"state": null,
"city": "italy",
"address": "Italy",
"zip_code": "00042",
"longitude": "12.5674",
"latitude": "41.8719",
"timezone": "",
"property_type": "Hotel",
"content": {
"description": "Test Maagarental Hotel",
"photos": [
{
"author": "",
"description": "Room View",
"id": "17392",
"kind": "photos",
"position": 0,
"property_id": "119",
"room_type_id": null,
"url": "https://zaaer.co/storage/units/gAPJ5r1236qbBHVzxd6JQsoJ1.jpeg"
},
{
"author": "",
"description": "Room View",
"id": "17393",
"kind": "photos",
"position": 0,
"property_id": "119",
"room_type_id": null,
"url": "https://zaaer.co/storage/units/ZDnzr6EmXF6cpKsxUd6erUhec.jpeg"
},
{
"author": "",
"description": "Room View",
"id": "17394",
"kind": "photos",
"position": 0,
"property_id": "119",
"room_type_id": null,
"url": "https://zaaer.co/storage/units/ZDnzr6EmXF6cpKsxUd6erUhec.jpeg"
}
],
"important_information": ""
},
"logo_url": null,
"acc_channels_count": 0,
"settings": {
"allow_availability_autoupdate_on_confirmation": false,
"allow_availability_autoupdate_on_modification": false,
"allow_availability_autoupdate_on_cancellation": false,
"min_stay_type": null,
"max_price": null,
"min_price": null,
"state_length": 0,
"cut_off_time": null,
"cut_off_days": 0
}
},
"relationships": {
"groups": null,
"facilities": null
}
}]
}Pagination and Filters
Returns
Property Options
Create Property
Fields
Read only fields
Returns
Get Property by ID
Returns
Update Property
Fields
Returns
Last updated

