Update Photo
This endpoint updates captions, sort order, and other details of existing photos for a specific Airbnb listing.
Endpoint
POST
Header
app-id
string
Yes
Your application ID. Required for authentication.
Authorization
string
Yes
Your API key. for authorization. Required for authentication.
Content-Type
string
Yes
Must be set to application/json.
Attributes
hotelid alphanumeric (Required)
Specifies the required node hotelid containing the IT provider's hotel ID for which the provider wishes to add mapping information.
channelhotelid alphanumeric (Required)
Specifies the unique hotel ID used in the external distribution channel or PMS (Property Management System).
listingid numeric (Required)
Listing ID of the property allocated by Airbnb.
images array of objects (Required)
Array containing image details to be uploaded.
caption string (Optional)
Caption for the image.
sort_order numeric (Optional)
Order of the image.
airbnb_photo_id numeric (Required)
ID of an already created photo on Airbnb.
category enum (Required)
Short description of the photo.
Allowed values: LISTING, ROOM, LISTING_AMENITY, ROOM_AMENITY.
facility_id numeric (Required only if category is LISTING_AMENITY or ROOM_AMENITY)
ID of the facility for which the image is uploaded.
Request
Response
Success Response
Success Response - Body Elements
Status string
Indicates the result of the API call. Will be "Success" if the photos are updated successfully.
Data object
Contains the status of each updated photo, keyed by their Airbnb photo ID. Each object contains:
id string
The Airbnb photo ID.
message string
Status message indicating the photo was updated.
Message string
Response message indicating the overall result of the update operation.
Error Response
Error Response - Body Elements
Status string
Indicates the result of the API call.
Will be always "Fail" in case of an error response.
Errors object
The response error, the root element.
Code string
Specific error code that helps identify the type of error.
For example: "400" indicates a bad request.
ShortText string
A short description of the error.
Message string
The message in the response.
Last updated
Was this helpful?