latestOpenAPI 3.0.12026-08-20112309904.6 KB

466169815b78

Collections - Network

Get commodity graph for a collection

Retrieve a commodity-based network graph for a collection.

This endpoint returns a graph structure showing how targets in the collection are connected through commodity relationships. The graph represents supply chain relationships organized by commodity/product categories.

Use Cases:

  • Analyze commodity-based supply chain networks
  • Visualize relationships organized by product categories
  • Identify commodity-specific supplier connections

Response Format: Returns an array of tree nodes, where each node contains:

  • Target information
  • Commodity relationships
  • Nested supplier structures organized by commodities

Required Permissions: ACCESS_PUBLIC_COMMODITY_GRAPH and READ on the collection

Performance Impact: High

get/public/v2/network/{collectionId}/commodity-graph

Path parameters

collectionIdinteger required

Response

Successfully retrieved commodity graph

targetinteger required

The target id of the supplier

edgeSourcestring required

Allowed values "Public Media", "Public Customs", "Private", "Shared", "Prewave Prediction"

merged_targetsinteger[]

Target ids of past targets that were merged into this current target