{ "opencollection": "1.0.0", "info": { "name": "Aghanim Server-to-Server Achievements Coupons API", "version": "2026.07.14" }, "items": [ { "info": { "name": "Coupons", "type": "folder" }, "items": [ { "info": { "name": "Get User Coupons", "type": "http" }, "http": { "method": "GET", "url": "https://api.aghanim.com/s2s/v1/coupons/user/:user_id", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "limit", "value": "", "type": "query", "description": "A limit on the number of objects to be returned" }, { "name": "offset", "value": "", "type": "query", "description": "The number of objects to skip" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get User Coupons" }, { "info": { "name": "Get Coupons", "type": "http" }, "http": { "method": "GET", "url": "https://api.aghanim.com/s2s/v1/coupons", "params": [ { "name": "q", "value": "", "type": "query" }, { "name": "type", "value": "", "type": "query" }, { "name": "category_id", "value": "", "type": "query" }, { "name": "generated_type", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query", "description": "A limit on the number of objects to be returned" }, { "name": "offset", "value": "", "type": "query", "description": "The number of objects to skip" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a list of coupons." }, { "info": { "name": "Create Coupon", "type": "http" }, "http": { "method": "POST", "url": "https://api.aghanim.com/s2s/v1/coupons", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates a new coupon." }, { "info": { "name": "Bulk Update Coupon", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.aghanim.com/s2s/v1/coupons", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Bulk Update Coupon" }, { "info": { "name": "Get Coupon", "type": "http" }, "http": { "method": "GET", "url": "https://api.aghanim.com/s2s/v1/coupons/:coupon_id", "params": [ { "name": "coupon_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a single coupon." }, { "info": { "name": "Update Coupon", "type": "http" }, "http": { "method": "PUT", "url": "https://api.aghanim.com/s2s/v1/coupons/:coupon_id", "params": [ { "name": "coupon_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Updates a coupon." }, { "info": { "name": "Delete Coupon", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.aghanim.com/s2s/v1/coupons/:coupon_id", "params": [ { "name": "coupon_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Deletes a coupon." } ] } ], "bundled": true }