traverse_order_products
Traverse the orderProducts many-to-many link from a retrieved Order or Product instance, inferring direction from source type or validating an explicit forward/reverse choice.
Instructions
Traverse the Order → Product link "orderProducts" (many-to-many). Pass an instance returned by get or search; its properties are a snapshot, not authority. Direction is inferred from source.type; an explicit direction must agree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| direction | No |