cURL
curl --request PATCH \ --url https://api.ubpass.co/v1/wallet-pass/notifications/{id} \ --header 'Content-Type: application/json' \ --header 'api-key: <api-key>' \ --data '{ "passSerialNumber": "<string>", "notificationName": "<string>", "notificationMessage": "<string>", "status": "Draft", "scheduledTime": "2023-11-07T05:31:56Z" }'
{ "passSerialNumber": "<string>", "notificationName": "<string>", "notificationMessage": "<string>", "status": "Draft", "scheduledTime": "2023-11-07T05:31:56Z" }
Update push notification. Only Draft or Scheduled notifications can be updated.
Pass id
Update notification request body
The body is of type object.
object
Notification has been created successfully.
The response is of type object.