{ "opencollection": "1.0.0", "info": { "name": "Cart Actions Endpoints Counters API", "version": "3.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Counters", "type": "folder" }, "items": [ { "info": { "name": "Get All Counters", "type": "http" }, "http": { "method": "GET", "url": "https://api.fabric.inc/v3/inventory-counters", "headers": [ { "name": "x-fabric-tenant-id", "value": "5f328bf0b5f328bf0b5f328b" }, { "name": "x-fabric-channel-id", "value": "12" }, { "name": "x-fabric-request-id", "value": "263e731c-45c8-11ed-b878-0242ac120002" } ], "params": [ { "name": "offset", "value": "0", "type": "query", "description": "Number of records to skip before returning all records. Default is `0` if no value is provided." }, { "name": "limit", "value": "10", "type": "query", "description": "Maximum number of records returned per page. Default is `10` if no value is provided." } ] }, "docs": "Get all configured counters." }, { "info": { "name": "Create Counter", "type": "http" }, "http": { "method": "POST", "url": "https://api.fabric.inc/v3/inventory-counters", "headers": [ { "name": "x-fabric-tenant-id", "value": "5f328bf0b5f328bf0b5f328b" }, { "name": "x-fabric-channel-id", "value": "12" }, { "name": "x-fabric-request-id", "value": "263e731c-45c8-11ed-b878-0242ac120002" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create counter (also known as inventory position) for better tracking of inventories." }, { "info": { "name": "Get Counter by Code", "type": "http" }, "http": { "method": "GET", "url": "https://api.fabric.inc/v3/inventory-counters/:counterCode", "headers": [ { "name": "x-fabric-tenant-id", "value": "5f328bf0b5f328bf0b5f328b" }, { "name": "x-fabric-channel-id", "value": "12" }, { "name": "x-fabric-request-id", "value": "263e731c-45c8-11ed-b878-0242ac120002" } ], "params": [ { "name": "counterCode", "value": "onHand", "type": "path", "description": "Counter code" } ] }, "docs": "Get details of a specific counter by specified counter code." }, { "info": { "name": "Update Counter by Code", "type": "http" }, "http": { "method": "PUT", "url": "https://api.fabric.inc/v3/inventory-counters/:counterCode", "headers": [ { "name": "x-fabric-tenant-id", "value": "5f328bf0b5f328bf0b5f328b" }, { "name": "x-fabric-channel-id", "value": "12" }, { "name": "x-fabric-request-id", "value": "263e731c-45c8-11ed-b878-0242ac120002" } ], "params": [ { "name": "counterCode", "value": "onHand", "type": "path", "description": "Counter code" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a specific counter based on specified counter code." } ] } ], "bundled": true }