+49 69 83008980 service@xqueue.com
Benötigen Sie Hilfe?

Im Maileon Help-Center finden Sie umfassende Dokumentationen zu unserem System.

Beliebte Suchanfragen: Importe | Rest-API | Integrationen | SMS

Update Contact Preference

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

Request

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

Payload

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.

Example

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
<preference>
    <name>Shopware</name>
    <description>News about Shopware development</description>
</preference>


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.
Inhaltsverzeichnis