{ "opencollection": "1.0.0", "info": { "name": "Admin Account / Address Tax Rates API", "version": "v3" }, "items": [ { "info": { "name": "Tax Rates", "type": "folder" }, "items": [ { "info": { "name": "Return a list of Tax Rates", "type": "http" }, "http": { "method": "GET", "url": "http://{defaultHost}/api/v2/platform/tax_rates", "params": [ { "name": "page", "value": "1", "type": "query" }, { "name": "per_page", "value": "50", "type": "query" }, { "name": "include", "value": "zone,tax_category", "type": "query", "description": "Select which associated resources you would like to fetch, see: https://jsonapi.org/format/#fetching-includes" }, { "name": "filter[zone_id_eq]", "value": "3", "type": "query" }, { "name": "filter[amount_gt]", "value": "0.05", "type": "query" }, { "name": "filter[tax_category_id_eq]", "value": "1", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a list of Tax Rates" }, { "info": { "name": "Create a Tax Rate", "type": "http" }, "http": { "method": "POST", "url": "http://{defaultHost}/api/v2/platform/tax_rates", "params": [ { "name": "include", "value": "zone,tax_category", "type": "query", "description": "Select which associated resources you would like to fetch, see: https://jsonapi.org/format/#fetching-includes" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates a Tax Rate" }, { "info": { "name": "Return a Tax Rate", "type": "http" }, "http": { "method": "GET", "url": "http://{defaultHost}/api/v2/platform/tax_rates/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "include", "value": "zone,tax_category", "type": "query", "description": "Select which associated resources you would like to fetch, see: https://jsonapi.org/format/#fetching-includes" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a Tax Rate" }, { "info": { "name": "Update a Tax Rate", "type": "http" }, "http": { "method": "PATCH", "url": "http://{defaultHost}/api/v2/platform/tax_rates/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "include", "value": "zone,tax_category", "type": "query", "description": "Select which associated resources you would like to fetch, see: https://jsonapi.org/format/#fetching-includes" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Updates a Tax Rate" }, { "info": { "name": "Delete a Tax Rate", "type": "http" }, "http": { "method": "DELETE", "url": "http://{defaultHost}/api/v2/platform/tax_rates/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Deletes a Tax Rate" } ] } ], "bundled": true }