classifications
View as MarkdownGet 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
| 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 for credential setup.
Arguments
afterStringoptionalbeforeStringoptionalfirstIntoptionalidClassificationIdFilteroptionalin[ID!]optional
lastIntoptionalorderByClassificationOrderByoptionalcreatedAtOrderByDirectionEnumoptionalidOrderByDirectionEnumoptionalnameOrderByDirectionEnumoptionalupdatedAtOrderByDirectionEnumoptional
Possible returns
QueryClassificationsConnectionQueryClassificationsConnection
Last updated on
How is this guide?