PATCH
/
api
/
v1
/
loyalty
/
{id}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Pass UUID or External ID

Query Parameters

includePassDesign
boolean

If true, includes the pass design in the response

includeLocations
boolean

If true, includes the locations in the response if any are present

includeBeacons
boolean

If true, includes the beacons in the response if any are present

Body

application/json
balance
integer

If integer is positive, balance is added. If negative, balance is subtracted. Cannot be used with overrideBalance key

message
string

Push Notification message to display. Only used if pass is active. Use alongside balance or overrideBalance keys

overrideBalance
integer

Override the balance and set it to this value. Cannot be used with balance key

Response

200 - application/json
data
object
meta
object

Was this page helpful?