Skip to main content

Arguments

input : AddChildToPropertyInput! required

Input fields for adding a child to a parent property.

Returns

AddChildToProperty

Add a child property to a parent 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 AddChildToProperty($input: AddChildToPropertyInput!) { addChildToProperty(input: $input) { child { ...PropertyTypeFragment } } }

Variables

Response

{ "data": { "addChildToProperty": { "child": PropertyType } } }