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

# View Party

> Retrieves full party detail, including bills (when `includeBills` is true), wallet and outstanding balances, competencies, and Billing Accounts/Subscriptions.



## OpenAPI

````yaml POST /billspree/users/get-users
openapi: 3.1.0
info:
  title: Billspree API
  description: REST API for Billspree — billing, AR management, and workspace operations.
  version: 1.0.0
servers:
  - url: https://{workspace}.spreesuite.com
    variables:
      workspace:
        default: your-workspace
        description: Your organization's subdomain (e.g. demo → demo.spreesuite.com)
security:
  - apiKeyAuth: []
paths:
  /billspree/users/get-users:
    post:
      tags:
        - Parties
      summary: View Party
      description: >-
        Retrieves full party detail, including bills (when `includeBills` is
        true), wallet and outstanding balances, competencies, and Billing
        Accounts/Subscriptions.
      operationId: getParty
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetPartyRequest'
            example:
              partyNumber: 789
              includeBills: true
              page:
                size: 50
                pageNumber: 0
              method: Retrieve
              action: Retrieve Parties
              apiVersion: v2
      responses:
        '200':
          description: Party detail retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPartyResponse'
              example:
                success: true
                statusCode: 200
                message: Request Succeeded.
                error: null
                data:
                  user:
                    partyID: 789
                    partyNumber: 789
                    name: Jane Doe
                    walletAccount:
                      balance: 0
                    outstandingAccount:
                      balance: 0
                    userAccount:
                      status: ACTIVE
                    subscriptionGroups: []
                    subscriptions: []
components:
  schemas:
    GetPartyRequest:
      type: object
      required:
        - partyNumber
        - method
        - action
        - apiVersion
      properties:
        partyNumber:
          type: integer
        includeBills:
          type: boolean
        page:
          type: object
          properties:
            size:
              type: integer
            pageNumber:
              type: integer
        method:
          type: string
          example: Retrieve
        action:
          type: string
          example: Retrieve Parties
        apiVersion:
          type: string
          example: v2
    GetPartyResponse:
      type: object
      properties:
        success:
          type: boolean
        data:
          type: object
          properties:
            user:
              $ref: '#/components/schemas/PartyDetail'
        message:
          type: string
        statusCode:
          type: integer
        error:
          nullable: true
    PartyDetail:
      type: object
      description: >-
        Includes the same party fields as Update Party's request, plus the
        following.
      properties:
        bills:
          type: object
          description: Populated when includeBills is true.
          properties:
            bills:
              type: array
              items:
                type: object
        walletAccount:
          type: object
          properties:
            balance:
              type: number
        outstandingAccount:
          type: object
          properties:
            balance:
              type: number
        userAccount:
          type: object
          properties:
            status:
              type: string
              example: ACTIVE
        competency:
          type: array
          items:
            type: object
        dataSecurityAttributes:
          type: array
          items:
            type: object
        subscriptionGroups:
          type: array
          description: The Billing Accounts under this party.
          items:
            type: object
        subscriptions:
          type: array
          description: >-
            All Subscriptions for this party, filtered client-side per billing
            account.
          items:
            type: object
      additionalProperties: true
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Auth token returned from the login endpoint. Send as: `Authorization:
        <token>` (no Bearer prefix)

````