{ "opencollection": "1.0.0", "info": { "name": "Lemon Squeezy Checkouts Subscription Items API", "version": "v1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Subscription Items", "type": "folder" }, "items": [ { "info": { "name": "List all subscription items", "type": "http" }, "http": { "method": "GET", "url": "https://api.lemonsqueezy.com/v1/subscription-items", "params": [ { "name": "filter[subscription_id]", "value": "", "type": "query" } ] }, "docs": "List all subscription items" }, { "info": { "name": "Retrieve a subscription item", "type": "http" }, "http": { "method": "GET", "url": "https://api.lemonsqueezy.com/v1/subscription-items/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The resource ID." } ] }, "docs": "Retrieve a subscription item" }, { "info": { "name": "Update a subscription item", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.lemonsqueezy.com/v1/subscription-items/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The resource ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the quantity of a quantity-based or usage-based subscription item." }, { "info": { "name": "Retrieve a subscription item's current usage", "type": "http" }, "http": { "method": "GET", "url": "https://api.lemonsqueezy.com/v1/subscription-items/:id/current-usage", "params": [ { "name": "id", "value": "", "type": "path", "description": "The resource ID." } ] }, "docs": "Retrieve a subscription item's current usage" } ] } ], "bundled": true }