Schema Documentation
shippingClass
Description
A 0bject
Response
Returns a ShippingClass
Arguments
Name | Description |
---|---|
id - ID! | The globally unique identifier of the object. |
idType - ShippingClassIdType | Type of unique identifier to fetch by. Default is Global ID |
Example
Query
query shippingClass( $id: ID!, $idType: ShippingClassIdType){ shippingClass( id: $id, idType: $idType ){ contentNodes { ...ShippingClassToContentNodeConnectionFragment }countdatabaseIddescriptionenqueuedScripts { ...TermNodeToEnqueuedScriptConnectionFragment }enqueuedStylesheets { ...TermNodeToEnqueuedStylesheetConnectionFragment }idisContentNodeisRestrictedisTermNodelinknameproducts { ...ShippingClassToProductConnectionFragment }seo { ...TaxonomySEOFragment }shippingClassIdslugtaxonomy { ...ShippingClassToTaxonomyConnectionEdgeFragment }taxonomyNametermGroupIdtermTaxonomyIduri }}
Variables
{"id":"4","idType":"DATABASE_ID"}
Response
{"data":{"shippingClass":{"contentNodes":ShippingClassToContentNodeConnection,"count":123,"databaseId":123,"description":"xyz789","enqueuedScripts":TermNodeToEnqueuedScriptConnection,"enqueuedStylesheets":TermNodeToEnqueuedStylesheetConnection,"id":4,"isContentNode":true,"isRestricted":false,"isTermNode":false,"link":"xyz789","name":"xyz789","products":ShippingClassToProductConnection,"seo":TaxonomySEO,"shippingClassId":123,"slug":"abc123","taxonomy":ShippingClassToTaxonomyConnectionEdge,"taxonomyName":"xyz789","termGroupId":987,"termTaxonomyId":987,"uri":"xyz789"}}}