Skip to main content
POST
Create Loyalty Point Grant

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

Body

application/json
amount
integer
required

Points to grant

Required range: x >= 1
patientId
string | null
amountRemaining
integer | null

Points remaining, defaults to amount

Required range: x >= 0
comment
string | null
expiryDate
string<date-time> | null
memberId
string | null
creatorId
string | null
sourceType
enum<string>
default:MANUAL
Available options:
PURCHASE,
MEMBERSHIP_CYCLE,
PROMOTION,
MANUAL,
IMPORT
sourceChargeItemId
string | null

Response

Successful Response

grant
LoyaltyPointGrantSummary · object
required
state
LoyaltyPointState · object | null

Complete server state needed to update loyalty-point query caches.