{ "opencollection": "1.0.0", "info": { "name": "Skilljar Assets Offers API", "version": "1.0.0" }, "items": [ { "info": { "name": "Offers", "type": "folder" }, "items": [ { "info": { "name": "offers_list", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/offers", "params": [ { "name": "page", "value": "", "type": "query", "description": "A page number within the paginated result set." }, { "name": "page_size", "value": "", "type": "query", "description": "Number of results to return per page." } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Retrieve a paginated list of Offers available to your organization.\n\nReturns a list of Offer resources, filtered and paginated according to the request parameters." }, { "info": { "name": "offers_retrieve", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/offers/:offer_id", "params": [ { "name": "offer_id", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Retrieve details for a specific Offer.\n\nReturns the Offer resource identified by the given offer ID." }, { "info": { "name": "offers_update", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/v1/offers/:offer_id", "params": [ { "name": "offer_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Update an Offer price if it is an à la carte Offer for a `PublishedCourse`.\n\nPUT and PATCH are identical - both do partial updates." }, { "info": { "name": "offers_partial_update", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/v1/offers/:offer_id", "params": [ { "name": "offer_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Update an Offer if it is an à la carte Offer for a `PublishedCourse`.\n\nPUT and PATCH are identical - both do partial updates." } ] } ], "bundled": true }