Skip to main content

PUT /lists/:list_id/subscriptions/:recipient_id

URL: https://api.courier.com/lists/:list_id/subscriptions/:recipient_id

Method: PUT

Path Parameters

list_idstringrequired
A unique identifier associated with the list you wish to retrieve.
recipient_idstringrequired
A unique identifier representing the recipient associated with the list

Body Parameters

notificationsrecord
json object that contains notification ids with the respective preferences
categoriesrecord
json object that contains category ids with the respective preferences

Response

status: 204 Successfully created

Request Example

curl --request PUT \
--url https://api.courier.com/lists/example.list.id/subscriptions/0460766e-8463-4905-ae98-b72c7aef41d6 \
--header 'Accept: application/json'

Responses Example

Empty
Was this helpful?