{ "opencollection": "1.0.0", "info": { "name": "7digital Artists Sales API", "version": "1.2" }, "request": { "auth": { "type": "apikey", "key": "oauth_consumer_key", "value": "{{oauth_consumer_key}}", "placement": "query" } }, "items": [ { "info": { "name": "Sales", "type": "folder" }, "items": [ { "info": { "name": "7digital Get User Locker", "type": "http" }, "http": { "method": "GET", "url": "https://api.7digital.com/1.2/users/:userId/locker", "params": [ { "name": "userId", "value": "500123", "type": "path", "description": "Partner-scoped 7digital user id." }, { "name": "page", "value": "1", "type": "query", "description": "1-based page number." }, { "name": "pageSize", "value": "20", "type": "query", "description": "Number of items per page." } ], "auth": { "type": "apikey", "key": "oauth_consumer_key", "value": "{{oauth_consumer_key}}", "placement": "query" } }, "docs": "Get a paged list of releases and tracks in a user's locker." }, { "info": { "name": "7digital Credit Sales Item", "type": "http" }, "http": { "method": "POST", "url": "https://api.7digital.com/1.2/sales/credit-item", "body": { "type": "form-urlencoded", "data": [] }, "auth": { "type": "apikey", "key": "oauth_consumer_key", "value": "{{oauth_consumer_key}}", "placement": "query" } }, "docs": "Log a sale of a track or release for the specified user and add it to their locker. Currency must match the one provided for the content (typically USD). Returns XML responses only." }, { "info": { "name": "7digital Report Release Refund", "type": "http" }, "http": { "method": "POST", "url": "https://api.7digital.com/1.2/sales/refund/release", "body": { "type": "json", "data": "{}" } }, "docs": "Remove a purchase of a release from the sales report when the purchase has been refunded." }, { "info": { "name": "7digital Report Track Refund", "type": "http" }, "http": { "method": "POST", "url": "https://api.7digital.com/1.2/sales/refund/track", "body": { "type": "json", "data": "{}" } }, "docs": "Remove a purchase of a track from the sales report when the purchase has been refunded." } ] } ], "bundled": true }