+49 69 83008980 service@xqueue.com
Seite wählen
Benötigen Sie Hilfe?

Update Contact Preference

Sie sind hier:
This method updates a contact preference under a given contact preference category.


PUT https://api.maileon.com/1.0/contacts/preference_categories/:categoryName/preferences/:preferenceName

Content-Type: application/vnd.maileon.api+xml; charset=utf-8

Path Parameter

Name Description
categoryName The name of the contact preference category.
preferenceName The name of the preference to update


The root element must be named preference

Name Description
name The name of the contact preference. Must not exceed 255 characters.
description The description. Must noch exceed 255 characters.


PUT https://api.maileon.com/1.0/contacts/preference_categories/Development/preferences
Authorization: Basic: XXXXXXXXXXXXXXXX 
Content-Type: application/vnd.maileon.api+xml; charset=utf-8
    <description>News about Shopware development</description>

Status: 200 OK

Response Codes

HTTP status code Description
200 OK Preference updated successfully
400 Bad Request If there was an error in the submitted body.
404 Not Found If the contact preference category or the preference with the given name were not found.