{ "opencollection": "1.0.0", "info": { "name": "Olo Ordering Accounts API", "version": "1.1" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Accounts", "type": "folder" }, "items": [ { "info": { "name": "Find Accounts", "type": "http" }, "http": { "method": "GET", "url": "https://ordering.api.olosandbox.com/promotions/accounts", "params": [ { "name": "membershipNumber", "value": "", "type": "query", "description": "The membership number used to locate the guest's loyalty account(s)." } ] }, "docs": "Find loyalty accounts matching a membership number or other guest identifier." }, { "info": { "name": "Create Account", "type": "http" }, "http": { "method": "POST", "url": "https://ordering.api.olosandbox.com/promotions/accounts", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new loyalty account in the provider's system for a guest." }, { "info": { "name": "Get Account", "type": "http" }, "http": { "method": "GET", "url": "https://ordering.api.olosandbox.com/promotions/accounts/:accountId", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "The loyalty account's unique identifier in the provider's system." } ] }, "docs": "Retrieve a single loyalty account by its identifier in the provider's system." } ] } ], "bundled": true }