Update a notification
How to update an existing notification via API
Request
Arguments
Body Parameter
Type
Required
Example
curl -g -X PATCH \
'https://yourdomain.commercelayer.io/api/notifications/XAyRWNUzyN' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer your-access-token' \
-H 'Content-Type: application/vnd.api+json' \
-d '{
"data": {
"type": "notifications",
"id": "xYZkjABcde",
"attributes": {
"reference": "ANY-EXTERNAL-REFEFERNCE"
},
"relationships": {
"notifiable": {
"data": {
"type": "notifiables",
"id": "ABCRtyUpBa"
}
}
}
}
}'Last updated