ProductConnection
This page contains
Fields
| totalCount: Int! | Total number of results |
| nodes: [Product] PREVIEW | |
| pageInfo: PageInfo! | Cursor information for paginated results |
Queries for ProductConnection
| distributionCatalogProducts PREVIEW | Consolidated catalog for the Distribution Catalog UI. Returns exactly one node per product owned by the vendor. Each node is the product's PUBLISHED snapshot when one exists, and its WORKING (draft) snapshot otherwise — so name, logo, and branding always reflect what buyers currently see when the product is live, and reflect the draft when it is not. Product.version identifies which snapshot a node came from ("PUBLISHED" or "WORKING"). Status badge display is left to the UI for v1 — derive from version, status, and distributionStatus on each node. Check version first: on a node whose version is "WORKING", distributionStatus is a stale working-document value and must not be used to render a badge. Bundles and internal product types are always excluded. |
| networkCatalogProducts PREVIEW | Browse products on the AppDirect Network Catalog available to the viewer's marketplace. Viewer's marketplace = context.user.tenant. |
| products | Query products by tenant |
| productsByVendorId | Query products by vendor ID |