v1

latestOpenAPI 3.0.32026-07-2632131.4 MB
Property Photos

Change the photo order on a property

Alter the order of the existing property photos. All listed photos will be placed first, and the rest will be placed at the end.

post/properties-api/property-photos/property-photos/{propertyId}/order

Path parameters

propertyIdstring required

Guesty property ID.

Request body

orderstring[] required

Array of photo IDs in the desired order

Example request

{
  "order": [
    "66a8a31bfcaf78299543d409",
    "66a9f1b9fcaf7829950c9e53"
  ]
}

Response

Returns a list of all the property's photos.

_idstring
sourcestring
originalstring

Full size property photo

thumbnailstring

Thumbnail of property photo

captionstring

Caption of photo

indexnumber

Order of photo

createdAtstring date-time
updatedAtstring date-time