Photos

Update photos for an apartment

post/v2/photos

Request

  • Base URL: https://provider-api-sandbox.holidu.com
  • URL: https://provider-api-sandbox.holidu.com/v2/photos
  • Auth: API key in header api-key

Query parameters

providerApartmentIdstring
providerstring
holiduApartmentIdinteger

Request body

urlstring required

Photo URL

positioninteger required

Position of the photo to be shown to the customer

contentLengthinteger

File size of the photo in bytes

Example request

[
  {
    "url": "http://r-ec.bstatic.com/images/hotel/max500/149/14959242.jpg",
    "position": 1
  }
]

Response

Updated list of photos for the apartment

urlstring required

Photo URL

positioninteger required

Position of the photo to be shown to the customer

contentLengthinteger

File size of the photo in bytes

Example response

[
  {
    "url": "http://r-ec.bstatic.com/images/hotel/max500/149/14959242.jpg",
    "position": 1
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.