Schema Documentation

paColor

Description

A 0bject

Response

Returns a PaColor

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

Example

Query
query paColor(  $id: ID!,  $idType: PaColorIdType){  paColor(    id: $id,    idType: $idType  ){    contentNodes {      ...PaColorToContentNodeConnectionFragment    }countdatabaseIddescriptionenqueuedScripts {      ...TermNodeToEnqueuedScriptConnectionFragment    }enqueuedStylesheets {      ...TermNodeToEnqueuedStylesheetConnectionFragment    }idisContentNodeisRestrictedisTermNodelinknamepaColorIdproducts {      ...PaColorToProductConnectionFragment    }seo {      ...TaxonomySEOFragment    }slugtaxonomy {      ...PaColorToTaxonomyConnectionEdgeFragment    }taxonomyNametermGroupIdtermTaxonomyIdurivariations {      ...PaColorToProductVariationConnectionFragment    }  }}
Variables
{"id":"4","idType":"DATABASE_ID"}
Response
{"data":{"paColor":{"contentNodes":PaColorToContentNodeConnection,"count":123,"databaseId":123,"description":"xyz789","enqueuedScripts":TermNodeToEnqueuedScriptConnection,"enqueuedStylesheets":TermNodeToEnqueuedStylesheetConnection,"id":"4","isContentNode":true,"isRestricted":false,"isTermNode":false,"link":"abc123","name":"xyz789","paColorId":123,"products":PaColorToProductConnection,"seo":TaxonomySEO,"slug":"xyz789","taxonomy":PaColorToTaxonomyConnectionEdge,"taxonomyName":"xyz789","termGroupId":123,"termTaxonomyId":987,"uri":"xyz789","variations":PaColorToProductVariationConnection}}}
©  2021-2023WPGraphQL WooCommerce.All rights reserved.