Skip to Content

Manufacturer

Describes a manufacturer.

Type Definition

type Manufacturer { seoDescription: String seoTitle: String seoKeywords: String id: Int title: String allProductsCount: Int products: ProductConnection image: String filters: [Filter] }

Fields

FieldTypeNullableDescriptionRelated Type
seoDescriptionStringYesReturns description for search engines.
seoTitleStringYesReturns title for search engines.
seoKeywordsStringYesReturns keywords for search engines.
idIntYesReturns the id.
titleStringYesReturns the title.
allProductsCountIntYesReturns the total amount of products for this manufacturer.
productsProductConnectionYesConnection to the products associated with this manufacturer.ProductConnection
imageStringYesReturns the image URL of the manufacturer.
filters[Filter]YesReturns the available filters for this manufacturer, or null if none are set.[Filter]

Relationships

  • products: This field connects the Manufacturer to a paginated list of products (ProductConnection) that belong to this manufacturer.
  • filters: Provides a list of available filters (Filter objects) that can be applied when querying products related to this manufacturer.

Usage Examples

Basic Query

{ manufacturer(id: 12345) { id title seoTitle seoDescription seoKeywords allProductsCount image } }

Field Selection

{ manufacturer(id: 12345) { title allProductsCount image } }

Nested Queries

{ manufacturer(id: 12345) { title products(first: 5) { edges { node { id title price } } pageInfo { hasNextPage endCursor } } filters { id name values } } }

Filtering and Sorting

{ manufacturer(id: 12345) { products(first: 10, filter: {priceRange: {min: 50, max: 200}}, sort: {field: PRICE, direction: ASC}) { edges { node { id title price } } } } }

Implements

This type does not implement any interfaces.

Connections

  • products is a connection field returning a ProductConnection type, which supports pagination through arguments such as first, last, before, and after.
  • ProductConnection: Represents a paginated list of products associated with the manufacturer.
  • Filter: Represents filtering options available for the manufacturer’s products.

Best Practices

  • Use the products connection with pagination arguments (first, after) to efficiently load products in batches and avoid large payloads.
  • Utilize the filters field to dynamically build UI filter options for product listings related to the manufacturer.
  • Leverage SEO fields (seoTitle, seoDescription, seoKeywords) to enhance search engine visibility when rendering manufacturer pages.
  • When querying nested product data, always check pageInfo.hasNextPage to implement infinite scrolling or pagination controls.

Notes

  • All fields are optional and may return null if the data is not available.
  • The image field returns a URL string pointing to the manufacturer’s image.
  • Filtering and sorting on the products connection depend on the capabilities of the underlying ProductConnection type.
  • The API currently requires no authentication, but this may change in future versions. Plan your integration accordingly.
  • Avoid requesting large numbers of products in a single query to maintain performance and reduce server load.
  • The allProductsCount field provides a quick way to display the total number of products without fetching the entire product list.
Last updated on