Passes
Update pass
PATCH
/
api
/
v1
/
passes
/
{id}
curl --request PATCH \
--url https://api.passentry.com/api/v1/passes/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"pass": {
"nfc": {
"enabled": false
},
"fullName": "Jane Roberts"
},
"message": "Your pass details have been updated. Click to show pass",
"locations": [
{
"name": "Venue",
"latitude": 51.54321132456805,
"longitude": -0.022901231803803924,
"radius": 100,
"message": "Welcome to the venue"
}
]
}'
{
"data": {
"id": "d2ac8d95-6914-4cac-957c-2a5ccf534390",
"type": "pass",
"attributes": {
"downloadUrl": "https://www.example.com?pass=d2ac8d95-6914-4cac-957c-2a5ccf534390",
"passType": "generic",
"createdAt": "2022-01-01T00:00:00Z",
"status": "issued",
"extId": "b1985e420025dd92ccf2",
"passTemplateUuid": "2e2d7ee8c306e8f0223dbdc1",
"passTemplateName": "PassEntry Ticketing",
"nfc": null,
"barcode": {},
"latestMessage": "Your pass details have been updated. Click to show pass",
"passContent": {
"fullName": "Jane Roberts",
"nfc": {
"enabled": false
}
}
}
},
"meta": {
"notifications": {
"status": "notDelivered",
"message": "Pass has not been added to the wallet"
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Pass UUID or External ID
Query Parameters
If true, includes the pass design in the response
If true, includes the locations in the response if any are present
If true, includes the beacons in the response if any are present
Body
application/json
Response
200
application/json
Successful
The response is of type object
.
Was this page helpful?
curl --request PATCH \
--url https://api.passentry.com/api/v1/passes/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"pass": {
"nfc": {
"enabled": false
},
"fullName": "Jane Roberts"
},
"message": "Your pass details have been updated. Click to show pass",
"locations": [
{
"name": "Venue",
"latitude": 51.54321132456805,
"longitude": -0.022901231803803924,
"radius": 100,
"message": "Welcome to the venue"
}
]
}'
{
"data": {
"id": "d2ac8d95-6914-4cac-957c-2a5ccf534390",
"type": "pass",
"attributes": {
"downloadUrl": "https://www.example.com?pass=d2ac8d95-6914-4cac-957c-2a5ccf534390",
"passType": "generic",
"createdAt": "2022-01-01T00:00:00Z",
"status": "issued",
"extId": "b1985e420025dd92ccf2",
"passTemplateUuid": "2e2d7ee8c306e8f0223dbdc1",
"passTemplateName": "PassEntry Ticketing",
"nfc": null,
"barcode": {},
"latestMessage": "Your pass details have been updated. Click to show pass",
"passContent": {
"fullName": "Jane Roberts",
"nfc": {
"enabled": false
}
}
}
},
"meta": {
"notifications": {
"status": "notDelivered",
"message": "Pass has not been added to the wallet"
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.