Create or update parent apartment in multi-unit structure
POST/v2/multi-unit
Operation ID: upsertMultiUnit
Creates the parent listing of a multi-unit property (holiday park, hotel, guest house, ...) under your own providerGroupId, or sets its parentType if it already exists. An empty object {} creates it without a type; sent for an existing group, {} (or any body without parentType) clears the stored parentType on every unit. Units are normal apartments that join the group by sending the same value as providerApartmentGroupId in POST /v2/apartment. providerGroupId must match ^[A-Za-z0-9._:-]{1,100}$ (ASCII letters, digits, ., _, :, -); give your units a providerApartmentGroupId that meets the same rule.
Request
Responses
- 200
- 400
- 401
- 500
Successful creation or update of a parent apartment
Bad Request
Authentication error
Internal server error