Support

attributeValues

View as Markdown

Query `attributeValues` on the catalog subgraph (Attribute).

query

Requires commerce.product:read.

Query attributeValues on the catalog subgraph (Attribute).

Required headers

HeaderRequiredDescription
x-store-idYesID of the store the operation targets. Omitting it returns HTTP 200 with a GraphQL error: extensions.code: "UNAUTHENTICATED".

Go to Authentication for credential setup.

Arguments

  • after String optional
  • attributeId AttributeIdFilter optional
    • eq String optional
    • in [String!] optional
  • before String optional
  • createdAt CreatedAtFilter optional
    • gt String optional
    • lt String optional
  • first Int optional
  • id AttributeValueIdsFilter optional
    • in [String!] optional
  • last Int optional
  • name NameFilter optional
    • contains String optional — Filters items where the name contains the specified string, case-insensitive.
    • eq String optional
    • in [String!] optional — Filters items where the name matches any of the specified names.
  • orderBy AttributeValueOrderBy optional
    • attributeId OrderByDirectionEnum optional
    • createdAt OrderByDirectionEnum optional
    • id OrderByDirectionEnum optional
    • name OrderByDirectionEnum optional
    • position OrderByDirectionEnum optional
    • updatedAt OrderByDirectionEnum optional
  • paginationType PaginationType optional Default: "CURSOR".
  • skuId SKUIdFilter optional
    • eq String optional
    • in [String!] optional
  • updatedAt UpdatedAtFilter optional
    • gt String optional
    • lt String optional

Possible returns

  • QueryAttributeValuesConnection QueryAttributeValuesConnection

Last updated on

How is this guide?