Change country in Exact API

164 views Asked by At

i am using Exact API with this code https://github.com/picqer/exact-php-client using de example.php file with my RedirectURL, ClientId and ClientSecret the problem is it always responds with "Client not found" error message.

This is the answer of support department of exact:

"Please change the .NL part to .ES. If you have registered an app in the Spanish app center, make sure your oauth calls are also aimed at Exact Online .ES."

My question is: how can i change this .NL part? i´ve search in all the code with no results.

1

There are 1 answers

0
Patrick Hofman On

Change the base URL, as documented:

$connection->setBaseUrl('https://start.exactonline.es');