Register a Pass for Update Notifications
Set up change notifications for a pass on a device.
URL
POST https://yourpasshost.example.com/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}/{serialNumber}Path Parameters
| Name | Type | Description |
|---|---|---|
deviceLibraryIdentifier Required | string | A unique identifier you use to identify and authenticate the device. |
passTypeIdentifier Required | string | The pass type identifier of the pass to register for update notifications. This value corresponds to the value of the |
serialNumber Required | string | The serial number of the pass to register. This value corresponds to the |
Header Parameters
| Name | Type | Description |
|---|---|---|
Authorization Optional | string | The authentication for a pass. The value is the word |
Response Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | Serial Number Already Registered for Device | The serial number is already registered for the device. | |
| 201 | Registration Successful | The registration is successful. | |
| 401 | Request Not Authorized | The request isn’t authorized. |
HTTP Body
An object that contains the push notification token for the registered pass on the device.