api

Get a list of all prescriptions currently subscribed to auto-refill for a given patient

get/api/v1/auto-refill/patient/{patient_token}

Request

Path parameters

patient_tokenstring required

Response

ok

codenumber
errboolean

Example response

{
  "code": 200,
  "data": {
    "timestamp": "2021-05-20T00:00:00.000Z",
    "status": "successful",
    "details": {
      "auto_refill_subscriptions": [
        {
          "id": 1,
          "prescription_token": "token",
          "status": "active"
        }
      ],
      "nextPageToken": "nextPageTokenString",
      "total": 1
    }
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.