Register a device to receive push notifications
Path parameters
-
The device library identifier
-
The pass type identifier
-
The serial number of the pass
POST
/wallet/apple-web-service/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}/{serialNumber}
curl \
--request POST 'https://domain.tld/api/v2/wallet/apple-web-service/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}/{serialNumber}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"pushToken":"string"}'
Request examples
{
"pushToken": "string"
}
Response examples (401)
{
"message": "Unauthorized."
}