Skip to main content

Patient Data

Access patient-specific data such as intent status and custom properties. These endpoints use the shop customer ID and shop identifier to identify patients.

Check Patient Intent

Query whether a patient has completed a specific intent (e.g., a questionnaire submission).
string
required
The customer ID from your shop system
string
required
Your shop identifier (e.g., my-store.myshopify.com)
string
required
The intent identifier to check

Example Request

Response

The return_code indicates when the patient last completed a signed submission for the given intent.
This endpoint returns 404 if the patient is not known to RxScale. If the patient was just created (e.g., during a Shopify checkout), their profile may not be available immediately. Wait 1–2 seconds and retry before treating a 404 as a definitive “patient not found”.

Get Patient Property

Retrieve a specific property value for a patient.
string
required
The customer ID from your shop system
string
required
Your shop identifier
string
required
The property field name to retrieve. You can find the field key in the admin tool under Settings > Profile Fields — use the key value shown for each field.

Example Request

Set Patient Property

Set or update a property value for a patient.
string
required
The customer ID from your shop system
string
required
Your shop identifier

Request Body (form-data)

Example Request

Patient properties are custom fields defined per organisation. You can configure available property fields in the Settings > Profile Fields section of the admin tool.