Collections - Network
Get commodity graph for a commodity tree
Retrieve a commodity-based network graph using a commodity tree ID.
This endpoint is similar to the collection-based commodity graph endpoint but uses a commodity tree ID to identify the collection. The commodity tree represents a hierarchical organization of commodity categories.
Use Cases:
- Analyze commodity-based networks using commodity tree identifiers
- Visualize relationships for specific commodity hierarchies
- Integrate with systems that use commodity tree IDs
Response Format: Returns an array of tree nodes organized by commodity relationships.
Required Permission: ACCESS_PUBLIC_COMMODITY_GRAPH
Performance Impact: High
get/public/v2/network/tree/{commodityTreeId}/commodity-graph
Request
- Base URLhttps://api.prewave.com
- AuthAPI key in header X-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
commodityTreeIdinteger required
Response
Successfully retrieved commodity graph
Changes
No recorded changes to this operation across all 24 revisions of this API.