Skip to main content
Using TypeScript? Check out our GraphQL SDK for a fully typed client.
For all of these queries you need the following permission:
  • tier:read

Get tiers

This endpoint supports Pagination.
Query
query tiers($first: Int, $after: String, $last: Int, $before: String) {
  tiers(first: $first, after: $after, last: $last, before: $before) {
    edges {
      cursor
      node {
        id
        externalId
        name
        defaultPriority
      }
    }
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
  }
}
Variables
{
  "first": 25
}

Get tier by ID

If you know the tiers’s ID in Plain you can use this method to fetch the tier.
Query
query tier($tierId: ID!) {
  tier(tierId: $tierId) {
    id
    externalId
    name
    defaultPriority
  }
}
Variables
{
  "tierId": "tier_123"
}