Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jamesratcliffe/d0e00af40125e2edc35c88f0d4eb2858 to your computer and use it in GitHub Desktop.
Save jamesratcliffe/d0e00af40125e2edc35c88f0d4eb2858 to your computer and use it in GitHub Desktop.
{
"variables": [],
"info": {
"name": "Retail Access Token Examples",
"_postman_id": "d9dd7ec8-5e59-76c9-9884-358d1d05047d",
"description": "",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
"name": "Access Token (w Temp Token)",
"request": {
"url": "https://cloud.merchantos.com/oauth/access_token.php",
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "client_id",
"value": "*FILL IN*",
"type": "text"
},
{
"key": "client_secret",
"value": "*FILL IN*",
"type": "text"
},
{
"key": "code",
"value": "*FILL IN*",
"type": "text"
},
{
"key": "grant_type",
"value": "authorization_code",
"type": "text"
}
]
},
"description": ""
},
"response": []
},
{
"name": "Access Token (w Refresh Token)",
"request": {
"url": "https://cloud.merchantos.com/oauth/access_token.php",
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "client_id",
"value": "*FILL IN*",
"type": "text"
},
{
"key": "client_secret",
"value": "*FILL IN*",
"type": "text"
},
{
"key": "refresh_token",
"value": "*FILL IN*",
"type": "text"
},
{
"key": "grant_type",
"value": "refresh_token",
"type": "text"
}
]
},
"description": ""
},
"response": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment