Sandbox Environment and Authentication
Sandbox Environmentβ
The Sandbox environment helps the integrator test its features and ensure that it will operate without errors in the production environment (Real Environment, definitive), for this reason ANYMARKET provides the sandbox environment.
Tests carried out in this environment certify the application that all API rules are being applied.
ANYMARKET's sandbox environment has the same operations as the production environment, however, the information is different from the production environment. Sandbox and production environments are isolated and have no access to each other.
Authenticationβ
gumgaTokenβ
Our access token, the gumgaToken, is used as the request authenticator, and must be informed as a parameter in the request Header.
The access tokens are obtained/informed after contacting the API team, and they grant access to both environments, however each environment requires its own token.
Warning!β
It is not possible to access the production environment with the sandbox token and vice versa.
Once the Sandbox Token is obtained, the Application operates identically to the production environment. The main difference is that the Application must point to the Sandbox environment instead of Production.
Sandbox URL:
https://sandbox-api.anymarket.com.br/v2
Production URL:
https://api.anymarket.com.br/v2
Platformβ
Identifying the integration is also required, and must be informed as a parameter in the request Header.
This step is important so we can map which requests are coming from your Backoffice. The value must be sent as follows:
<Header: "platform" : "PLATFORM/ERP NAME">