{
	"info": {
		"_postman_id": "inventory-system-api",
		"name": "Inventory System API",
		"description": "Production-ready REST API for Inventory Management System.\n\n## Authentication\nThis API uses token-based authentication via Laravel Sanctum. All protected endpoints require a Bearer token in the Authorization header.\n\n## Getting Started\n1. Login using the `/api/v1/login` endpoint to receive an access token\n2. The token will be automatically saved to the collection variable `access_token`\n3. All protected endpoints will automatically use this token\n\n## Token Expiration\nTokens expire after 24 hours by default.",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "inventory-system"
	},
	"item": [
		{
			"name": "Authentication",
			"item": [
				{
					"name": "Login",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"if (pm.response.code === 200) {",
									"    const jsonData = pm.response.json();",
									"    if (jsonData.success && jsonData.data && jsonData.data.access_token) {",
									"        pm.collectionVariables.set('access_token', jsonData.data.access_token);",
									"        console.log('Access token saved successfully');",
									"    }",
									"}"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"email\": \"user@example.com\",\n    \"password\": \"password123\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/login",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"login"
							]
						},
						"description": "Authenticate user and receive access token. The token will be automatically saved to the collection variable."
					},
					"response": []
				},
				{
					"name": "Get Authenticated User",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{base_url}}/me",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"me"
							]
						},
						"description": "Retrieve information about the currently authenticated user."
					},
					"response": []
				},
				{
					"name": "Logout (Current Device)",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [],
						"url": {
							"raw": "{{base_url}}/logout",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"logout"
							]
						},
						"description": "Revoke the current access token."
					},
					"response": []
				},
				{
					"name": "Logout All Devices",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [],
						"url": {
							"raw": "{{base_url}}/logout-all",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"logout-all"
							]
						},
						"description": "Revoke all access tokens for the authenticated user."
					},
					"response": []
				}
			],
			"description": "User authentication and token management endpoints."
		},
		{
			"name": "Shops",
			"item": [
				{
					"name": "List Shops",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{base_url}}/shops?per_page=15&status=Active&search=",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"shops"
							],
							"query": [
								{
									"key": "per_page",
									"value": "15",
									"description": "Number of items per page (default: 15)"
								},
								{
									"key": "status",
									"value": "Active",
									"description": "Filter by status (Active/Inactive)",
									"disabled": true
								},
								{
									"key": "search",
									"value": "",
									"description": "Search in title, owner_name, contact_no, address",
									"disabled": true
								}
							]
						},
						"description": "Retrieve a paginated list of shops. Only shows shops created by the authenticated user.\n\n**Query Parameters:**\n- `per_page`: Number of items per page (default: 15)\n- `status`: Filter by status (Active/Inactive)\n- `search`: Search in title, owner_name, contact_no, address"
					},
					"response": []
				},
				{
					"name": "Get Shop",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{base_url}}/shops/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"shops",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "Shop ID"
								}
							]
						},
						"description": "Retrieve a specific shop by ID. Only accessible if the shop belongs to the authenticated user."
					},
					"response": []
				},
				{
					"name": "Create Shop",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"title\": \"New Shop\",\n    \"address\": \"456 Oak Ave\",\n    \"owner_name\": \"Jane Smith\",\n    \"contact_no\": \"9876543210\",\n    \"status\": \"Active\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/shops",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"shops"
							]
						},
						"description": "Create a new shop.\n\n**Required Fields:**\n- `title` (string, max 150 chars)\n- `owner_name` (string, max 150 chars)\n- `contact_no` (string, max 25 chars)\n- `status` (Active/Inactive)\n\n**Optional Fields:**\n- `address` (string)"
					},
					"response": []
				},
				{
					"name": "Update Shop",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "PATCH",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"title\": \"Updated Shop Name\",\n    \"address\": \"789 Pine St\",\n    \"owner_name\": \"Jane Smith\",\n    \"contact_no\": \"9876543210\",\n    \"status\": \"Active\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/shops/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"shops",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "Shop ID"
								}
							]
						},
						"description": "Update an existing shop. You can send all fields or only the fields you want to update. Only accessible if the shop belongs to the authenticated user.\n\n**Required Fields (when provided):**\n- `title` (string, max 150 chars)\n- `owner_name` (string, max 150 chars)\n- `contact_no` (string, max 25 chars)\n- `status` (Active/Inactive)\n\n**Optional Fields:**\n- `address` (string)\n\n**Note:** You can send only the fields you want to update. Fields not included in the request will remain unchanged."
					},
					"response": []
				},
				{
					"name": "Delete Shop",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "{{base_url}}/shops/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"shops",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "Shop ID"
								}
							]
						},
						"description": "Delete a shop (soft delete). Only accessible if the shop belongs to the authenticated user."
					},
					"response": []
				}
			],
			"description": "Shop management operations. All endpoints require authentication."
		},
		{
			"name": "Users",
			"item": [
				{
					"name": "List Users",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{base_url}}/users?per_page=15&status=Active&search=",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"users"
							],
							"query": [
								{
									"key": "per_page",
									"value": "15",
									"description": "Number of items per page (default: 15)"
								},
								{
									"key": "shop_id",
									"value": "",
									"description": "Filter by shop ID",
									"disabled": true
								},
								{
									"key": "status",
									"value": "Active",
									"description": "Filter by status (Active/Inactive)",
									"disabled": true
								},
								{
									"key": "user_type",
									"value": "",
									"description": "Filter by user type (admin/user)",
									"disabled": true
								},
								{
									"key": "search",
									"value": "",
									"description": "Search in name, email, contact_no",
									"disabled": true
								}
							]
						},
						"description": "Retrieve a paginated list of users. Only shows users created by the authenticated user."
					},
					"response": []
				},
				{
					"name": "Get User",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{base_url}}/users/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"users",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "User ID"
								}
							]
						},
						"description": "Retrieve a specific user by ID. Only accessible if the user was created by the authenticated user."
					},
					"response": []
				},
				{
					"name": "Create User",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"shop_id\": 1,\n    \"name\": \"John Doe\",\n    \"email\": \"john@example.com\",\n    \"password\": \"password123\",\n    \"password_confirmation\": \"password123\",\n    \"contact_no\": \"1234567890\",\n    \"user_type\": \"admin\",\n    \"status\": \"Active\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/users",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"users"
							]
						},
						"description": "Create a new user.\n\n**Required Fields:**\n- `shop_id` (integer)\n- `name` (string, max 255 chars)\n- `email` (string, valid email)\n- `password` (string)\n- `password_confirmation` (string, must match password)\n- `user_type` (admin/user)\n- `status` (Active/Inactive)\n\n**Optional Fields:**\n- `contact_no` (string, max 25 chars)"
					},
					"response": []
				},
				{
					"name": "Update User",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "PATCH",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"shop_id\": 1,\n    \"name\": \"Updated Name\",\n    \"email\": \"updated@example.com\",\n    \"contact_no\": \"9876543210\",\n    \"user_type\": \"user\",\n    \"status\": \"Active\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/users/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"users",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "User ID"
								}
							]
						},
						"description": "Update an existing user. Password is optional - only include if you want to change it. Only accessible if the user was created by the authenticated user."
					},
					"response": []
				},
				{
					"name": "Delete User",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "{{base_url}}/users/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"users",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "User ID"
								}
							]
						},
						"description": "Delete a user (soft delete). Only accessible if the user was created by the authenticated user. Cannot delete your own account."
					},
					"response": []
				}
			],
			"description": "User management operations. All endpoints require authentication."
		},
		{
			"name": "Customers",
			"item": [
				{
					"name": "List Customers",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{base_url}}/customers?per_page=15&status=Active&search=",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"customers"
							],
							"query": [
								{
									"key": "per_page",
									"value": "15",
									"description": "Number of items per page (default: 15)"
								},
								{
									"key": "shop_id",
									"value": "",
									"description": "Filter by shop ID",
									"disabled": true
								},
								{
									"key": "status",
									"value": "Active",
									"description": "Filter by status (Active/Inactive)",
									"disabled": true
								},
								{
									"key": "type",
									"value": "",
									"description": "Filter by type (walk-in/shop)",
									"disabled": true
								},
								{
									"key": "vendor_type",
									"value": "",
									"description": "Filter by vendor type (customer/vendor/both)",
									"disabled": true
								},
								{
									"key": "search",
									"value": "",
									"description": "Search in name, contact_number, id_card, address",
									"disabled": true
								}
							]
						},
						"description": "Retrieve a paginated list of customers. Only shows customers from shops created by the authenticated user."
					},
					"response": []
				},
				{
					"name": "Get Customer",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{base_url}}/customers/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"customers",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "Customer ID"
								}
							]
						},
						"description": "Retrieve a specific customer by ID. Only accessible if the customer belongs to a shop created by the authenticated user."
					},
					"response": []
				},
				{
					"name": "Create Customer",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"name\": \"Customer Name\",\n    \"type\": \"walk-in\",\n    \"vendor_type\": \"customer\",\n    \"id_card\": \"12345-1234567-1\",\n    \"contact_number\": \"1234567890\",\n    \"address\": \"123 Main St\",\n    \"op_balance\": 1000.00,\n    \"op_balance_date\": \"2025-12-04\",\n    \"shop_id\": 1,\n    \"status\": \"Active\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/customers",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"customers"
							]
						},
						"description": "Create a new customer.\n\n**Required Fields:**\n- `name` (string, max 150 chars)\n- `type` (walk-in/shop)\n- `vendor_type` (customer/vendor/both)\n- `status` (Active/Inactive)\n\n**Optional Fields:**\n- `id_card` (string, max 25 chars)\n- `contact_number` (string, max 25 chars)\n- `address` (string)\n- `op_balance` (decimal)\n- `op_balance_date` (date)\n- `shop_id` (integer)"
					},
					"response": []
				},
				{
					"name": "Update Customer",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "PATCH",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"name\": \"Updated Customer Name\",\n    \"type\": \"shop\",\n    \"vendor_type\": \"both\",\n    \"contact_number\": \"9876543210\",\n    \"status\": \"Active\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/customers/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"customers",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "Customer ID"
								}
							]
						},
						"description": "Update an existing customer. You can send all fields or only the fields you want to update. Only accessible if the customer belongs to a shop created by the authenticated user."
					},
					"response": []
				},
				{
					"name": "Delete Customer",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "{{base_url}}/customers/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"customers",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "Customer ID"
								}
							]
						},
						"description": "Delete a customer (soft delete). Only accessible if the customer belongs to a shop created by the authenticated user."
					},
					"response": []
				}
			],
			"description": "Customer and vendor management operations. All endpoints require authentication."
		},
		{
			"name": "Items",
			"item": [
				{
					"name": "List Items",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{base_url}}/items?per_page=15&status=Active&search=",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"items"
							],
							"query": [
								{
									"key": "per_page",
									"value": "15",
									"description": "Number of items per page (default: 15)"
								},
								{
									"key": "shop_id",
									"value": "",
									"description": "Filter by shop ID",
									"disabled": true
								},
								{
									"key": "cat_id",
									"value": "",
									"description": "Filter by category ID",
									"disabled": true
								},
								{
									"key": "brand_id",
									"value": "",
									"description": "Filter by brand ID",
									"disabled": true
								},
								{
									"key": "status",
									"value": "Active",
									"description": "Filter by status (Active/Inactive)",
									"disabled": true
								},
								{
									"key": "condition",
									"value": "",
									"description": "Filter by condition (New/Used/Used Rough)",
									"disabled": true
								},
								{
									"key": "search",
									"value": "",
									"description": "Search in title, color, ram, memory, registration_type, sim_status, imei, serial_number, brand name",
									"disabled": true
								}
							]
						},
						"description": "Retrieve a paginated list of items. Only shows items from shops created by the authenticated user."
					},
					"response": []
				},
				{
					"name": "Get Item",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{base_url}}/items/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"items",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "Item ID"
								}
							]
						},
						"description": "Retrieve a specific item by ID. Only accessible if the item belongs to a shop created by the authenticated user."
					},
					"response": []
				},
				{
					"name": "Create Item",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"shop_id\": 1,\n    \"cat_id\": 1,\n    \"brand_id\": 1,\n    \"title\": \"iPhone 15 Pro Max\",\n    \"description\": \"Latest iPhone model\",\n    \"ram\": \"8GB\",\n    \"memory\": \"256GB\",\n    \"color\": \"Blue Titanium\",\n    \"registration_type\": \"PTA\",\n    \"sim_status\": \"Dual Physical\",\n    \"imei_1\": \"123456789012345\",\n    \"imei_2\": \"123456789012346\",\n    \"serial_number\": \"SN123456789\",\n    \"condition\": \"New\",\n    \"status\": \"Active\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/items",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"items"
							]
						},
						"description": "Create a new item.\n\n**Required Fields:**\n- `cat_id` (integer)\n- `brand_id` (integer)\n- `title` (string, max 250 chars)\n- `condition` (New/Used/Used Rough)\n- `status` (Active/Inactive)\n\n**Optional Fields:**\n- `shop_id` (integer)\n- `description` (string)\n- `ram` (string, max 100 chars)\n- `memory` (string, max 100 chars)\n- `color` (string, max 50 chars)\n- `registration_type` (Non PTA/PTA/CPID/JV)\n- `sim_status` (Single/Dual Physical/Dual + eSim/eSim Dual)\n- `imei_1` (string, max 100 chars)\n- `imei_2` (string, max 100 chars)\n- `serial_number` (string, max 100 chars)"
					},
					"response": []
				},
				{
					"name": "Update Item",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "PATCH",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"title\": \"Updated Item Title\",\n    \"color\": \"Red\",\n    \"condition\": \"Used\",\n    \"status\": \"Active\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/items/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"items",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "Item ID"
								}
							]
						},
						"description": "Update an existing item. You can send all fields or only the fields you want to update. Only accessible if the item belongs to a shop created by the authenticated user."
					},
					"response": []
				},
				{
					"name": "Delete Item",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "{{base_url}}/items/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"items",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "Item ID"
								}
							]
						},
						"description": "Delete an item (soft delete). Only accessible if the item belongs to a shop created by the authenticated user."
					},
					"response": []
				}
			],
			"description": "Product/Item inventory management operations. All endpoints require authentication."
		},
		{
			"name": "Brands",
			"item": [
				{
					"name": "List Brands",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{base_url}}/brands?per_page=15&status=Active&search=",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"brands"
							],
							"query": [
								{
									"key": "per_page",
									"value": "15",
									"description": "Number of items per page (default: 15)"
								},
								{
									"key": "cat_id",
									"value": "",
									"description": "Filter by category ID",
									"disabled": true
								},
								{
									"key": "status",
									"value": "Active",
									"description": "Filter by status (Active/Inactive)",
									"disabled": true
								},
								{
									"key": "search",
									"value": "",
									"description": "Search in name, status, category name",
									"disabled": true
								}
							]
						},
						"description": "Retrieve a paginated list of brands."
					},
					"response": []
				},
				{
					"name": "Get Brand",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{base_url}}/brands/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"brands",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "Brand ID"
								}
							]
						},
						"description": "Retrieve a specific brand by ID."
					},
					"response": []
				},
				{
					"name": "Create Brand",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"name\": \"Apple\",\n    \"cat_id\": 1,\n    \"status\": \"Active\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/brands",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"brands"
							]
						},
						"description": "Create a new brand.\n\n**Required Fields:**\n- `name` (string, max 150 chars)\n- `cat_id` (integer)\n- `status` (Active/Inactive)"
					},
					"response": []
				},
				{
					"name": "Update Brand",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "PATCH",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"name\": \"Updated Brand Name\",\n    \"cat_id\": 1,\n    \"status\": \"Active\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/brands/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"brands",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "Brand ID"
								}
							]
						},
						"description": "Update an existing brand. You can send all fields or only the fields you want to update."
					},
					"response": []
				},
				{
					"name": "Delete Brand",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "{{base_url}}/brands/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"brands",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "Brand ID"
								}
							]
						},
						"description": "Delete a brand (soft delete)."
					},
					"response": []
				}
			],
			"description": "Brand management operations. All endpoints require authentication."
		},
		{
			"name": "Categories",
			"item": [
				{
					"name": "List Categories",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{base_url}}/categories?per_page=15&status=Active&search=",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"categories"
							],
							"query": [
								{
									"key": "per_page",
									"value": "15",
									"description": "Number of items per page (default: 15)"
								},
								{
									"key": "status",
									"value": "Active",
									"description": "Filter by status (Active/Inactive)",
									"disabled": true
								},
								{
									"key": "search",
									"value": "",
									"description": "Search in name, code",
									"disabled": true
								}
							]
						},
						"description": "Retrieve a paginated list of categories."
					},
					"response": []
				},
				{
					"name": "Get Category",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{base_url}}/categories/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"categories",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "Category ID"
								}
							]
						},
						"description": "Retrieve a specific category by ID."
					},
					"response": []
				},
				{
					"name": "Create Category",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"name\": \"Mobile Phones\",\n    \"code\": \"MOB\",\n    \"status\": \"Active\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/categories",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"categories"
							]
						},
						"description": "Create a new category.\n\n**Required Fields:**\n- `name` (string, max 255 chars)\n- `status` (Active/Inactive)\n\n**Optional Fields:**\n- `code` (string, max 255 chars)"
					},
					"response": []
				},
				{
					"name": "Update Category",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "PATCH",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"name\": \"Updated Category Name\",\n    \"code\": \"UPD\",\n    \"status\": \"Active\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/categories/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"categories",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "Category ID"
								}
							]
						},
						"description": "Update an existing category. You can send all fields or only the fields you want to update."
					},
					"response": []
				},
				{
					"name": "Delete Category",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "{{base_url}}/categories/:id",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"categories",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "1",
									"description": "Category ID"
								}
							]
						},
						"description": "Delete a category (soft delete)."
					},
					"response": []
				}
			],
			"description": "Category management operations. All endpoints require authentication."
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "base_url",
			"value": "https://ebizlogx.com/products/inventory-management/public/api/v1",
			"type": "string"
		},
		{
			"key": "access_token",
			"value": "",
			"type": "string"
		}
	]
}



