{ "opencollection": "1.0.0", "info": { "name": "API V1 API Partners Inventory API", "version": "v1" }, "request": { "auth": { "type": "apikey", "key": "X-Api-Partner-Id", "value": "{{X-Api-Partner-Id}}", "placement": "header" } }, "items": [ { "info": { "name": "Inventory", "type": "folder" }, "items": [ { "info": { "name": "Get a list of all inventory", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/tenants/:tenant_id/inventories", "params": [ { "name": "tenant_id", "value": "1", "type": "path" }, { "name": "on_hand", "value": "true", "type": "query", "description": "Filter response to include only on hand inventories (quantity_on_hand > 0) if query parameter key is present." }, { "name": "in_stock", "value": "true", "type": "query", "description": "Filter response to include only in stock inventories (min_stock > 0) if query parameter key is present." }, { "name": "page", "value": "1", "type": "query" }, { "name": "per_page", "value": "30", "type": "query" }, { "name": "updated_after", "value": "2022-10-24T12%3A00%3A00%2B08%3A00", "type": "query", "description": "Filter response to only include records updated after a given time" } ] }, "docs": "Get a list of all inventory" }, { "info": { "name": "Get active RO inventory net value for parts assigned to active work orders", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/tenants/:tenant_id/inventories/active_ros_parts_net_value", "params": [ { "name": "tenant_id", "value": "1", "type": "path" }, { "name": "shop_id", "value": "3", "type": "query", "description": "Shop ID used to scope active work orders and inventory records for the calculation." }, { "name": "page", "value": "1", "type": "query" }, { "name": "per_page", "value": "30", "type": "query" } ] }, "docs": "Get active RO inventory net value for parts assigned to active work orders" }, { "info": { "name": "Get specific inventory by ID", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/tenants/:tenant_id/inventories/:id", "params": [ { "name": "tenant_id", "value": "1", "type": "path" }, { "name": "id", "value": "1", "type": "path" } ] }, "docs": "Get specific inventory by ID" }, { "info": { "name": "Update specific inventory by ID", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/v1/tenants/:tenant_id/inventories/:id", "params": [ { "name": "tenant_id", "value": "1", "type": "path" }, { "name": "id", "value": "1", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update specific inventory by ID" } ] } ], "bundled": true }