# classifications (https://developer.godaddy.com/en/docs/references/rest/taxes/classification/queries/classifications)

***

title: classifications
description: "Get a collection of classifications."
full: true
----------

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

| Header       | Required | Description                                                                                                                     |
| ------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `x-store-id` | Yes      | ID of the store the operation targets. Omitting it returns HTTP 200 with a GraphQL error: `extensions.code: "UNAUTHENTICATED"`. |

Go to [Authentication](https://developer.godaddy.com/docs/api-users/auth) 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`

- `edges` `[QueryClassificationsConnectionEdge]` **nullable**
- `pageInfo` `PageInfo!` **non-null**
