Location
Get location tree
Get location hierarchical tree.
get/locations/tree
Query parameters
parentIdinteger
The parent location ID, return root locations if parent is null
expandChildrenboolean
Whether to return the child locations recursively, default is true. Set it to false to improve performance when there are a lot of child locations.
Response
OK