Support

classifications

View as Markdown

Get a collection of classifications.

query

Requires commerce.tax:read.

Get a collection of classifications.

orderBy is one key only (id, name, createdAt, or updatedAt). Direction must be ASC or DESC. Sending two keys, or "desc", fails validation.

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
  • before String optional
  • first Int optional
  • id ClassificationIdFilter optional
    • in [ID!] optional
  • last Int optional
  • orderBy ClassificationOrderBy optional
    • createdAt OrderByDirectionEnum optional
    • id OrderByDirectionEnum optional
    • name OrderByDirectionEnum optional
    • updatedAt OrderByDirectionEnum optional

Possible returns

  • QueryClassificationsConnection QueryClassificationsConnection

Last updated on

How is this guide?