Skip to main content

PATCH /preferences/:recipient_id

PATCHhttps://api.courier.com/preferences/:recipient_id
Apply a JSON Patch (RFC 6902) to the specified preferences or create one if a profile doesn't already exist.
PATH PARAMS
recipient_idstringrequired
A unique identifier representing the recipient associated with the requested profile.
BODY PARAM
patcharray
An array of patch operations. Learn more
Responses
AUTH TOKEN
curl --request PATCH \
--url https://api.courier.com/preferences/0460766e-8463-4905-ae98-b72c7aef41d6 \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '
{
"patch": []
}
'
Response Example
{
"status": "SUCCESS"
}