Skip to Content

ProductTaxonomyCategory

Describes a product taxonomy category.

Type Definition

type ProductTaxonomyCategory { googleProductCategory: String }

Fields

FieldTypeDescriptionNullableRelationship
googleProductCategoryStringReturns the Google product category.YesNone

Relationships

  • This type is used by the category field on the ProductTaxonomy object.
  • There are no direct relationships from ProductTaxonomyCategory to other object types.

Usage Examples

Basic Query

{ productTaxonomy { category { googleProductCategory } } }

Field Selection

{ productTaxonomy { category { googleProductCategory } } }

Nested Queries

{ productTaxonomy { category { googleProductCategory } } }

Filtering and Sorting

Filtering, sorting, and pagination are not applicable directly on ProductTaxonomyCategory as it contains only a single optional scalar field.

Implements

This type does not implement any interfaces.

Connections

There are no connection fields defined on ProductTaxonomyCategory.

  • ProductTaxonomy — contains the category field of type ProductTaxonomyCategory.

Best Practices

  • Use the googleProductCategory field to align your product categories with Google’s taxonomy for better integration with Google services.
  • Since this field is optional, always check for nullability in your client code to avoid runtime errors.
  • Use this type within the context of ProductTaxonomy queries to retrieve structured category information.

Notes

  • The googleProductCategory field is a simple string representing the category name or identifier as defined by Google.
  • This API currently requires no authentication, but this may change in future versions. Plan your integration accordingly.
  • As this type contains only one optional scalar field, performance impact is minimal.
  • No computed or derived fields exist on this type.
  • There are no arguments available on any fields of this type.
Last updated on