Get sandbox credentials
Get sandbox credentials as a seller or an approved Solution Provider.
- Sellers are businesses that list and sell products on Walmart's platform.
- Approved Solution Providers are third-party companies that provide specialized services to help run a seller's eCommerce business.
Get sandbox credentials as a seller
As a seller, to get sandbox credentials:
- Log into the Walmart Developer Portal with your Seller Center credentials.
- Select API Keys.
- Select the Sandbox Keys tab.
- Complete the prompts to create your sandbox client ID and client secret.
- Call the Token API with a Base64 (utf-8, Unix newline separators) encoding of your client ID and client secret to generate an access token.
Step result: You can now use your access token to start testing your API integrations in the sandbox.
Get sandbox credentials as an approved Solution Provider
Existing Solution Providers will be invited to the Solution Provider Center to migrate to OAuth 2.0. Delegated access has been deprecated.
Approved Solution Providers can access the Walmart Marketplace API sandbox using OAuth 2.0. As an approved Solution Provider, complete the following steps to get sandbox credentials.
Step 1: Initiate connection
Clicking the Connect button on the App Store tile initiates the simulated seller connection workflow. This step redirects the seller to the approved Solution Provider's app login URL, appending the necessary callback and client type information in a new browser tab.
https://[App Log-in URL]?walmartCallbackUri=[https://login.sandbox.account.wal-mart.com/authorize&clientType=seller](https://login.sandbox.account.wal-mart.com/authorize&clientType=sellerStep 2: Redirect to Walmart authorization
After the login, the approved Solution Provider's service redirects back to the Walmart Authorization Server. This request includes the clientId, callback URL, and a secure nonce. The consent page is displayed at this stage.
https://[Walmart Authorization Server]?responseType=code\&clientId=\[clientId]\&redirectUri=\[callbackURL]\&nonce=AVE1DCZ5FG\&state=A0YFFJJQMD\&clientType=sellerStep 3: Authorization code transfer
Once the seller authorizes the app, Walmart redirects back to the Solution Provider’s callbackURL. This URI contains the authorization code and sellerId, which are used to generate access tokens.
[https://example-client-app.com/resource/applanding?code=4B582420568D428A931E4D6750...r&type=auth&clientId=66874dfd-1d5g-476v-8k2c-e22g46c6727k&sellerId=456782346&state=A0YFFJJQMD](https://example-client-app.com/resource/applanding?code=4B582420568D428A931E4D6750...r&type=auth&clientId=66874dfd-1d5g-476v-8k2c-e22g46c6727k&sellerId=456782346&state=A0YFFJJQMD)Step 4: Generate access token
Call the Token API with a Base64 (UTF-8, Unix newline separators) encoding of your client ID and client secret to generate an access token.
Next steps
Start testing your Marketplace APIs in the sandbox environment using your access token. Refer to the Walmart Marketplace API reference for available endpoints and sample requests.
Updated 7 days ago
