v1

latestSwagger 2.02026-08-0613288149.8 KB
groups

update receiver. 🔐

Update any information of a receiver<br/> <strong>Please note that you can not change the email!</strong><br/> <br/> Carefully use the fields 'registered', 'activated' and 'deactivated':<br/> <br/> - provide 'registered' with current time if receiver is new.<br/> - provide 'activated' only for immedite activation (no DOI mail will work then).<br/> - provide 'deactivated' other than 0 and your receiver will definitely be inactive. 0 will eventually reactivate receivers!<br/> Just omit 'deactivated' unless you know, what you are doing!<br/> <br/> <strong>Example Post Data:</strong><br/> <code> {<br/>     "registered": "1118354400", // usually not needed to be set on update<br/>     "activated": "1118354400", // only use to immediately activate the receiver<br/>     "deactivated": "0", // omit field unless you know what you are doing!<br/>     "source": "Batcave Computer",<br/>     "attributes": {<br/>         "is_batman":"1"<br/>     },<br/>     "global_attributes": {<br/>         "firstname":"Bruce",<br/>         "lastname":"Wayne"<br/>     },<br/>     "tags": [ "hero", "rich", "smart" ],<br/>     "orders": [<br/>         {<br/>             "order_id": "xyz123412",<br/>             "product_id": "SN9876543",<br/>             "product": "Batman - The Movie (DVD)",<br/>             "price": 9.99,<br/>             "currency": "EUR",<br/>             "quantity": 1,<br/>             "mailing_id": "12345678"<br/>         },<br/>         {<br/>             "order_id": "xyz123411",<br/>             "product_id": "SN9876542",<br/>             "product": "Batman - The Soundtrack (CD)",<br/>             "price": 9.99,<br/>             "currency": "EUR",<br/>             "quantity": 1,<br/>             "mailing_id": "12345678"<br/>         }<br/>     ]<br/> }<br/> </code> <br/>

put/v3/groups/{group_id}/receivers/{id}

Path parameters

group_idstring required

ID of the group

idstring required

ID or email of receiver

Request body

postdataobject required

Receiver data to be updated

Response

Success

string required