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

region accounts #21

Closed cdiacon closed 5 years ago

cdiacon commented 8 years ago

So API endpoint currently is http://api.dotmailer.com which works fine as this is in alias to http://r1-api.dotmailer.com but more regions coming soon. USA(r2) is already live which means that the http://api.dotmailer.com will not work for region 2.

Curent regions : http://r1-api.dotmailer.com (UK) http://r2-api.dotmailer.com (USA)

Which region to use for an api user can be retreive from getAccountInfo(the only api call that is valid for any endpoints)

screen shot 2016-04-06 at 14 54 26

cdiacon commented 7 years ago

@romanpitak do you have any feedback on this PR ;) ?