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

Update Contact Preference

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

NameDescription
categoryNameThe name of the contact preference category.
preferenceNameThe name of the preference to update

Payload

The root element must be named preference

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

 

Inhaltsverzeichnis

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

Maileon ist ein Produkt der XQueue GmbH