---
title: "Get Member"
method: GET
path: "/inventory/members/{member_id}"
tags: ["provider", "inventory"]
---

# Get Member

`GET /inventory/members/{member_id}`

## Request

- Base URL: `https://docs.decodahealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.decodahealth.com/inventory/members/{member_id}`
- Auth: none declared. Required headers: `TENANT`, `API-KEY`
- TypeScript: <https://skmtc.dev/decodahealth/apis/decoda-api/docs/inventory/members/:member_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a member's details.

## Path parameters

- `member_id` string, required

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Response `200`

Successful Response

- MemberDetail
  - `id` string, required: Unique identifier for the member
  - `patientId` string, required: ID of the patient
  - `membershipId` string, required: ID of the membership
  - `membership` MembershipDetail, required
    - `id` string: Unique identifier for the membership
    - `externalId` string, nullable: External system identifier for the membership
    - `name` string, required: Name of the membership
    - `description` string, nullable: Optional description of the membership
    - `price` integer, required: Price of the membership in cents
    - `globalDiscountPercentage` number, nullable: Global discount percentage for all items
    - `patientCreditAmount` integer: Amount of patient credit in cents
    - `patientCreditFrequency` 'DAILY' | 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'QUARTERLY' | 'SEMI_ANNUALLY' | 'YEARLY'
    - `patientCreditExpiryDays` integer, nullable: Days until patient credit expires
    - `maxRenewals` integer, nullable: Maximum number of renewals (null means unlimited)
    - `autoRenew` boolean: Whether the membership auto-renews
    - `setupFee` integer: Setup fee for the membership in cents
    - `freezeFee` integer: Fee to freeze the membership in cents
    - `minimumBillingCycles` integer: Minimum number of billing cycles required
    - `billingFrequency` 'DAILY' | 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'QUARTERLY' | 'SEMI_ANNUALLY' | 'YEARLY'
    - `textColor` string, nullable: Text color for the membership
    - `isArchived` boolean: Whether the membership is archived
    - `ruleSetId` string, nullable: ID of the rule set for the membership
    - `discounts` MembershipDiscount[], nullable: Optional discounts for the membership
      - `id` string: Unique identifier for the membership discount
      - `membershipId` string, required: ID of the membership this discount belongs to
      - `itemId` string, nullable: ID of the specific item for this discount (includes packages)
      - `itemCategory` string, nullable: Category name for items in this discount (references category.name)
      - `isPhysical` boolean, nullable: Whether this discount applies to physical items (True), services (False), or neither (None)
      - `discountPercentage` number, nullable: Discount percentage
      - `discountAmount` integer, nullable: Discount amount in cents
      - `creditAmount` integer, nullable: Credit amount in cents
      - `quantity` integer, nullable: Quantity for this discount
      - `rollover` boolean: Whether to rollover unused quantities
      - `rolloverExpiryDays` integer, nullable: Days until rollover items expire
      - `neverExpire` boolean: Whether rollover items never expire
      - `group` string, nullable: Group for this discount
      - `isArchived` boolean: Whether the discount is archived
    - `memberCount` integer, nullable: Number of active members
    - `totalRevenue` integer, nullable: Total revenue from this membership
  - `soldByProviderId` string, nullable: ID of the provider who sold this membership
  - `startDate` string, date-time, required: When the patient joined the membership
  - `endDate` string, date-time, nullable: When the membership ended (if applicable)
  - `nextBillingDate` string, date-time, nullable: Next scheduled billing date (if custom)
  - `unfreezeDate` string, date-time, nullable: When the membership should be automatically unfrozen
  - `status` 'ACTIVE' | 'EXPIRED' | 'CANCELLED' | 'DELINQUENT' | 'FROZEN', required
  - `autoRenew` boolean, required: Whether the membership auto-renews
  - `billingFrequency` 'DAILY' | 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'QUARTERLY' | 'SEMI_ANNUALLY' | 'YEARLY', required
  - `patient` PatientSummary, required
    - `id` string, required: The unique identifier for the user.
    - `firstName` string, nullable: The user's first name.
    - `lastName` string, nullable: The user's last name.
    - `phoneNumber` string, nullable: The user's phone number.
    - `email` string, nullable: The user's email address.
    - `type` 'PROVIDER' | 'PATIENT' | 'ASSISTANT', required
    - `locationId` string, nullable: The location of the user.
    - `externalId` string, nullable: The user's external identifier if available.
    - `address` string, nullable: The user's primary address.
    - `addressLineTwo` string, nullable: Additional address information.
    - `city` string, nullable: The city of the user's address.
    - `state` string, nullable: The state of the user's address.
    - `zipCode` string, nullable: The postal code of the user's address.
    - `country` string, nullable: The country of the user's address.
    - `createdDate` string, date-time, required: The date and time when the user was created.
    - `addressValid` boolean, nullable: Whether the user's address is valid.
    - `meta` object, nullable: Any additional metadata about the user relevant to your system.
    - `isArchived` boolean, nullable: Whether the user is archived.
    - `primaryLocationId` string, nullable: The primary location of the user.
    - `gender` string, nullable: The gender of the patient.
    - `dateOfBirth` string, date, nullable: The date of birth of the patient.
    - `patientMedications` string[], nullable: List of patient's self-reported medications.
    - `onSchedulingBlacklist` boolean, nullable: Whether the patient is on the scheduling blacklist.
    - `surchargeDisabled` boolean, nullable: Whether surcharges are disabled for this patient.
    - `tags` PatientTagSummary[], nullable: List of patient tags
      - `id` string, required: Unique identifier for the patient tag
      - `name` string, required: Name of the patient tag
      - `emoji` string, nullable: Emoji associated with the tag
      - `color` string, nullable: Color code for the tag (hex format)
      - `isActive` boolean, required: Whether the tag is active
      - `createdDate` string, date-time, required: Date and time when the tag was created
      - `updatedDate` string, date-time, nullable: Date and time when the tag was last updated
    - `creditBalance` integer, nullable: Patient's credit balance in cents.
    - `preferredProviderId` string, nullable: The preferred provider ID for this patient.
  - `charges` ChargeTiny[], required: Charges for this member
    - `id` string, required: Unique identifier for the charge.
    - `patientId` string, required: Identifier of the patient being charged.
  - `soldByProvider` ProviderCreator
    - `id` string, required
    - `firstName` string, required
    - `lastName` string, nullable
  - `createdDate` string, date-time, nullable: When the member record was created
  - `updatedDate` string, date-time, nullable: When the member record was last updated
  - `paymentMethod` PaymentMethodSummary
    - `id` string, required
    - `patientId` string, nullable, required
    - `rainforestPaymentMethodId` string, required
    - `brand` string, nullable, required
    - `last4` string, nullable, required
    - `expMonth` integer, nullable, required
    - `expYear` integer, nullable, required
    - `accountHolderType` string, nullable, required
    - `accountNumberLast4` integer, nullable, required
    - `bankName` string, nullable, required
    - `routingNumber` integer, nullable, required
    - `description` string, nullable, required
    - `type` 'CARD' | 'ACH' | 'APPLE_PAY', required
    - `isDefault` boolean
    - `isArchived` boolean
  - `logs` MemberLogTiny[]: Activity logs for this member
    - `id` string, required: Unique identifier for the log
    - `logType` 'STATUS_CHANGE' | 'MANUAL_PAYMENT' | 'RENEWED' | 'PAYMENT_METHOD_CHANGE' | 'DISCOUNT_USED' | 'DISCOUNT_RESTORED' | 'DISCOUNT_MODIFIED' | 'ENROLLED' | 'BILLING_DATE_CHANGE', required
    - `createdDate` string, date-time, required: When the log was created

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) - [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/decodahealth/apis/decoda-api/revisions/4ab18c80f9e9?raw)
