How to assign child exhibitors to a parent
Use this guide when you need to link one or more exhibitors as children of a parent exhibitor. There are two approaches — choose based on which side of the relationship you have access to.
What you'll need before starting
|
What you need |
Where to get it |
|---|---|
|
Parent exhibitor ID |
|
|
Child exhibitor ID(s) |
Same as above |
The parent exhibitor must already have is_parent_exhibitor=true set. See the "How to create a parent exhibitor" guide.
Approach 1 — Update the parent with the list of children
Pass all child exhibitor IDs as a comma-separated list in children_exhibitors.
curl -X POST "https://your-event-domain.com/api/v2/exhibitor/set" \
-H "Authorization: Bearer your_api_key_here" \
-F "event_id=7" \
-F "exhibitor_id=1200" \
-F "children_exhibitors=1201,1202,1203"
⚠️
children_exhibitorsreplaces the existing child list on every request. Always include the full list of intended children.
Approach 2 — Update each child with the parent ID
Pass the parent's internal ID in parent_exhibitor_id on each child.
curl -X POST "https://your-event-domain.com/api/v2/exhibitor/set" \
-H "Authorization: Bearer your_api_key_here" \
-F "event_id=7" \
-F "exhibitor_id=1201" \
-F "parent_exhibitor_id=1200"
Each request assigns that child to the parent. Existing children from previous requests are not affected.
Notes
-
An exhibitor cannot be both a parent and a child
-
To verify the hierarchy, use
GET /api/v2/exhibitor/getand inspectchild_exhibitorsandparent_exhibitor_id