Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Pass Template UUID
Body
application/json
Pass Template object
Supports partial updates.
Response may either be a 200 or 202 status code. Use the URL returned in the response to check the status of the pass template.
curl --request PATCH \
--url https://api.passentry.com/api/v1/pass-templates/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"passTemplate": {
"name": "PassEntry Coffee Shop",
"colors": {
"background": "#EEEEEE"
},
"images": {
"watermark": {
"color": "dark",
"position": "topLeft"
}
},
"appLinking": {
"apple": {
"appStoreUrl": []
}
},
"beacons": []
}
}'{
"data": {
"id": "19cb334f9696e64e10e7759f0",
"type": "passTemplate",
"attributes": {
"name": "PassEntry Supermarket",
"templateType": "generic",
"defaultLanguage": "en",
"centralTitle": "PassEntry Supermarket",
"notificationHeader": "PassEntry Supermarket",
"colors": {
"background": "#EFEFEF",
"label": "#FF8477",
"text": "#29323A"
},
"images": {
"banner": "https://example.com/banner.png",
"logo": "https://example.com/logo.png",
"icon": "https://example.com/icon.png",
"watermark": {
"color": "light",
"position": "topLeft"
}
},
"fields": {
"header": {
"one": {
"id": "membership_tier",
"label": "Membership Tier",
"defaultValue": "Gold"
}
},
"central": {
"one": {
"id": "membership_tier",
"label": "Membership Tier",
"defaultValue": "Gold"
}
},
"details": {
"one": {
"id": "membership_tier",
"label": "Membership Tier",
"defaultValue": "Gold"
}
},
"back": {
"one": {
"id": "membership_tier",
"label": "Membership Tier",
"defaultValue": "Gold"
}
}
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Pass Template UUID
Pass Template object
Show child attributes
Was this page helpful?
curl --request PATCH \
--url https://api.passentry.com/api/v1/pass-templates/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"passTemplate": {
"name": "PassEntry Coffee Shop",
"colors": {
"background": "#EEEEEE"
},
"images": {
"watermark": {
"color": "dark",
"position": "topLeft"
}
},
"appLinking": {
"apple": {
"appStoreUrl": []
}
},
"beacons": []
}
}'{
"data": {
"id": "19cb334f9696e64e10e7759f0",
"type": "passTemplate",
"attributes": {
"name": "PassEntry Supermarket",
"templateType": "generic",
"defaultLanguage": "en",
"centralTitle": "PassEntry Supermarket",
"notificationHeader": "PassEntry Supermarket",
"colors": {
"background": "#EFEFEF",
"label": "#FF8477",
"text": "#29323A"
},
"images": {
"banner": "https://example.com/banner.png",
"logo": "https://example.com/logo.png",
"icon": "https://example.com/icon.png",
"watermark": {
"color": "light",
"position": "topLeft"
}
},
"fields": {
"header": {
"one": {
"id": "membership_tier",
"label": "Membership Tier",
"defaultValue": "Gold"
}
},
"central": {
"one": {
"id": "membership_tier",
"label": "Membership Tier",
"defaultValue": "Gold"
}
},
"details": {
"one": {
"id": "membership_tier",
"label": "Membership Tier",
"defaultValue": "Gold"
}
},
"back": {
"one": {
"id": "membership_tier",
"label": "Membership Tier",
"defaultValue": "Gold"
}
}
}
}
}
}