Skip to main content

Arguments

input : AddPropertyToHierarchyInput! required

Input fields for adding a property to a hierarchy.

Returns

AddPropertyToHierarchy

Add a property to a hierarchy as a root node.

If the property is already a root node in the hierarchy, this operation is idempotent. If the property is already in the hierarchy as a child, an error will be raised.

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 AddPropertyToHierarchy($input: AddPropertyToHierarchyInput!) { addPropertyToHierarchy(input: $input) { property { ...PropertyTypeFragment } } }

Variables

Response

{ "data": { "addPropertyToHierarchy": { "property": PropertyType } } }