{ "opencollection": "1.0.0", "info": { "name": "Addresses Introduction Account Addresses Inventory API", "version": "25.1126.6886238" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Inventory", "type": "folder" }, "items": [ { "info": { "name": "Get Stock for all Products", "type": "http" }, "http": { "method": "GET", "url": "https://useast.api.elasticpath.com/inventories", "params": [ { "name": "page[offset]", "value": "", "type": "query", "description": "The current offset by number of records, not pages. Offset is zero-based. The maximum records you can offset is 10,000. If no page size is set, the [**page length**](https://elasticpath.dev/docs/commerce-cloud/global-project-settings/settings-overview#page-length) store setting is used." }, { "name": "page[limit]", "value": "", "type": "query", "description": "The maximum number of records per page for this response. You can set this value up to 100. If no page size is set, the the [**page length**](https://elasticpath.dev/docs/commerce-cloud/global-project-settings/settings-overview#page-length) store setting is used." } ] }, "docs": "Returns all products and their associated stock." }, { "info": { "name": "Create Stock for Product", "type": "http" }, "http": { "method": "POST", "url": "https://useast.api.elasticpath.com/inventories", "body": { "type": "json", "data": "{}" } }, "docs": "Sets the inventory quantity for the specified product." }, { "info": { "name": "Get Stock for Multiple Products", "type": "http" }, "http": { "method": "POST", "url": "https://useast.api.elasticpath.com/inventories/multiple", "body": { "type": "json", "data": "{}" } }, "docs": "Returns stock for all products matching the supplied unique identifiers." }, { "info": { "name": "Get Stock for Product", "type": "http" }, "http": { "method": "GET", "url": "https://useast.api.elasticpath.com/inventories/:product_uuid", "params": [ { "name": "product_uuid", "value": "", "type": "path", "description": "The unique identifier of the product." } ] }, "docs": "Gets the stock for the product matching the specified unique identifier." }, { "info": { "name": "Create Stock for Product", "type": "http" }, "http": { "method": "POST", "url": "https://useast.api.elasticpath.com/inventories/:product_uuid", "params": [ { "name": "product_uuid", "value": "", "type": "path", "description": "The unique identifier of the product." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Sets the inventory quantity for the specified product. When you take this action, you are choosing to manage the inventory for this product in Commerce." }, { "info": { "name": "Update Stock for Product", "type": "http" }, "http": { "method": "PUT", "url": "https://useast.api.elasticpath.com/inventories/:product_uuid", "params": [ { "name": "product_uuid", "value": "", "type": "path", "description": "The unique identifier of the product." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the inventory for the specified product." }, { "info": { "name": "Delete Stock for Product", "type": "http" }, "http": { "method": "DELETE", "url": "https://useast.api.elasticpath.com/inventories/:product_uuid", "params": [ { "name": "product_uuid", "value": "", "type": "path", "description": "The unique identifier of the product." } ] }, "docs": "Deletes the inventory for the specified product. The product inventory is null and is no longer managed by Commerce. If you want to keep managing inventory but have none of the product in stock, set the inventory to `0` instead of deleting the inventory." } ] } ], "bundled": true }