Skip to main content

productTypes

List all product types with optional filtering and sorting

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

Arguments​

productTypes.filter ● ProductTypeFilterInput input​

productTypes.sortBy ● ProductTypeSortingInput input​

productTypes.before ● String scalar​

Returns the items in the list that come before the specified cursor.

productTypes.after ● String scalar​

Returns the items in the list that come after the specified cursor.

productTypes.first ● Int scalar​

Returns the first n items from the list.

productTypes.last ● Int scalar​

Returns the items in the list that come after the specified cursor.

Type​

ProductTypeCountableConnection object​

A connection to a list of items.

Was this page helpful?