Schema Documentation
productType
Description
A 0bject
Response
 Returns a ProductType
Arguments
| Name | Description | 
|---|---|
| id-ID! | The globally unique identifier of the object. | 
| idType-ProductTypeIdType | Type of unique identifier to fetch by. Default is Global ID | 
Example
Query
query productType(  $id: ID!,  $idType: ProductTypeIdType){  productType(    id: $id,    idType: $idType  ){    contentNodes {      ...ProductTypeToContentNodeConnectionFragment    }countdatabaseIddescriptionenqueuedScripts {      ...TermNodeToEnqueuedScriptConnectionFragment    }enqueuedStylesheets {      ...TermNodeToEnqueuedStylesheetConnectionFragment    }idisContentNodeisRestrictedisTermNodelinknameproductTypeIdproducts {      ...ProductTypeToProductConnectionFragment    }seo {      ...TaxonomySEOFragment    }slugtaxonomy {      ...ProductTypeToTaxonomyConnectionEdgeFragment    }taxonomyNametermGroupIdtermTaxonomyIduri  }}Variables
{"id":"4","idType":"DATABASE_ID"}Response
{"data":{"productType":{"contentNodes":ProductTypeToContentNodeConnection,"count":123,"databaseId":987,"description":"abc123","enqueuedScripts":TermNodeToEnqueuedScriptConnection,"enqueuedStylesheets":TermNodeToEnqueuedStylesheetConnection,"id":"4","isContentNode":true,"isRestricted":false,"isTermNode":true,"link":"abc123","name":"abc123","productTypeId":987,"products":ProductTypeToProductConnection,"seo":TaxonomySEO,"slug":"xyz789","taxonomy":ProductTypeToTaxonomyConnectionEdge,"taxonomyName":"abc123","termGroupId":987,"termTaxonomyId":987,"uri":"abc123"}}}