{ "opencollection": "1.0.0", "info": { "name": "Cart Actions Endpoints Inventory API", "version": "3.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Inventory", "type": "folder" }, "items": [ { "info": { "name": "Create Inventory", "type": "http" }, "http": { "method": "POST", "url": "https://api.fabric.inc/v3/inventories", "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 inventory based on the combination of location number, channel ID, and item ID or SKU." }, { "info": { "name": "Find Inventories of Specific Items", "type": "http" }, "http": { "method": "POST", "url": "https://api.fabric.inc/v3/inventories/actions/find", "headers": [ { "name": "x-fabric-tenant-id", "value": "5f328bf0b5f328bf0b5f328b" }, { "name": "x-fabric-request-id", "value": "263e731c-45c8-11ed-b878-0242ac120002" }, { "name": "x-fabric-channel-id", "value": "12" }, { "name": "x-fabric-channel-ids", "value": "12, 13, 16" } ], "params": [ { "name": "offset", "value": "0", "type": "query", "description": "Number of records to be skipped before returning all records. Default is `0` when no value is specified." }, { "name": "limit", "value": "10", "type": "query", "description": "Maximum number of records to be returned on a single page. For example, when offset=20 and limit=10, it returns records 21-30 on a single page. Default is `10` when no value is specified." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Search for inventories of specific items by SKUs, itemIds, location numbers, and other parameters as specified in the request body. This endpoint retrieves the exact available quantity of the searched inventory." }, { "info": { "name": "Adjust Inventory Counters", "type": "http" }, "http": { "method": "POST", "url": "https://api.fabric.inc/v3/inventories/actions/find-and-adjust-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": "With this endpoint, you can modify inventory counters (also known as inventory positions) to maintain accurate inventory records. These counters are adjusted when new inventory is received or when an item is shipped. If the inventory does not exist, an error message will be displayed. An inventory can have multiple counters, and all counters will be updated when this endpoint is used." }, { "info": { "name": "Update Inventory by Adding New Property", "type": "http" }, "http": { "method": "POST", "url": "https://api.fabric.inc/v3/inventories/actions/find-and-update", "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": "Add a new property to existing inventory.
**Note:** This endpoint does not override all the existing properties; rather it updates inventory by adding new properties or by updating the existing inventory properties that are specified in the request body. Inventory is identified based on the combination of location number, channel ID, and item ID or SKU.
" }, { "info": { "name": "Find Inventory of Specific Items in a Specific Region", "type": "http" }, "http": { "method": "POST", "url": "https://api.fabric.inc/v3/inventories/actions/find-by-geography", "headers": [ { "name": "x-fabric-tenant-id", "value": "5f328bf0b5f328bf0b5f328b" }, { "name": "x-fabric-request-id", "value": "263e731c-45c8-11ed-b878-0242ac120002" }, { "name": "x-fabric-channel-id", "value": "12" }, { "name": "x-fabric-channel-ids", "value": "12, 13, 16" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Search for list of inventories of specific items in a specific region based on SKUs, postal code, latitude, longitude, and other details of the location as specified in the request body." }, { "info": { "name": "Search for Inventories", "type": "http" }, "http": { "method": "POST", "url": "https://api.fabric.inc/v3/inventories/search", "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": "fetchOnlyIds", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Search for inventories based on filter criteria." } ] } ], "bundled": true }