@spree/docs 0.1.215 → 0.1.217
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -232,6 +232,8 @@ const division = await adminClient.companies.create({
|
|
|
232
232
|
|
|
233
233
|
Moving a branch is an update with a new `parent_id`. Deleting a node removes its whole subtree, and is refused outright once any order exists beneath it — history doesn't get deleted to tidy up an org chart.
|
|
234
234
|
|
|
235
|
+
Each row carries `children_count` and `members_count`. `children_count` is the node's direct sub-units. `members_count` is the number of distinct customers holding a membership on the node or on any node below it, so somebody who is a member of both a parent and one of its sub-units is counted once rather than twice.
|
|
236
|
+
|
|
235
237
|
## Related
|
|
236
238
|
|
|
237
239
|
- [Catalogs](catalogs.md) — giving a company its own range and prices
|