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

Update Contact Preference Category

Sie sind hier:
< Alle Themen
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

NameDescription
categoryNameThe name of the contact preference category.

Payload

The root element must be named preference_category

NameDescription
nameThe name of the contact preference category. Must not exceed 255 characters.
descriptionThe 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 codeDescription
200 OKCategory updated successfully
400 Bad RequestIf there was an error in the submitted body.
404 Not FoundIf the contact preference category with the given name was not found.

 

Inhaltsverzeichnis

Bleiben Sie Up-to-Date und profitieren Sie von spannenden News und Aktionen.

Maileon ist ein Produkt der XQueue GmbH