Skip to main content

Arguments

input : AddParentToPropertyInput! required

Input fields for adding a parent to a child property.

Returns

AddParentToProperty

Add a parent property to a child property in a hierarchy.

If the child is already in the hierarchy with a different parent, it will be reparented. If the child is already a child of the specified parent, this operation is idempotent and does nothing.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can manage property hierarchies

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation AddParentToProperty($input: AddParentToPropertyInput!) { addParentToProperty(input: $input) { parent { ...PropertyTypeFragment } } }

Variables

Response

{ "data": { "addParentToProperty": { "parent": PropertyType } } }