{
	"info": {
		"name": "Dealer API",
		"description": "Read-only product feed for dealer/wholesale integrations. See https://wholesale-fishing-tackle.com/dealer-api-docs for full documentation.\n\nBefore using this collection, set the `api_key` collection variable to a real Dealer API key (Admin → Dealer API → API Keys → Create, or view an existing one).",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_postman_id": "dealer-api-wholesale-fishing-tackle"
	},
	"variable": [
		{
			"key": "base_url",
			"value": "https://wholesale-fishing-tackle.com",
			"type": "string"
		},
		{
			"key": "api_key",
			"value": "REPLACE_WITH_YOUR_DEALER_API_KEY",
			"type": "string"
		}
	],
	"auth": {
		"type": "apikey",
		"apikey": [
			{ "key": "key", "value": "X-API-KEY", "type": "string" },
			{ "key": "value", "value": "{{api_key}}", "type": "string" },
			{ "key": "in", "value": "header", "type": "string" }
		]
	},
	"item": [
		{
			"name": "Get Products (default)",
			"request": {
				"method": "GET",
				"header": [
					{ "key": "Accept", "value": "application/json" }
				],
				"url": {
					"raw": "{{base_url}}/api/dealer/products?limit=10&page=1",
					"host": ["{{base_url}}"],
					"path": ["api", "dealer", "products"],
					"query": [
						{ "key": "limit", "value": "10", "description": "Page size (default 10)" },
						{ "key": "page", "value": "1", "description": "Page number (default 1)" }
					]
				},
				"description": "Returns published, stock-managed products (excludes SFVU-% SKUs and product variations), newest first."
			},
			"response": []
		},
		{
			"name": "Get Products (filter by SKU)",
			"request": {
				"method": "GET",
				"header": [
					{ "key": "Accept", "value": "application/json" }
				],
				"url": {
					"raw": "{{base_url}}/api/dealer/products?sku=EXAMPLE-SKU-123",
					"host": ["{{base_url}}"],
					"path": ["api", "dealer", "products"],
					"query": [
						{ "key": "sku", "value": "EXAMPLE-SKU-123", "description": "Exact SKU match" }
					]
				},
				"description": "Replace the sku value with a real SKU to look up a single product."
			},
			"response": []
		},
		{
			"name": "Get Products (filter by keyword)",
			"request": {
				"method": "GET",
				"header": [
					{ "key": "Accept", "value": "application/json" }
				],
				"url": {
					"raw": "{{base_url}}/api/dealer/products?keyword=senko&limit=20",
					"host": ["{{base_url}}"],
					"path": ["api", "dealer", "products"],
					"query": [
						{ "key": "keyword", "value": "senko", "description": "Partial match against product name" },
						{ "key": "limit", "value": "20" }
					]
				},
				"description": "Replace the keyword value to search product names."
			},
			"response": []
		}
	]
}
