Properties Collection
API methods to work with Properties
Properties List
GET https://staging.channex.io/api/v1/properties{
"data": [
{
"type": "property",
"id": "716305c4-561a-4561-a187-7f5b8aeb5920",
"attributes": {
"id": "716305c4-561a-4561-a187-7f5b8aeb5920",
"title": "Demo Hotel",
"is_active": true,
"email": "[email protected]",
"phone": "01267237037",
"currency": "GBP",
"country": "GB",
"state": "Demo State",
"city": "Demo Town",
"address": "Demo Street",
"zip_code": "SA23 2JH",
"latitude": null,
"longitude": null,
"timezone": "Europe/London",
"property_type": "hotel",
"content": {
"description": "Some Property Description Text",
"photos": [{
"author": "Author Name",
"description": "Room View",
"id": "4355439c-df23-4f12-bffd-26476e31dd4a",
"kind": "photo",
"position": 0,
"property_id": "716305c4-561a-4561-a187-7f5b8aeb5920",
"room_type_id": null,
"url": "https://img.channex.io/af08bc1d-8074-476c-bdb7-cec931edaf6a/"
}],
"important_information": null
},
"logo_url": null,
"acc_channels_count": 0
},
"relationships": {
"groups": {
"data": [
{
"id": "f5338935-7fe0-40eb-9d7e-4dbf7ecc52c7",
"type": "group",
"attributes": {
"id": "f5338935-7fe0-40eb-9d7e-4dbf7ecc52c7",
"title": "User Group"
}
}
]
},
"facilities": {
"data": []
}
}
}
],
"meta": {
"limit": 10,
"page": 1,
"total": 1
}
}Pagination and Filters
Returns
Property Options
GET https://staging.channex.io/api/v1/properties/options{
"data": [
{
"attributes": {
"id": "716305c4-561a-4561-a187-7f5b8aeb5920",
"title": "Demo Hotel",
"currency": "GBP"
},
"id": "716305c4-561a-4561-a187-7f5b8aeb5920",
"type": "properties"
}
]
}{
"errors": {
"code": "unauthorized",
"title": "Unauthorized"
}
}Create Property
Fields
Read only fields
Returns
Get Property by ID
Returns
Update Property
Fields
Returns
Remove Property
Last updated