{ "opencollection": "1.0.0", "info": { "name": "Shell B2B Mobility Accounts Offers 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": "Offers", "type": "folder" }, "items": [ { "info": { "name": "List Account Offers", "type": "http" }, "http": { "method": "GET", "url": "https://api.shell.com/mobility/v2/accounts/:accountId/offers", "params": [ { "name": "accountId", "value": "", "type": "path" } ] }, "docs": "Returns available offers for a loyalty account." }, { "info": { "name": "Assign Offer", "type": "http" }, "http": { "method": "POST", "url": "https://api.shell.com/mobility/v2/accounts/:accountId/offers/:offerId/assign", "params": [ { "name": "accountId", "value": "", "type": "path" }, { "name": "offerId", "value": "", "type": "path" } ] }, "docs": "Assigns a specific offer to a loyalty account." } ] } ], "bundled": true }