+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 Category

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

Request

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

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

Path Parameter

Name Description
categoryName The name of the contact preference category.

Payload

The root element must be named preference_category

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

Example

PUT https://api.maileon.com/1.0/contacts/preference_categories/Developers
Authorization: Basic: XXXXXXXXXXXXXXXX 
Content-Type: application/vnd.maileon.api+xml; charset=utf-8
<preference_category>
    <name>Developers</name>
    <description>Contains preferences for development news</description>
</preference_category>


Status: 200 OK

Response Codes

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