{ "opencollection": "1.0.0", "info": { "name": "Admin Account / Address Store Credit Types API", "version": "v3" }, "items": [ { "info": { "name": "Store Credit Types", "type": "folder" }, "items": [ { "info": { "name": "Return a list of Store Credit Types", "type": "http" }, "http": { "method": "GET", "url": "http://{defaultHost}/api/v2/platform/store_credit_types", "params": [ { "name": "page", "value": "1", "type": "query" }, { "name": "per_page", "value": "50", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a list of Store Credit Types" }, { "info": { "name": "Create a Store Credit Type", "type": "http" }, "http": { "method": "POST", "url": "http://{defaultHost}/api/v2/platform/store_credit_types", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates a Store Credit Type" }, { "info": { "name": "Return a Store Credit Type", "type": "http" }, "http": { "method": "GET", "url": "http://{defaultHost}/api/v2/platform/store_credit_types/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a Store Credit Type" }, { "info": { "name": "Update a Store Credit Type", "type": "http" }, "http": { "method": "PATCH", "url": "http://{defaultHost}/api/v2/platform/store_credit_types/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Updates a Store Credit Type" }, { "info": { "name": "Delete a Store Credit Type", "type": "http" }, "http": { "method": "DELETE", "url": "http://{defaultHost}/api/v2/platform/store_credit_types/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Deletes a Store Credit Type" } ] } ], "bundled": true }