Assigns a parent customer to establish an organizational hierarchy. The hierarchy supports a maximum of 3 levels. Circular references and self-assignment are not permitted. Both the parent and child customer must belong to the same tenant, and the parent customer must be active (not archived).
This endpoint requires the customer.hierarchy feature to be enabled.
customer:write400 Bad Request with a descriptive error message.
customer.hierarchy feature to be enabled. If the feature is not active, a 501 Not Implemented response is returned.
customer.parent.assigned webhook event, which includes the full customer and parent customer payloads.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the customer to assign a parent to
The parent customer assignment
The ID of the customer to set as parent
"00000000-0000-0000-0000-000000000000"