{
	"info": {
		"_postman_id": "6bb8ecea-e42c-4e2b-972f-cc119b282719",
		"name": "Catalog Inventory API",
		"description": "Complete API collection for Inventory Domain with Warehouses, Inventory Records, and Transactions endpoints",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "50681087",
		"_collection_link": "https://speeding-station-761692.postman.co/workspace/749708e5-00c2-41b9-8163-eb8de19b77f2/collection/50681087-6bb8ecea-e42c-4e2b-972f-cc119b282719?action=share&source=collection_link&creator=50681087"
	},
	"item": [
		{
			"name": "Warehouses",
			"item": [
				{
					"name": "List Warehouses",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/warehouses?per_page=15",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"warehouses"
							],
							"query": [
								{
									"key": "per_page",
									"value": "15"
								},
								{
									"key": "search",
									"value": "",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Warehouse",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/warehouses/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"warehouses",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Create Warehouse",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"code\": \"WH-001335252\",\n  \"name\": \"Main Warehouseefefef\",\n  \"location\": \"123 Storage Lane\",\n  \"is_active\": true\n}"
						},
						"url": {
							"raw": "{{BASE_URL}}/catalog/warehouses",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"warehouses"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update Warehouse",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"code\": \"WH-001335252\",\n  \"name\": \"Main Warehouseefefef\",\n  \"location\": \"123 Storage Lane\",\n  \"is_active\": true\n}"
						},
						"url": {
							"raw": "{{BASE_URL}}/catalog/warehouses/3",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"warehouses",
								"3"
							]
						}
					},
					"response": []
				},
				{
					"name": "Delete Warehouse",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/warehouses/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"warehouses",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Restore Warehouse",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/warehouses/1/restore",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"warehouses",
								"1",
								"restore"
							]
						}
					},
					"response": []
				},
				{
					"name": "Active Warehouses List",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/warehouses/active/list",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"warehouses",
								"active",
								"list"
							]
						}
					},
					"response": []
				},
				{
					"name": "Search Warehouses",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/warehouses/search?q=Main&per_page=15",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"warehouses",
								"search"
							],
							"query": [
								{
									"key": "q",
									"value": "Main"
								},
								{
									"key": "per_page",
									"value": "15"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Bulk Delete Warehouses",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"ids\": [1, 2, 3]\n}"
						},
						"url": {
							"raw": "{{BASE_URL}}/catalog/warehouses/bulk/delete",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"warehouses",
								"bulk",
								"delete"
							]
						}
					},
					"response": []
				}
			],
			"description": "Warehouse management endpoints"
		},
		{
			"name": "Inventory",
			"item": [
				{
					"name": "List Inventory",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/inventory?per_page=15",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"inventory"
							],
							"query": [
								{
									"key": "per_page",
									"value": "15"
								},
								{
									"key": "warehouse_id",
									"value": "",
									"disabled": true
								},
								{
									"key": "variant_id",
									"value": "",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Inventory Record",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/inventory/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"inventory",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Create Inventory Record",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"product_variant_id\": 5,\n  \"warehouse_id\": 1,\n  \"inventory_type_id\": 1,\n  \"quantity\": \"250.750\"\n}"
						},
						"url": {
							"raw": "{{BASE_URL}}/catalog/inventory",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"inventory"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update Inventory Record",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"product_variant_id\": 5,\n  \"warehouse_id\": 2,\n  \"inventory_type_id\": 1,\n  \"quantity\": \"250\"\n}"
						},
						"url": {
							"raw": "{{BASE_URL}}/catalog/inventory/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"inventory",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Delete Inventory Record",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/inventory/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"inventory",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Restore Inventory Record",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/inventory/1/restore",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"inventory",
								"1",
								"restore"
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Inventory by Warehouse",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/inventory/warehouse/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"inventory",
								"warehouse",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Inventory by Variant",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/inventory/variant/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"inventory",
								"variant",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Low Stock Items",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/inventory/low-stock?threshold=20",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"inventory",
								"low-stock"
							],
							"query": [
								{
									"key": "threshold",
									"value": "20"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Adjust Inventory Quantity",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"quantity\": 5\n}"
						},
						"url": {
							"raw": "{{BASE_URL}}/catalog/inventory/1/adjust",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"inventory",
								"1",
								"adjust"
							]
						}
					},
					"response": []
				},
				{
					"name": "Bulk Delete Inventory",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"ids\": [1, 2, 3]\n}"
						},
						"url": {
							"raw": "{{BASE_URL}}/catalog/inventory/bulk/delete",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"inventory",
								"bulk",
								"delete"
							]
						}
					},
					"response": []
				}
			],
			"description": "Inventory records management endpoints"
		},
		{
			"name": "Transactions",
			"item": [
				{
					"name": "List Transactions",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/transactions?per_page=15",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"transactions"
							],
							"query": [
								{
									"key": "per_page",
									"value": "15"
								},
								{
									"key": "type",
									"value": "",
									"disabled": true
								},
								{
									"key": "warehouse_id",
									"value": "",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Transaction",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/transactions/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"transactions",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Create Transaction",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"inventory_id\": 1,\n  \"warehouse_id\": 1,\n  \"inventory_type_id\": 1,\n  \"transaction_type\": \"purchase\",\n  \"quantity\": \"100.500\",\n  \"reference_type\": \"purchase_order\",\n  \"reference_id\": \"PO-2025-001\",\n  \"notes\": \"Stock received from supplier ABC\"\n}"
						},
						"url": {
							"raw": "{{BASE_URL}}/catalog/transactions",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"transactions"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update Transaction",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"inventory_id\": 1,\n  \"warehouse_id\": 1,\n  \"inventory_type_id\": 1,\n  \"transaction_type\": \"purchase\",\n  \"quantity\": \"600\",\n  \"reference_type\": \"purchase_order\",\n  \"reference_id\": \"PO-2025-001\",\n  \"notes\": \"Stock received from supplier ABC\"\n}"
						},
						"url": {
							"raw": "{{BASE_URL}}/catalog/transactions/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"transactions",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Delete Transaction",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/transactions/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"transactions",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Restore Transaction",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/transactions/1/restore",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"transactions",
								"1",
								"restore"
							]
						}
					},
					"response": []
				},
				{
					"name": "Transactions by Type",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/transactions/by-type/purchase",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"transactions",
								"by-type",
								"purchase"
							]
						}
					},
					"response": []
				},
				{
					"name": "Transactions by Warehouse",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/transactions/warehouse/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"transactions",
								"warehouse",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Transactions by Date Range",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/catalog/transactions/date-range?start_date=2025-01-01&end_date=2025-12-31",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"transactions",
								"date-range"
							],
							"query": [
								{
									"key": "start_date",
									"value": "2025-01-01"
								},
								{
									"key": "end_date",
									"value": "2025-12-31"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Bulk Delete Transactions",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"ids\": [1, 2]\n}"
						},
						"url": {
							"raw": "{{BASE_URL}}/catalog/transactions/bulk/delete",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"catalog",
								"transactions",
								"bulk",
								"delete"
							]
						}
					},
					"response": []
				}
			],
			"description": "Transaction management endpoints"
		}
	],
	"auth": {
		"type": "bearer",
		"bearer": [
			{
				"key": "token",
				"value": "{{access_token}}",
				"type": "string"
			}
		]
	},
	"variable": [
		{
			"key": "BASE_URL",
			"value": "http://localhost:8000",
			"type": "string"
		},
		{
			"key": "access_token",
			"value": "your_token_here",
			"type": "string"
		}
	]
}