{ "opencollection": "1.0.0", "info": { "name": "Snipcart REST AbandonedCarts Products API", "version": "3.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Products", "type": "folder" }, "items": [ { "info": { "name": "List products", "type": "http" }, "http": { "method": "GET", "url": "https://app.snipcart.com/api/products", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Number of results to return per page" }, { "name": "offset", "value": "", "type": "query", "description": "Zero-based offset for pagination" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Returns a list of products with options to filter by date range and sort by sales metrics." }, { "info": { "name": "Fetch and create product", "type": "http" }, "http": { "method": "POST", "url": "https://app.snipcart.com/api/products", "body": { "type": "json", "data": "{}" } }, "docs": "Fetches the URL passed in parameter and generates products found on the page (HTML buttons or JSON definitions)." }, { "info": { "name": "Get product", "type": "http" }, "http": { "method": "GET", "url": "https://app.snipcart.com/api/products/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique product identifier" } ] }, "docs": "Retrieves a product by its identifier (Snipcart-generated or user-defined ID)." }, { "info": { "name": "Update product", "type": "http" }, "http": { "method": "PUT", "url": "https://app.snipcart.com/api/products/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique product identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates specific product attributes, particularly inventory values such as stock levels." }, { "info": { "name": "Archive product", "type": "http" }, "http": { "method": "DELETE", "url": "https://app.snipcart.com/api/products/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique product identifier" } ] }, "docs": "Archives the product, removing it from listings. Automatically restored if added to a cart again." } ] } ], "bundled": true }