> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kintra.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a tier member count

> Returns `member_count`, how many customers currently qualify for this tier as the highest tier they reach. Read it before deleting a tier to see how many customers would move. Returns 404 when no tier with that id belongs to your tenant.



## OpenAPI

````yaml /openapi/kintra-app.json get /tenant/{tenantId}/tiers/{tierId}/member-count
openapi: 3.0.0
info:
  description: >-
    Tenant portal API for the Kintra loyalty platform. Requests are
    authenticated with an Auth0 bearer token and address a tenant by id in the
    path.
  title: Kintra Portal API
  version: 1.0.0
servers:
  - description: Production environment
    url: https://api.kintra.io/api/v1
security: []
paths:
  /tenant/{tenantId}/tiers/{tierId}/member-count:
    get:
      tags:
        - Tiers
      summary: Get a tier member count
      description: >-
        Returns `member_count`, how many customers currently qualify for this
        tier as the highest tier they reach. Read it before deleting a tier to
        see how many customers would move. Returns 404 when no tier with that id
        belongs to your tenant.
      operationId: GetTierMemberCount
      parameters:
        - in: path
          name: tenantId
          required: true
          schema:
            type: string
        - in: path
          name: tierId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_ITierMemberCountDto_'
          description: ''
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Tier rule not found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Internal server error
      security:
        - auth0_jwt: []
components:
  schemas:
    ApiResponse_ITierMemberCountDto_:
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/ITierMemberCountDto'
        errors:
          items:
            properties:
              message:
                type: string
              path:
                type: string
            required:
              - path
              - message
            type: object
          type: array
        message:
          type: string
        success:
          type: boolean
      required:
        - success
      type: object
    ApiResponse_null_:
      additionalProperties: false
      properties:
        data:
          enum:
            - null
          nullable: true
          type: number
        errors:
          items:
            properties:
              message:
                type: string
              path:
                type: string
            required:
              - path
              - message
            type: object
          type: array
        message:
          type: string
        success:
          type: boolean
      required:
        - success
      type: object
    ITierMemberCountDto:
      additionalProperties: false
      description: >-
        Tier-delete impact: members whose current (highest-qualifying) tier is
        this one — i.e. the

        members re-tiered if this tier is deleted. Computed lazily for the
        delete-confirm warning.
      properties:
        member_count:
          format: double
          type: number
      required:
        - member_count
      type: object
  securitySchemes:
    auth0_jwt:
      bearerFormat: JWT
      description: Auth0 access token
      scheme: bearer
      type: http

````