Skip to main content
Version: 3.x

attributes

List of the shop's attributes.

attributes(
filter: AttributeFilterInput
where: AttributeWhereInput
search: String
sortBy: AttributeSortingInput
channel: String
before: String
after: String
first: Int
last: Int
): AttributeCountableConnection

Arguments

attributes.filter ● AttributeFilterInput input

Filtering options for attributes.

attributes.where ● AttributeWhereInput input

Filtering options for attributes.

Added in Saleor 3.11

attributes.search ● String scalar

Search attributes.

Added in Saleor 3.11
This API is currently in Feature Preview and can be subject to changes at later point.

attributes.sortBy ● AttributeSortingInput input

Sorting options for attributes.

attributes.channel ● String scalar

Slug of a channel for which the data should be returned.

attributes.before ● String scalar

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

attributes.after ● String scalar

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

attributes.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.

attributes.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

AttributeCountableConnection object


Was this page helpful?