PATCH
/
wallet-pass
/
notifications
/
{id}
Update push notification
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"
}

Authorizations

api-key
string
header
required

Path Parameters

id
string
required

Pass id

Body

application/json

Update notification request body

The body is of type object.

Response

200
application/json

Notification has been created successfully.

The response is of type object.