Skip to main content
GET
/
inventory
/
packages
/
sold
/
{patient_id}
List Patient Packages
curl --request GET \
  --url https://api.decodahealth.com/inventory/packages/sold/{patient_id} \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "packageId": "<string>",
    "patientId": "<string>",
    "chargeItemId": "<string>",
    "createdDate": "2023-11-07T05:31:56Z",
    "items": [
      {
        "price": 123,
        "quantity": 123,
        "quantityRemaining": 123,
        "item": {
          "name": "<string>",
          "price": 123,
          "id": "<string>",
          "brandName": "<string>",
          "description": "<string>",
          "category": "<string>",
          "unit": "AMPOULES",
          "isPhysical": true,
          "isArchived": false,
          "internalNotes": "<string>",
          "taxable": false,
          "sortOrder": 123,
          "allowCustomPricing": false,
          "type": "PRODUCT"
        }
      }
    ]
  }
]

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

patient_id
string
required

Response

Successful Response

id
string
required
name
string
required
packageId
string
required
patientId
string
required
chargeItemId
string
required
createdDate
string<date-time>
required
items
PackageItemUsage · object[]
required