{ "opencollection": "1.0.0", "info": { "name": "Open Loyalty REST Authorization Transactions API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Transactions", "type": "folder" }, "items": [ { "info": { "name": "List transactions", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.openloyalty.io/api/:storeCode/transaction", "params": [ { "name": "storeCode", "value": "", "type": "path", "description": "The store the request is scoped to." }, { "name": "page", "value": "", "type": "query" }, { "name": "perPage", "value": "", "type": "query" } ] }, "docs": "List transactions" }, { "info": { "name": "Register a transaction", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.openloyalty.io/api/:storeCode/transaction", "params": [ { "name": "storeCode", "value": "", "type": "path", "description": "The store the request is scoped to." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Register a transaction" }, { "info": { "name": "Simulate the points a transaction would earn", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.openloyalty.io/api/:storeCode/transaction/simulate", "params": [ { "name": "storeCode", "value": "", "type": "path", "description": "The store the request is scoped to." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Simulate the points a transaction would earn" }, { "info": { "name": "Get a transaction", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.openloyalty.io/api/:storeCode/transaction/:transaction", "params": [ { "name": "storeCode", "value": "", "type": "path", "description": "The store the request is scoped to." }, { "name": "transaction", "value": "", "type": "path" } ] }, "docs": "Get a transaction" }, { "info": { "name": "Assign a transaction to a member", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.openloyalty.io/api/:storeCode/customer/transaction/customer/assign", "params": [ { "name": "storeCode", "value": "", "type": "path", "description": "The store the request is scoped to." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Assign a transaction to a member" } ] } ], "bundled": true }