Skip to main content
Version: 3.x

productTypes

List of the shop's product types.

productTypes(
filter: ProductTypeFilterInput
sortBy: ProductTypeSortingInput
before: String
after: String
first: Int
last: Int
): ProductTypeCountableConnection

Arguments

productTypes.filter ● ProductTypeFilterInput input

Filtering options for product types.

productTypes.sortBy ● ProductTypeSortingInput input

Sort product types.

productTypes.before ● String scalar

Return the elements in the list that come before the specified cursor.

productTypes.after ● String scalar

Return the elements in the list that come after the specified cursor.

productTypes.first ● Int scalar

Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

productTypes.last ● Int scalar

Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

Type

ProductTypeCountableConnection object


Was this page helpful?