{ "opencollection": "1.0.0", "info": { "name": "Walmart Cost Management Assortment Recommendations Authorization API", "version": "1.0" }, "items": [ { "info": { "name": "Authorization", "type": "folder" }, "items": [ { "info": { "name": "Walmart Token Api", "type": "http" }, "http": { "method": "POST", "url": "https://api-gateway.walmart.com/v3/token", "headers": [ { "name": "WM_PARTNER.ID", "value": "43423324" }, { "name": "Authorization", "value": "Basic YzcyOTFjNmItNzI5MC00...." }, { "name": "Content-Type", "value": "application/x-www-form-urlencoded" }, { "name": "WM_CONSUMER.CHANNEL.TYPE", "value": "" }, { "name": "WM_QOS.CORRELATION_ID", "value": "b3261d2d-028a-4ef7-8602-633c23200af6" }, { "name": "WM_SVC.NAME", "value": "Walmart Service Name" } ], "body": { "type": "form-urlencoded", "data": [ { "name": "grant_type", "value": "" }, { "name": "code", "value": "" }, { "name": "redirect_uri", "value": "" }, { "name": "refresh_token", "value": "" } ] } }, "docs": "Get access token by providing Client ID and Client Secret.
An access token expires after a certain interval, so you will have to refresh a user's access token. You could use refresh token, obtained from the token API call using authorization code grant type, to get a new access token. Refresh tokens remain valid for a year.

[Guide reference - authorization_code](/doc/us/mp/us-mp-auth2/#606)

[Guide reference - refresh_token](/doc/us/mp/us-mp-auth2/#606)

[G" }, { "info": { "name": "Walmart Token Detail", "type": "http" }, "http": { "method": "GET", "url": "https://api-gateway.walmart.com/v3/token/detail", "headers": [ { "name": "WM_SEC.ACCESS_TOKEN", "value": "eyJraWQiOiIzZjVhYTFmNS1hYWE5LTQzM....." }, { "name": "Content-Type", "value": "application/x-www-form-urlencoded" }, { "name": "WM_CONSUMER.CHANNEL.TYPE", "value": "" }, { "name": "WM_QOS.CORRELATION_ID", "value": "b3261d2d-028a-4ef7-8602-633c23200af6" }, { "name": "WM_SVC.NAME", "value": "Walmart Service Name" } ] }, "docs": "This process retrieves the access permissions granted by sellers to applications in the context of OAuth 2.0. The scope encompasses various API categories, each with its respective access levels, for example Reports: View Only, Item: Full Access, etc." } ] } ], "bundled": true }