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

Return the first n elements from the list.

productTypes.last ● Int scalar

Return the last n elements from the list.

Type

ProductTypeCountableConnection object