Activate apartment for provider
PUT/v2/apartment/activate
Operation ID: activateApartment
Activates the apartment; it is shown on Holidu once its data passes validation. Call it once all data (descriptions, photos, facilities, prices and availability) has been pushed, and check GET /v2/apartment/validation for data problems, because activation does not validate the apartment. Apartments that Holidu has delisted (for example as duplicates) stay inactive although the call answers OK; the active flag of GET /v2/apartment shows the real state.
Request
Responses
- 200
- 400
- 401
- 404
- 500
Activate action on apartment succeeded; the body is the plain text OK
Bad Request
Authentication error
Apartment does not exist
Internal server error