romanpitak / dotMailer-API-v2-PHP-client

PHP client library for the dotMailer v2 (REST) API with MULTIPLE ACCOUNTS SUPPORT!
MIT License
21 stars 31 forks source link

Added the missed "update transactional data" method from the API #12

Closed willitscale closed 9 years ago

willitscale commented 9 years ago

There are two POST methods for contacts transactional-data for the DotMailer V2 API: https://api.dotmailer.com/v2/contacts/transactional-data/{collectionName} - Adds a single piece of transactional data to a contact. https://api.dotmailer.com/v2/contacts/transactional-data/{collectionName}/{key} - Replaces a piece of transactional data by key (logicall equivalent to a delete and an insert).

I've added to the update POST to the resources.