Skip to main content
The Wonderment API is a separate API from the Loop Returns API. It uses a different host, authentication method, and version scheme. Do not mix Loop API keys or OAuth tokens with Wonderment API requests.

Base URL

All Wonderment API requests use this base URL:
The API version (2022-10) is part of the path. There is currently one version.

Authentication

Wonderment uses its own access tokens, separate from Loop API keys and OAuth. Send the token in the X-Wonderment-Access-Token header on every request:
Customer verification is required. See Search shipments for details on the t parameter.

Create an access token

  1. Log in to the Wonderment app.
  2. Navigate to Settings → Integrations → Access Tokens.
  3. Create a new token. The token is shown once, when you create it.
Keep your token secret. Call the Wonderment API from your server, not from a browser or mobile app. If a token appears anywhere in the URL, the API responds with 400 and asks you to rotate it.

Available endpoints

Next steps

Search shipments

Look up an order’s shipments by order name or tracking code.