List accommodation
accommodation.read
Example
Response
data — array of stays:
Get one stay
accommodation.read
Path parameters
Response
data — the list fields, plus:
Note the key names differ from venues: stays use
customFields, emails, phonenumbers (one word) and urls, where venues use venueCustomFields, venueEmails, venuePhoneNumbers and venueUrls. All are read-only here — manage them through Custom Fields and Contacts, and rooms through Rooms.Create accommodation
accommodation.write
Accommodation uses camelCase ID fields (
tourId, dayId) — unlike most resources, which use snake_case (tour_id, day_id). See Field naming.Visibility
Stays use the same visibility model as schedule items —visibilityList in camelCase, as on schedule items.
Date & time format
checkInDate, checkOutDate, checkInTime, and checkOutTime are numeric epoch milliseconds, not ISO strings. Confirmed against the live API.
The stored check-in / check-out instant comes from checkInTime / checkOutTime — each is the full epoch-millisecond timestamp of the moment. checkInDate / checkOutDate are the date-only epoch-ms (midnight UTC) and do not affect the stored instant (they are used for date grouping only).
Images:
image_url accepts a publicly reachable image URL. The API fetches it server-side and re-hosts it in Daysync storage — the image returned by GET is a Daysync S3 URL, not the URL you sent. If the URL can’t be fetched, the create/edit fails with 400 { "error": "400", "message": "fetch failed" }, so the source must be reachable (mind spaces/encoding in the URL). Known quirk: the re-hosted filename currently comes out as undefined_<timestamp>.jpeg, but the image is stored and served correctly. (This differs from Venues, whose image field is not fetched.)data: { "id": 318, "name": "…" }.
Edit accommodation
accommodation.write
Path parameters
Body — the edit input is a different, narrower set than create. Fields not listed below cannot be changed via edit.
Ignored on update:
tourId, subtitle, dayId, and daysList are accepted in the request body but have no effect — sending them will not raise an error, but the values are silently ignored. They are set at creation time only and cannot be changed afterwards. The accommodationId is taken from the URL path — do not send it in the request body.data: { "id": 318, "name": "…" }.
Delete accommodation
accommodation.write
Path parameters
Response
data: none.
Location structure
Theformatted_address field on create and edit accepts a Google Places–style location object. The geometry.location and geometry.viewport sub-fields are required for the address to be valid.
See also: Tours, Venues.

