Schema Documentation
VisibleProduct
Description
The visibleProduct type
Fields
Field Name | Description |
---|---|
contentNodes - VisibleProductToContentNodeConnection | Connection between the VisibleProduct type and the ContentNode type |
Arguments
| |
count - Int | The number of objects connected to the object |
databaseId - Int! | The unique identifier stored in the database |
description - String | The description of the object |
enqueuedScripts - TermNodeToEnqueuedScriptConnection | Connection between the TermNode type and the EnqueuedScript type |
Arguments
| |
enqueuedStylesheets - TermNodeToEnqueuedStylesheetConnection | Connection between the TermNode type and the EnqueuedStylesheet type |
Arguments
| |
id - ID! | The unique resource identifier path |
isContentNode - Boolean! | Whether the node is a Content Node |
isRestricted - Boolean | Whether the object is restricted from the current viewer |
isTermNode - Boolean! | Whether the node is a Term |
link - String | The link to the term |
name - String | The human friendly name of the object. |
products - VisibleProductToProductConnection | Connection between the VisibleProduct type and the Product type |
Arguments
| |
seo - TaxonomySEO | The Yoast SEO data of the Product visibility taxonomy. |
slug - String | An alphanumeric identifier for the object unique to its type. |
taxonomy - VisibleProductToTaxonomyConnectionEdge | Connection between the VisibleProduct type and the Taxonomy type |
taxonomyName - String | The name of the taxonomy that the object is associated with |
termGroupId - Int | The ID of the term group that this term object belongs to |
termTaxonomyId - Int | The taxonomy ID that the object is associated with |
uri - String | The unique resource identifier path |
visibleProductId - Int | The id field matches the WP_Post->ID field. Deprecated in favor of databaseId |
Example
{"contentNodes":VisibleProductToContentNodeConnection,"count":987,"databaseId":123,"description":"xyz789","enqueuedScripts":TermNodeToEnqueuedScriptConnection,"enqueuedStylesheets":TermNodeToEnqueuedStylesheetConnection,"id":"4","isContentNode":true,"isRestricted":true,"isTermNode":true,"link":"xyz789","name":"xyz789","products":VisibleProductToProductConnection,"seo":TaxonomySEO,"slug":"xyz789","taxonomy":VisibleProductToTaxonomyConnectionEdge,"taxonomyName":"abc123","termGroupId":987,"termTaxonomyId":123,"uri":"xyz789","visibleProductId":987}