Create or update an apartmentAsk AIpost https://provider-api-sandbox.holidu.com/v2/apartmentQuery ParamsproviderApartmentIdstringproviderstringholiduApartmentIdint64Body ParamsproviderApartmentGroupIdstringID of the house where apartment is located. If several apartments are located in one house, they'll share the same providerApartmentGroupIdlatnumberrequiredLatitudelngnumberrequiredLongitudenamestringName of the apartmentapartmentAddressobjectAddress of the rental propertyapartmentAddress objectcontactDetailsobjectContact detailscontactDetails objectguestCapacityRulesobjectrequiredGuest capacity rules applicable to apartmentguestCapacityRules objectnumberOfBedroomsint321 to 30numberOfLivingroomsint321 to 30numberOfBathroomsint321 to 30sizeInSqmnumberSize of apartment in square metersapartmentTypestringenumrequiredType of the apartmentALLOTMENT_GARDENAPARTMENTAPARTMENT_HOTELBARNBEACH_HUTBED_AND_BREAKFASTBOATBUNGALOWCAMPERCAMPINGCARAVANCASTLECAVECHACARACHALETCOTTAGECOUNTRY_HOUSEFARMFARMHOUSEFINCAFISHING_HOUSEGITEGLAMPINGGUEST_HOUSEGUEST_ROOMHOLIDAY_VILLAGEHOMESTAYHOSTELHOTELHOUSE_BOATHUTLIGHTHOUSELODGELOG_CABINLUXURY_TENTMANORMILLMOBILE_HOMEMOUNTAIN_HUTPENSIONPENTHOUSERESIDENCERESORTRIADROOMROOM_BREAKFASTSTUDIOTENTTINY_HOMETIPITOWERTREE_HOUSETRULLOVACATION_APARTMENTVACATION_HOMEVILLAYACHTYURTShow 58 enum valuescheckInCheckOutTimesobjectCheck-ins and check-outs detailscheckInCheckOutTimes objectfloorint32The floor on which the property is located, starting with 0 for the ground floorsizeOfPlotnumberTotal area includes the whole area of the property accessible to the guest. This includes the garden, terraces or garagesbuildYearint32Build year of the propertymodernizedYearint32Year of renovationlicensestringLicense number of the property (the license number is required for properties in the Balearic area in Spain)regulatoryInformationobjectStore regulatory information for the apartmentregulatoryInformation objectisTestApartmentbooleanMark as test apartmenttruefalseonRequestDetailsobjectUsed only for on request apartmentsonRequestDetails objectleadTimeHoursint32Booking lead time in hoursduplicateFromarray of objectsUse this object if other Holidu partners also have this property in their system. Please contact us before using this.duplicateFromADD objectResponses 200Successful creation or update of an apartment 400Bad Request 401Authentication error 500Internal server errorUpdated 7 months ago