Change marketing settings
Whether manitu may send news and offers by mail; the partner programme.
manitu_account_marketing_set on https://mcp.manitu.de/mcpAnnotations as tools/list sends them
Description for the model
Sets whether manitu may send news and offers by mail to the manitu customer account this connection works in (mailing_misc), and whether the account takes part in manitu's partner programme (affiliate_partner); send only what is to change. Notices about the account's own services and invoices are sent either way. Only when the customer asks for exactly this - it is his consent to advertising; say what will change and ask for an explicit yes first. Returns the settings as manitu_account_marketing_get shows them. Refused if this access may not change the account's base data.
Arguments
mailing_miscbooleantrue: manitu may send news and offers by mail; false: not.
affiliate_partnerbooleantrue: the account takes part in the partner programme and gets an id (an existing one stays); false: it leaves it, the id is gone.
Result structuredContent, checked against the schema
account_idintegerrequiredThe customer account - its id is also its customer number.
mailing_miscbooleanrequiredWhether manitu may send news and offers by mail. Notices about the account's own services and invoices are sent either way.
affiliate_partner_idstring | nullrequiredThe account's id in manitu's partner programme; null: not taking part.
Authentication
One of X-API-Key, Authorization: Bearer … - never more than one in a request. More
Request body JSON; unknown fields are refused
mailing_miscbooleantrue: manitu may send news and offers by mail; false: not.
affiliate_partnerbooleantrue: the account takes part in the partner programme and gets an id (an existing one stays); false: it leaves it, the id is gone.
Response in data; the rest of the body as on every call
account_idintegerrequiredThe customer account - its id is also its customer number.
mailing_miscbooleanrequiredWhether manitu may send news and offers by mail. Notices about the account's own services and invoices are sent either way.
affiliate_partner_idstring | nullrequiredThe account's id in manitu's partner programme; null: not taking part.
Statuses
200Success.400The request does not match the declared input schema.401No credential was presented, or it was not recognised.403The credential is not permitted to use this operation.500The server failed. Nothing about the request was wrong. Whether a change took effect is not known - check before trying it again.503The channel this operation forwards through is unavailable.