{ "opencollection": "1.0.0", "info": { "name": "Commerce Layer addresses voids API", "version": "7.10.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "voids", "type": "folder" }, "items": [ { "info": { "name": "Retrieve the voids associated to the authorization", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/authorizations/:authorizationId/voids", "params": [ { "name": "authorizationId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the voids associated to the authorization" }, { "info": { "name": "Retrieve the voids associated to the order", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/orders/:orderId/voids", "params": [ { "name": "orderId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the voids associated to the order" }, { "info": { "name": "List all voids", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/voids" }, "docs": "List all voids" }, { "info": { "name": "Retrieve a void", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/voids/:voidId", "params": [ { "name": "voidId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve a void" }, { "info": { "name": "Update a void", "type": "http" }, "http": { "method": "PATCH", "url": "https://{your_organization_slug}.commercelayer.io/api/voids/:voidId", "params": [ { "name": "voidId", "value": "", "type": "path", "description": "The resource's id" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a void" } ] } ], "bundled": true }