{
	"info": {
		"_postman_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
		"name": "GroupVAN Gateway",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"auth": {
		"type": "bearer",
		"bearer": [
			{
				"key": "token",
				"value": "{{ACCESS_TOKEN}}",
				"type": "string"
			}
		]
	},
	"item": [
		{
			"name": "Item Inquiry",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"items\": [\n        {\n            \"id\": \"1421\",\n            \"mfr_code\": \"BAR\",\n            \"part_number\": \"2522002\"\n        },\n        {\n            \"id\": \"6321\",\n            \"mfr_code\": \"FEF\",\n            \"part_number\": \"LF115F\"\n        }\n    ]\n}"
				},
				"url": {
					"raw": "{{BASE_URL}}/json/federated/v3_1/item_inquiry",
					"host": [
						"{{BASE_URL}}"
					],
					"path": [
						"json",
						"federated",
						"v3_1",
						"item_inquiry"
					]
				},
				"description": "Check pricing and availability for one or more parts across seller locations."
			},
			"response": []
		},
		{
			"name": "Place Order",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"purchase_order_number\": \"WND-210108A\",\n    \"comment\": \"\",\n    \"order_type\": 1,\n    \"items\": [\n        {\n            \"id\": \"1\",\n            \"mfr_code\": \"ACD\",\n            \"part_number\": \"PF63E\",\n            \"location_id\": \"Loc0001\",\n            \"quantity_ordered\": 1,\n            \"vehicle_description\": \"Toyota Corolla\"\n        }\n    ]\n}"
				},
				"url": {
					"raw": "{{BASE_URL}}/json/federated/v3_1/place_order",
					"host": [
						"{{BASE_URL}}"
					],
					"path": [
						"json",
						"federated",
						"v3_1",
						"place_order"
					]
				},
				"description": "Submit a purchase order to a seller system."
			},
			"response": []
		},
		{
			"name": "Catalog Launch",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"account_id\": \"123ABC\",\n    \"vehicle_lookup\": \"NONE\",\n    \"cart_id\": \"fdb7fd99-faf2-45ee-a9ab-176f80569847\",\n    \"location_id\": \"STORE1\"\n}"
				},
				"url": {
					"raw": "{{BASE_URL}}/auth/get_catalog_token",
					"host": [
						"{{BASE_URL}}"
					],
					"path": [
						"auth",
						"get_catalog_token"
					]
				},
				"description": "Generate a catalog session token for launching the GroupLink catalog."
			},
			"response": []
		},
		{
			"name": "Get Cart",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{BASE_URL}}/v2_1/catalog/cart/:cart_id",
					"host": [
						"{{BASE_URL}}"
					],
					"path": [
						"v2_1",
						"catalog",
						"cart",
						":cart_id"
					],
					"variable": [
						{
							"key": "cart_id",
							"value": "fdb7fd99-faf2-45ee-a9ab-176f80569847",
							"description": "Cart ID used during catalog launch"
						}
					]
				},
				"description": "Retrieve the cart contents from a catalog session."
			},
			"response": []
		}
	]
}
