Schema Documentation

visibleProduct

Description

A 0bject

Response

Returns a VisibleProduct

Arguments
NameDescription
id - ID! The globally unique identifier of the object.
idType - VisibleProductIdType Type of unique identifier to fetch by. Default is Global ID

Example

Query
query visibleProduct(  $id: ID!,  $idType: VisibleProductIdType){  visibleProduct(    id: $id,    idType: $idType  ){    contentNodes {      ...VisibleProductToContentNodeConnectionFragment    }countdatabaseIddescriptionenqueuedScripts {      ...TermNodeToEnqueuedScriptConnectionFragment    }enqueuedStylesheets {      ...TermNodeToEnqueuedStylesheetConnectionFragment    }idisContentNodeisRestrictedisTermNodelinknameproducts {      ...VisibleProductToProductConnectionFragment    }seo {      ...TaxonomySEOFragment    }slugtaxonomy {      ...VisibleProductToTaxonomyConnectionEdgeFragment    }taxonomyNametermGroupIdtermTaxonomyIdurivisibleProductId  }}
Variables
{"id":"4","idType":"DATABASE_ID"}
Response
{"data":{"visibleProduct":{"contentNodes":VisibleProductToContentNodeConnection,"count":987,"databaseId":987,"description":"abc123","enqueuedScripts":TermNodeToEnqueuedScriptConnection,"enqueuedStylesheets":TermNodeToEnqueuedStylesheetConnection,"id":"4","isContentNode":true,"isRestricted":false,"isTermNode":true,"link":"xyz789","name":"xyz789","products":VisibleProductToProductConnection,"seo":TaxonomySEO,"slug":"xyz789","taxonomy":VisibleProductToTaxonomyConnectionEdge,"taxonomyName":"abc123","termGroupId":123,"termTaxonomyId":123,"uri":"abc123","visibleProductId":123}}}