Support

jurisdictions

View as Markdown

Get a collection of jurisdictions.

query

Requires commerce.tax:read.

Get a collection of jurisdictions.

orderBy is one key only (id, createdAt, or updatedAt — no name). 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 JurisdictionIdFilter optional
    • in [ID!] optional
  • last Int optional
  • orderBy JurisdictionOrderBy optional
    • createdAt OrderByDirectionEnum optional
    • id OrderByDirectionEnum optional
    • updatedAt OrderByDirectionEnum optional

Possible returns

  • QueryJurisdictionsConnection QueryJurisdictionsConnection

Last updated on

How is this guide?