Skip to content

Environments

Mirakl provides two environments: one for testing and one for production. The endpoints of each environment are below.

The base path is part of the URL

Every REST call to Mirakl Connect and to Mirakl Account is served under the base path /api/channel-platform. The base URLs in the tables below already include it. Call them as they are written, and append the path of the operation after them.

Test environment

Build and validate your connector against the test environment before you deploy to production. The partner team provisions your test account and its credentials, which keeps the test data separate from the production data. The test hosts mirror production on the *-test.mirakl.net domains listed in the TEST rows below.

Mirakl Connect

The Mirakl Connect host serves most integrator operations: orders, returns, carriers and order documents, catalog configuration and taxonomy, and store business information.

StageMirakl Connect base URL
TESThttps://connectpartner-test.mirakl.net/api/channel-platform
PRODhttps://miraklconnect.com/api/channel-platform

Mirakl Account

The Mirakl Account host serves the account data of the channels, the sellers, the users, and the stores.

StageMirakl Account base URL
TESThttps://account-test.mirakl.net/api/channel-platform
PRODhttps://account.mirakl.net/api/channel-platform

Mirakl Authentication System

The Mirakl Authentication System issues the OAuth2 access tokens that authenticate the REST calls. Your connector requests a token from this host with the client credentials Mirakl provides. For the full request flow, refer to Authorization.

StageToken endpoint
TESThttps://auth-test.mirakl.net/oauth/token
PRODhttps://auth.mirakl.net/oauth/token
  • Get access: the credentials and the identifiers the partner team provides for each environment.
  • Authorization: how to request a token from the endpoint above.
  • Calling the APIs: the base path, and how the calls split across the two hosts.