{ "opencollection": "1.0.0", "info": { "name": "Shell B2B Mobility Accounts Points API", "version": "2.1.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api.shell.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Points", "type": "folder" }, "items": [ { "info": { "name": "Get Points Balance", "type": "http" }, "http": { "method": "GET", "url": "https://api.shell.com/mobility/v2/accounts/:accountId/balance", "params": [ { "name": "accountId", "value": "", "type": "path" } ] }, "docs": "Returns the current points balance for a loyalty account." }, { "info": { "name": "Redeem Points", "type": "http" }, "http": { "method": "POST", "url": "https://api.shell.com/mobility/v2/accounts/:accountId/redeem", "params": [ { "name": "accountId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Redeems loyalty points for a reward or benefit." } ] } ], "bundled": true }