{ "opencollection": "1.0.0", "info": { "name": "Admin Account / Address Adjustments API", "version": "v3" }, "items": [ { "info": { "name": "Adjustments", "type": "folder" }, "items": [ { "info": { "name": "Return a list of Adjustments", "type": "http" }, "http": { "method": "GET", "url": "http://{defaultHost}/api/v2/platform/adjustments", "params": [ { "name": "page", "value": "1", "type": "query" }, { "name": "per_page", "value": "50", "type": "query" }, { "name": "include", "value": "order,adjustable", "type": "query", "description": "Select which associated resources you would like to fetch, see: https://jsonapi.org/format/#fetching-includes" }, { "name": "filter[order_id]", "value": "1234", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a list of Adjustments" }, { "info": { "name": "Create an Adjustment", "type": "http" }, "http": { "method": "POST", "url": "http://{defaultHost}/api/v2/platform/adjustments", "params": [ { "name": "include", "value": "order,adjustable", "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 an Adjustment" }, { "info": { "name": "Return an Adjustment", "type": "http" }, "http": { "method": "GET", "url": "http://{defaultHost}/api/v2/platform/adjustments/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "include", "value": "order,adjustable", "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 an Adjustment" }, { "info": { "name": "Update an Adjustment", "type": "http" }, "http": { "method": "PATCH", "url": "http://{defaultHost}/api/v2/platform/adjustments/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "include", "value": "order,adjustable", "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 an Adjustment" }, { "info": { "name": "Delete an Adjustment", "type": "http" }, "http": { "method": "DELETE", "url": "http://{defaultHost}/api/v2/platform/adjustments/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Deletes an Adjustment" } ] } ], "bundled": true }