{
	"info": {
		"_postman_id": "8ae16c9f-f274-47d2-a694-86201856be37",
		"name": "EPS Rapid v3",
		"description": "Postman collection for EPS Rapid v3, for full documentation please see https://developers.expediagroup.com/docs/rapid/setup/getting-started",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Geography",
			"item": [
				{
					"name": "Region",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}/{{rapid_version}}/regions/:region_id?language=en-US&include=details",
							"host": [
								"{{eanapi_url}}"
							],
							"path": [
								"{{rapid_version}}",
								"regions",
								":region_id"
							],
							"query": [
								{
									"key": "language",
									"value": "en-US"
								},
								{
									"key": "include",
									"value": "details"
								},
								{
									"key": "include",
									"value": "property_ids",
									"disabled": true
								},
								{
									"key": "include",
									"value": "property_ids_expanded",
									"disabled": true
								},
								{
									"key": "supply_source",
									"value": "expedia",
									"disabled": true
								},
								{
									"key": "billing_terms",
									"value": "{{billing_terms}}",
									"disabled": true
								},
								{
									"key": "payment_terms",
									"value": "{{payment_terms}}",
									"disabled": true
								},
								{
									"key": "partner_point_of_sale",
									"value": "{{partner_point_of_sale}}",
									"disabled": true
								},
								{
									"key": "platform_name",
									"value": "{{platform_name}}",
									"disabled": true
								}
							],
							"variable": [
								{
									"key": "region_id",
									"value": "178248"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Regions",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"pm.test(\"Pagination link is present\", function() {",
									"    pm.response.to.have.header(\"Link\");",
									"});"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}/{{rapid_version}}/regions?include=details&language=en-US&country_code=US&type=country",
							"host": [
								"{{eanapi_url}}"
							],
							"path": [
								"{{rapid_version}}",
								"regions"
							],
							"query": [
								{
									"key": "include",
									"value": "details"
								},
								{
									"key": "include",
									"value": "property_ids",
									"disabled": true
								},
								{
									"key": "include",
									"value": "property_ids_expanded",
									"disabled": true
								},
								{
									"key": "language",
									"value": "en-US"
								},
								{
									"key": "ancestor_id",
									"value": "602962",
									"disabled": true
								},
								{
									"key": "area",
									"value": "3,602962",
									"disabled": true
								},
								{
									"key": "country_code",
									"value": "US"
								},
								{
									"key": "country_subdivision_code",
									"value": "US-MO",
									"disabled": true
								},
								{
									"key": "iata_location_code",
									"value": "CHI",
									"disabled": true
								},
								{
									"key": "limit",
									"value": "2",
									"disabled": true
								},
								{
									"key": "supply_source",
									"value": "expedia",
									"disabled": true
								},
								{
									"key": "type",
									"value": "country"
								},
								{
									"key": "billing_terms",
									"value": "{{billing_terms}}",
									"disabled": true
								},
								{
									"key": "payment_terms",
									"value": "{{payment_terms}}",
									"disabled": true
								},
								{
									"key": "partner_point_of_sale",
									"value": "{{partner_point_of_sale}}",
									"disabled": true
								},
								{
									"key": "platform_name",
									"value": "{{platform_name}}",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Polygon",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							},
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\"type\":\"Polygon\",\"coordinates\":[[[-122.2414,47.6115],[-122.202,47.5588],[-122.1395,47.5516],[-122.1487,47.6364],[-122.2414,47.6115]]]}"
						},
						"url": {
							"raw": "{{eanapi_url}}/{{rapid_version}}/properties/geography?include=property_ids",
							"host": [
								"{{eanapi_url}}"
							],
							"path": [
								"{{rapid_version}}",
								"properties",
								"geography"
							],
							"query": [
								{
									"key": "include",
									"value": "property_ids"
								},
								{
									"key": "supply_source",
									"value": "expedia",
									"disabled": true
								},
								{
									"key": "billing_terms",
									"value": "{{billing_terms}}",
									"disabled": true
								},
								{
									"key": "payment_terms",
									"value": "{{payment_terms}}",
									"disabled": true
								},
								{
									"key": "partner_point_of_sale",
									"value": "{{partner_point_of_sale}}",
									"disabled": true
								},
								{
									"key": "platform_name",
									"value": "{{platform_name}}",
									"disabled": true
								}
							]
						}
					},
					"response": []
				}
			],
			"event": [
				{
					"listen": "prerequest",
					"script": {
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				},
				{
					"listen": "test",
					"script": {
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				}
			]
		},
		{
			"name": "Content",
			"item": [
				{
					"name": "Property Content",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}/{{rapid_version}}/properties/content?language=en-US&supply_source=expedia&include=property_id&property_id=11775754",
							"host": [
								"{{eanapi_url}}"
							],
							"path": [
								"{{rapid_version}}",
								"properties",
								"content"
							],
							"query": [
								{
									"key": "language",
									"value": "en-US"
								},
								{
									"key": "supply_source",
									"value": "expedia"
								},
								{
									"key": "all_inclusive",
									"value": "all_rate_plans",
									"disabled": true
								},
								{
									"key": "amenity_id",
									"value": "1073744113",
									"disabled": true
								},
								{
									"key": "attribute_id",
									"value": "51",
									"disabled": true
								},
								{
									"key": "brand_id",
									"value": "0",
									"disabled": true
								},
								{
									"key": "business_model",
									"value": "property_collect",
									"disabled": true
								},
								{
									"key": "category_id",
									"value": "1",
									"disabled": true
								},
								{
									"key": "category_id_exclude",
									"value": "1",
									"disabled": true
								},
								{
									"key": "chain_id",
									"value": "0",
									"disabled": true
								},
								{
									"key": "country_code",
									"value": "US",
									"disabled": true
								},
								{
									"key": "date_added_end",
									"value": "2023-07-01",
									"disabled": true
								},
								{
									"key": "date_added_start",
									"value": "2023-06-01",
									"disabled": true
								},
								{
									"key": "date_updated_end",
									"value": "2023-07-02",
									"disabled": true
								},
								{
									"key": "date_updated_start",
									"value": "2023-07-01",
									"disabled": true
								},
								{
									"key": "include",
									"value": "property_id"
								},
								{
									"key": "multi_unit",
									"value": "true",
									"disabled": true
								},
								{
									"key": "property_id",
									"value": "11775754"
								},
								{
									"key": "property_rating_max",
									"value": "5",
									"disabled": true
								},
								{
									"key": "property_rating_min",
									"value": "4",
									"disabled": true
								},
								{
									"key": "spoken_language_id",
									"value": "en",
									"disabled": true
								},
								{
									"key": "billing_terms",
									"value": "{{billing_terms}}",
									"disabled": true
								},
								{
									"key": "payment_terms",
									"value": "{{payment_terms}}",
									"disabled": true
								},
								{
									"key": "partner_point_of_sale",
									"value": "{{partner_point_of_sale}}",
									"disabled": true
								},
								{
									"key": "platform_name",
									"value": "{{platform_name}}",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Inactive Properties",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}/{{rapid_version}}/properties/inactive?since=2023-07-12",
							"host": [
								"{{eanapi_url}}"
							],
							"path": [
								"{{rapid_version}}",
								"properties",
								"inactive"
							],
							"query": [
								{
									"key": "since",
									"value": "2023-07-12"
								},
								{
									"key": "billing_terms",
									"value": "{{billing_terms}}",
									"disabled": true
								},
								{
									"key": "payment_terms",
									"value": "{{payment_terms}}",
									"disabled": true
								},
								{
									"key": "partner_point_of_sale",
									"value": "{{partner_point_of_sale}}",
									"disabled": true
								},
								{
									"key": "platform_name",
									"value": "{{platform_name}}",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Guest Reviews",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}/{{rapid_version}}/properties/:property_id/guest-reviews?language=en-US",
							"host": [
								"{{eanapi_url}}"
							],
							"path": [
								"{{rapid_version}}",
								"properties",
								":property_id",
								"guest-reviews"
							],
							"query": [
								{
									"key": "language",
									"value": "en-US"
								},
								{
									"key": "filter",
									"value": "language",
									"disabled": true
								},
								{
									"key": "trip_reason",
									"value": "business_and_leisure",
									"disabled": true
								},
								{
									"key": "billing_terms",
									"value": "{{billing_terms}}",
									"disabled": true
								},
								{
									"key": "payment_terms",
									"value": "{{payment_terms}}",
									"disabled": true
								},
								{
									"key": "partner_point_of_sale",
									"value": "{{partner_point_of_sale}}",
									"disabled": true
								},
								{
									"key": "platform_name",
									"value": "{{platform_name}}",
									"disabled": true
								}
							],
							"variable": [
								{
									"key": "property_id",
									"value": "1"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Property Catalog File",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}/{{rapid_version}}/files/properties/catalog?language=en-US&supply_source=expedia",
							"host": [
								"{{eanapi_url}}"
							],
							"path": [
								"{{rapid_version}}",
								"files",
								"properties",
								"catalog"
							],
							"query": [
								{
									"key": "language",
									"value": "en-US"
								},
								{
									"key": "supply_source",
									"value": "expedia"
								},
								{
									"key": "billing_terms",
									"value": "{{billing_terms}}",
									"disabled": true
								},
								{
									"key": "payment_terms",
									"value": "{{payment_terms}}",
									"disabled": true
								},
								{
									"key": "partner_point_of_sale",
									"value": "{{partner_point_of_sale}}",
									"disabled": true
								},
								{
									"key": "platform_name",
									"value": "{{platform_name}}",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Property Content File",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}/{{rapid_version}}/files/properties/content?language=en-US&supply_source=expedia",
							"host": [
								"{{eanapi_url}}"
							],
							"path": [
								"{{rapid_version}}",
								"files",
								"properties",
								"content"
							],
							"query": [
								{
									"key": "language",
									"value": "en-US"
								},
								{
									"key": "supply_source",
									"value": "expedia"
								},
								{
									"key": "billing_terms",
									"value": "{{billing_terms}}",
									"disabled": true
								},
								{
									"key": "payment_terms",
									"value": "{{payment_terms}}",
									"disabled": true
								},
								{
									"key": "partner_point_of_sale",
									"value": "{{partner_point_of_sale}}",
									"disabled": true
								},
								{
									"key": "platform_name",
									"value": "{{platform_name}}",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Chains",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}/{{rapid_version}}/chains",
							"host": [
								"{{eanapi_url}}"
							],
							"path": [
								"{{rapid_version}}",
								"chains"
							],
							"query": [
								{
									"key": "billing_terms",
									"value": "{{billing_terms}}",
									"disabled": true
								},
								{
									"key": "payment_terms",
									"value": "{{payment_terms}}",
									"disabled": true
								},
								{
									"key": "partner_point_of_sale",
									"value": "{{partner_point_of_sale}}",
									"disabled": true
								},
								{
									"key": "platform_name",
									"value": "{{platform_name}}",
									"disabled": true
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Shop",
			"item": [
				{
					"name": "Availability",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							},
							{
								"key": "Test",
								"value": "standard",
								"type": "text",
								"disabled": true
							}
						],
						"url": {
							"raw": "{{eanapi_url}}/{{rapid_version}}/properties/availability?checkin={{checkin}}&checkout={{checkout}}&country_code=US&currency=USD&language=en-US&occupancy=2&property_id=11775754&rate_plan_count=1&sales_channel=website&sales_environment=hotel_only",
							"host": [
								"{{eanapi_url}}"
							],
							"path": [
								"{{rapid_version}}",
								"properties",
								"availability"
							],
							"query": [
								{
									"key": "checkin",
									"value": "{{checkin}}"
								},
								{
									"key": "checkout",
									"value": "{{checkout}}"
								},
								{
									"key": "country_code",
									"value": "US"
								},
								{
									"key": "currency",
									"value": "USD"
								},
								{
									"key": "language",
									"value": "en-US"
								},
								{
									"key": "occupancy",
									"value": "2"
								},
								{
									"key": "property_id",
									"value": "11775754"
								},
								{
									"key": "rate_plan_count",
									"value": "1"
								},
								{
									"key": "sales_channel",
									"value": "website"
								},
								{
									"key": "sales_environment",
									"value": "hotel_only"
								},
								{
									"key": "exclusion",
									"value": "refundable_damage_deposit",
									"disabled": true
								},
								{
									"key": "filter",
									"value": "expedia_collect",
									"disabled": true
								},
								{
									"key": "filter",
									"value": "refundable",
									"disabled": true
								},
								{
									"key": "include",
									"value": "unavailable_reason",
									"disabled": true
								},
								{
									"key": "include",
									"value": "rooms.rates.holdable",
									"disabled": true
								},
								{
									"key": "rate_option",
									"value": "net_rates",
									"disabled": true
								},
								{
									"key": "billing_terms",
									"value": "{{billing_terms}}",
									"disabled": true
								},
								{
									"key": "payment_terms",
									"value": "{{payment_terms}}",
									"disabled": true
								},
								{
									"key": "partner_point_of_sale",
									"value": "{{partner_point_of_sale}}",
									"disabled": true
								},
								{
									"key": "platform_name",
									"value": "{{platform_name}}",
									"disabled": true
								},
								{
									"key": "token",
									"value": "{{promotions_shop_token}}",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Additional Rates",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}{{additional_rates_link}}?token={{additional_rates_token}}",
							"host": [
								"{{eanapi_url}}{{additional_rates_link}}"
							],
							"query": [
								{
									"key": "token",
									"value": "{{additional_rates_token}}"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Shop For Change",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							},
							{
								"key": "Test",
								"value": "standard",
								"type": "default",
								"disabled": true
							}
						],
						"url": {
							"raw": "{{eanapi_url}}{{shop_for_change_link}}?token={{shop_for_change_token}}&sales_channel=website",
							"host": [
								"{{eanapi_url}}{{shop_for_change_link}}"
							],
							"query": [
								{
									"key": "token",
									"value": "{{shop_for_change_token}}"
								},
								{
									"key": "checkin",
									"value": "{{change_checkin}}",
									"disabled": true
								},
								{
									"key": "checkout",
									"value": "{{change_checkout}}",
									"disabled": true
								},
								{
									"key": "occupancy",
									"value": "1",
									"disabled": true
								},
								{
									"key": "sales_channel",
									"value": "website"
								},
								{
									"key": "exclusion",
									"value": "refundable_damage_deposit",
									"disabled": true
								},
								{
									"key": "filter",
									"value": "refundable",
									"disabled": true
								},
								{
									"key": "rate_option",
									"value": "member",
									"disabled": true
								},
								{
									"key": "include",
									"value": "sale_scenario.mobile_promotion",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Price Check",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							},
							{
								"key": "Test",
								"value": "hard_change",
								"type": "text",
								"disabled": true
							}
						],
						"url": {
							"raw": "{{eanapi_url}}{{price_check_link}}?token={{price_check_token}}",
							"host": [
								"{{eanapi_url}}{{price_check_link}}"
							],
							"query": [
								{
									"key": "token",
									"value": "{{price_check_token}}"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Payment Options",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}{{payment_options_link}}?token={{payment_options_token}}",
							"host": [
								"{{eanapi_url}}{{payment_options_link}}"
							],
							"query": [
								{
									"key": "token",
									"value": "{{payment_options_token}}"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Availability Calendar",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							},
							{
								"key": "Test",
								"value": "standard",
								"type": "text",
								"disabled": true
							}
						],
						"url": {
							"raw": "{{eanapi_url}}/{{rapid_version}}/calendars/availability?property_id=45333213&start_date={{checkin}}&end_date={{checkout}}",
							"host": [
								"{{eanapi_url}}"
							],
							"path": [
								"{{rapid_version}}",
								"calendars",
								"availability"
							],
							"query": [
								{
									"key": "property_id",
									"value": "45333213"
								},
								{
									"key": "start_date",
									"value": "{{checkin}}"
								},
								{
									"key": "end_date",
									"value": "{{checkout}}"
								},
								{
									"key": "start_date",
									"value": "2024-01-01",
									"disabled": true
								},
								{
									"key": "end_date",
									"value": "2024-01-31",
									"disabled": true
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Booking",
			"item": [
				{
					"name": "Itineraries (create)",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									"var timestamp = Math.floor(new Date().getTime()/1000).toString();",
									"pm.collectionVariables.set('affiliate_reference_id', \"RAPID_POSTMAN_\" + timestamp);"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							},
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Test",
								"value": "standard",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"affiliate_reference_id\": \"{{affiliate_reference_id}}\",\n    \"hold\": false,\n    \"email\": \"{{booking_email}}\",\n    \"phone\": {\n        \"country_code\": \"1\",\n        \"area_code\": \"487\",\n        \"number\": \"5550077\"\n    },\n    \"rooms\": [\n        {\n            \"given_name\": \"John\",\n            \"family_name\": \"Smith\",\n            \"smoking\": false,\n            \"special_request\": \"Top floor or away from street please\"\n            // ,\n            // For use only in the case of Sanctions Screening\n            // \"sensitive_traveler_details\": {\n            //     \"middle_name\": \"Clarifying\",\n            //     \"date_of_birth\": \"1963-12-04\",\n            //     \"address\": {\n            //         \"line_1\": \"5555 21st St\",\n            //         \"line_2\": \"5th Floor\",\n            //         \"line_3\": \"Unit 532\",\n            //         \"city\": \"Seattle\",\n            //         \"state_province_code\": \"WA\",\n            //         \"postal_code\": 98121,\n            //         \"country_code\": \"US\"\n            //     }\n            // }\n        }\n    ],\n    \"payments\": [\n        {\n            \"type\": \"customer_card\",\n            \"number\": \"4111111111111111\",\n            \"security_code\": \"123\",\n            \"expiration_month\": \"08\",\n            \"expiration_year\": \"2025\",\n            \"billing_contact\": {\n                \"given_name\": \"John\",\n                \"family_name\": \"Smith\",\n                \"address\": {\n                    \"line_1\": \"555 1st St\",\n                    \"line_2\": \"10th Floor\",\n                    \"line_3\": \"Unit 12\",\n                    \"city\": \"Seattle\",\n                    \"state_province_code\": \"WA\",\n                    \"postal_code\": \"98121\",\n                    \"country_code\": \"US\"\n                }\n            },\n            \"enrollment_date\": \"2018-09-15\"\n        }\n    ],\n    \"affiliate_metadata\": \"data_point_1:123|data_point2:This is data.\",\n    \"tax_registration_number\": \"12345678910\",\n    \"traveler_handling_instructions\": \"Please use the card provided for payment. Avoid cancelation as this is for a corporate traveler. Contact traveler if any issues.\", \n    \"additional_handling\":{\n        \"authorized_expenses\": \"total_plus_incidentals\",\n        \"specified_incidental_expenses\":\n            [\"breakfast\",\"internet\"],\n        \"total_charges_allowed\":\n        {\n            \"value\": \"875.00\",\n            \"currency\": \"USD\"\n        },\n        \"is_cvc_required\": true,\n        \"authorizing_company\": \"Conferma\",\n        \"card_contact\":\n        {\n            \"email\": \"chucktesta@mydomain.com\",\n            \"phone\":\n            {\n                \"country_code\": \"1\",\n                \"area_code\": \"555\",\n                \"number\": \"5555555\"\n            }\n        },\n        \"payment_allowable_period_start\": \"2024-01-01\",\n        \"payment_allowable_period_end\": \"2025-08-01\"\n    },\n    \"invoicing\":{\n        \"consent_to_share\": true,\n        \"company_name\": \"alphaDemandPartner\",\n        \"company_address\":\n        {\n            \"line_1\": \"555 1st St\",\n            \"line_2\": \"10th Floor\",\n            \"line_3\": \"Unit 12\",\n            \"city\": \"Seattle\",\n            \"state_province_code\": \"WA\",\n            \"postal_code\": \"98121\",\n            \"country_code\": \"US\"\n        },\n        \"email\": \"chucktesta@mydomain.com\",\n        \"vat_number\": \"1234567890\"\n    }\n}"
						},
						"url": {
							"raw": "{{eanapi_url}}{{book_link}}?token={{book_token}}",
							"host": [
								"{{eanapi_url}}{{book_link}}"
							],
							"query": [
								{
									"key": "token",
									"value": "{{book_token}}"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Itinerary (resume)",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							},
							{
								"key": "Test",
								"type": "text",
								"value": "standard"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}{{resume_link}}?token={{resume_token}}",
							"host": [
								"{{eanapi_url}}{{resume_link}}"
							],
							"query": [
								{
									"key": "token",
									"value": "{{resume_token}}"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Itinerary (complete_payment_session)",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							},
							{
								"key": "Test",
								"type": "text",
								"value": "standard"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}{{complete_payment_session_link}}?token={{complete_payment_session_token}}",
							"host": [
								"{{eanapi_url}}{{complete_payment_session_link}}"
							],
							"query": [
								{
									"key": "token",
									"value": "{{complete_payment_session_token}}"
								}
							]
						}
					},
					"response": []
				}
			],
			"event": [
				{
					"listen": "prerequest",
					"script": {
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				},
				{
					"listen": "test",
					"script": {
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				}
			]
		},
		{
			"name": "Manage Booking",
			"item": [
				{
					"name": "Itineraries (retrieve with ref)",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							},
							{
								"key": "Test",
								"type": "text",
								"value": "standard",
								"disabled": true
							}
						],
						"url": {
							"raw": "{{eanapi_url}}/{{rapid_version}}/itineraries?affiliate_reference_id={{affiliate_reference_id}}&email={{booking_email}}",
							"host": [
								"{{eanapi_url}}"
							],
							"path": [
								"{{rapid_version}}",
								"itineraries"
							],
							"query": [
								{
									"key": "affiliate_reference_id",
									"value": "{{affiliate_reference_id}}"
								},
								{
									"key": "email",
									"value": "{{booking_email}}"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Itinerary (retrieve)",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							},
							{
								"key": "Test",
								"type": "text",
								"value": "standard"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}{{retrieve_link}}?token={{retrieve_token}}",
							"host": [
								"{{eanapi_url}}{{retrieve_link}}"
							],
							"query": [
								{
									"key": "token",
									"value": "{{retrieve_token}}"
								},
								{
									"key": "include",
									"value": "history",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Booking Receipt",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/pdf"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							},
							{
								"key": "Test",
								"type": "text",
								"value": "standard"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}{{non_vat_expedia_invoice_link}}?token={{non_vat_expedia_invoice_token}}",
							"host": [
								"{{eanapi_url}}{{non_vat_expedia_invoice_link}}"
							],
							"query": [
								{
									"key": "token",
									"value": "{{non_vat_expedia_invoice_token}}"
								},
								{
									"key": "branding",
									"value": "unbranded",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Room (change details)",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							},
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Test",
								"type": "text",
								"value": "standard"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"given_name\": \"John\",\n  \"family_name\": \"Smith\",\n  \"smoking\": false,\n  \"special_request\": \"Top floor or away from street please, and a view of the sea. Also a view of the mountains. As well as a view of the park. And a view of the lake. Air conditioning is a must, and I need you to look after my dog, cat and horse. Would like to park my plane on the roof as well.\"\n//   ,\n// For use only in the case of Supplier loyalty points awards\n//   \"loyalty\": {\n//     \"member_id\": \"ABD123\",\n//     \"program_id\": \"SN\"\n//   }\n// ,\n// For use only in the case of Sanctions Screening\n//   \"sensitive_traveler_details\": {\n//     \"middle_name\": \"Clarifying\",\n//     \"date_of_birth\": \"1963-12-04\",\n//     \"address\": {\n//       \"line_1\": \"5555 21st St\",\n//       \"line_2\": \"5th Floor\",\n//       \"line_3\": \"Unit 532\",\n//       \"city\": \"Seattle\",\n//       \"state_province_code\": \"WA\",\n//       \"postal_code\": 98121,\n//       \"country_code\": \"US\"\n//     }\n//   }\n}"
						},
						"url": {
							"raw": "{{eanapi_url}}{{change_room_link}}?token={{change_room_token}}",
							"host": [
								"{{eanapi_url}}{{change_room_link}}"
							],
							"query": [
								{
									"key": "token",
									"value": "{{change_room_token}}"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Commit Pricing (hard change)",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							},
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Test",
								"type": "text",
								"value": "standard"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"change_reference_id\": \"testing-change-1\",\n    \"payments\": [\n        {\n            \"type\": \"customer_card\",\n            \"number\": \"4111111111111111\",\n            \"security_code\": \"123\",\n            \"expiration_month\": \"08\",\n            \"expiration_year\": \"2025\",\n            \"billing_contact\": {\n                \"given_name\": \"John\",\n                \"family_name\": \"Smith\",\n                \"address\": {\n                    \"line_1\": \"555 1st St\",\n                    \"line_2\": \"10th Floor\",\n                    \"line_3\": \"Unit 12\",\n                    \"city\": \"Seattle\",\n                    \"state_province_code\": \"WA\",\n                    \"postal_code\": \"98121\",\n                    \"country_code\": \"US\"\n                }\n            },\n            \"enrollment_date\": \"2018-09-15\"\n        }\n    ]\n}"
						},
						"url": {
							"raw": "{{eanapi_url}}{{hard_change_link}}?token={{hard_change_token}}",
							"host": [
								"{{eanapi_url}}{{hard_change_link}}"
							],
							"query": [
								{
									"key": "token",
									"value": "{{hard_change_token}}"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Payment Change",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							},
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Test",
								"type": "text",
								"value": "standard"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"change_reference_id\": \"testing-change-1\",\n    \"payments\": [\n        {\n            \"type\": \"customer_card\",\n            \"number\": \"4111111111111111\",\n            \"security_code\": \"123\",\n            \"expiration_month\": \"08\",\n            \"expiration_year\": \"2025\",\n            \"billing_contact\": {\n                \"given_name\": \"John\",\n                \"family_name\": \"Smith\",\n                \"address\": {\n                    \"line_1\": \"555 1st St\",\n                    \"line_2\": \"10th Floor\",\n                    \"line_3\": \"Unit 12\",\n                    \"city\": \"Seattle\",\n                    \"state_province_code\": \"WA\",\n                    \"postal_code\": \"98121\",\n                    \"country_code\": \"US\"\n                }\n            },\n            \"enrollment_date\": \"2018-09-15\"\n        }\n    ]\n}"
						},
						"url": {
							"raw": "{{eanapi_url}}{{payment_change_link}}?token={{payment_change_token}}",
							"host": [
								"{{eanapi_url}}{{payment_change_link}}"
							],
							"query": [
								{
									"key": "token",
									"value": "{{payment_change_token}}"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Itinerary (cancel)",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							},
							{
								"key": "Test",
								"type": "text",
								"value": "standard"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}{{cancel_link}}?token={{cancel_token}}",
							"host": [
								"{{eanapi_url}}{{cancel_link}}"
							],
							"query": [
								{
									"key": "token",
									"value": "{{cancel_token}}"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Room (cancel)",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							},
							{
								"key": "Test",
								"type": "text",
								"value": "standard"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}{{cancel_room_link}}?token={{cancel_room_token}}",
							"host": [
								"{{eanapi_url}}{{cancel_room_link}}"
							],
							"query": [
								{
									"key": "token",
									"value": "{{cancel_room_token}}"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Reference",
			"item": [
				{
					"name": "Pagination",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							}
						],
						"url": {
							"raw": "{{pagination_link}}?token={{pagination_token}}",
							"host": [
								"{{pagination_link}}"
							],
							"query": [
								{
									"key": "token",
									"value": "{{pagination_token}}"
								},
								{
									"key": "limit",
									"value": "2",
									"disabled": true
								}
							]
						},
						"description": "This pagination request works with any collection that supports pagination."
					},
					"response": []
				}
			]
		},
		{
			"name": "Notifications",
			"item": [
				{
					"name": "Request Undelivered",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}",
								"type": "text"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip",
								"type": "text"
							},
							{
								"key": "Test",
								"value": "standard",
								"type": "default",
								"disabled": true
							}
						],
						"url": {
							"raw": "{{eanapi_url}}/{{rapid_version}}/notifications?undeliverable=true",
							"host": [
								"{{eanapi_url}}"
							],
							"path": [
								"{{rapid_version}}",
								"notifications"
							],
							"query": [
								{
									"key": "undeliverable",
									"value": "true"
								},
								{
									"key": "billing_terms",
									"value": "{{billing_terms}}",
									"disabled": true
								},
								{
									"key": "partner_point_of_sale",
									"value": "{{partner_point_of_sale}}",
									"disabled": true
								},
								{
									"key": "payment_terms",
									"value": "{{payment_terms}}",
									"disabled": true
								},
								{
									"key": "platform_name",
									"value": "{{platform_name}}",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Request Test",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}",
								"type": "text"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip",
								"type": "text"
							},
							{
								"key": "Test",
								"value": "standard",
								"type": "default"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"event_type\": \"itinerary.agent.create\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{eanapi_url}}/{{rapid_version}}/notifications",
							"host": [
								"{{eanapi_url}}"
							],
							"path": [
								"{{rapid_version}}",
								"notifications"
							],
							"query": [
								{
									"key": "billing_terms",
									"value": "{{billing_terms}}",
									"disabled": true
								},
								{
									"key": "partner_point_of_sale",
									"value": "{{partner_point_of_sale}}",
									"disabled": true
								},
								{
									"key": "payment_terms",
									"value": "{{payment_terms}}",
									"disabled": true
								},
								{
									"key": "platform_name",
									"value": "{{platform_name}}",
									"disabled": true
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Merchandising",
			"item": [
				{
					"name": "Campaigns",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}/{{rapid_version}}/campaigns?language=en-US",
							"host": [
								"{{eanapi_url}}"
							],
							"path": [
								"{{rapid_version}}",
								"campaigns"
							],
							"query": [
								{
									"key": "language",
									"value": "en-US"
								},
								{
									"key": "blockout_dates",
									"value": "false",
									"disabled": true
								},
								{
									"key": "bookable_end",
									"value": "2025-09-15",
									"disabled": true
								},
								{
									"key": "bookable_start",
									"value": "2025-08-15",
									"disabled": true
								},
								{
									"key": "campaign_id",
									"value": "12345",
									"disabled": true
								},
								{
									"key": "chain_id",
									"value": "1",
									"disabled": true
								},
								{
									"key": "lifetime",
									"value": "limited_time_offer",
									"disabled": true
								},
								{
									"key": "include",
									"value": "name",
									"disabled": true
								},
								{
									"key": "min_discount",
									"value": "10",
									"disabled": true
								},
								{
									"key": "min_guest_rating",
									"value": "4.0",
									"disabled": true
								},
								{
									"key": "min_star_rating",
									"value": "4.5",
									"disabled": true
								},
								{
									"key": "product_line",
									"value": "hotel",
									"disabled": true
								},
								{
									"key": "stay_end",
									"value": "2025-10-15",
									"disabled": true
								},
								{
									"key": "stay_start",
									"value": "2025-09-15",
									"disabled": true
								},
								{
									"key": "billing_terms",
									"value": "{{billing_terms}}",
									"disabled": true
								},
								{
									"key": "payment_terms",
									"value": "{{payment_terms}}",
									"disabled": true
								},
								{
									"key": "partner_point_of_sale",
									"value": "{{partner_point_of_sale}}",
									"disabled": true
								},
								{
									"key": "platform_name",
									"value": "{{platform_name}}",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Property Promotions",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{authorization}}"
							},
							{
								"key": "Customer-Ip",
								"value": "5.5.5.5"
							},
							{
								"key": "Accept",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"value": "gzip"
							}
						],
						"url": {
							"raw": "{{eanapi_url}}/{{rapid_version}}/property-promotions?sort_by=destination&language=en-US",
							"host": [
								"{{eanapi_url}}"
							],
							"path": [
								"{{rapid_version}}",
								"property-promotions"
							],
							"query": [
								{
									"key": "sort_by",
									"value": "destination"
								},
								{
									"key": "language",
									"value": "en-US"
								},
								{
									"key": "blockout_dates",
									"value": "false",
									"disabled": true
								},
								{
									"key": "bookable_end",
									"value": "2025-09-15",
									"disabled": true
								},
								{
									"key": "bookable_start",
									"value": "2025-08-15",
									"disabled": true
								},
								{
									"key": "campaign_id",
									"value": "999",
									"disabled": true
								},
								{
									"key": "category_id",
									"value": "1",
									"disabled": true
								},
								{
									"key": "chain_id",
									"value": "1",
									"disabled": true
								},
								{
									"key": "lifetime",
									"value": "limited_time_offer",
									"disabled": true
								},
								{
									"key": "include",
									"value": "stay_start",
									"disabled": true
								},
								{
									"key": "market_region",
									"value": "amer",
									"disabled": true
								},
								{
									"key": "members_only",
									"value": "false",
									"disabled": true
								},
								{
									"key": "min_advance_purchase_days",
									"value": "5",
									"disabled": true
								},
								{
									"key": "min_guest_rating",
									"value": "4",
									"disabled": true
								},
								{
									"key": "min_star_rating",
									"value": "2",
									"disabled": true
								},
								{
									"key": "min_stay",
									"value": "1",
									"disabled": true
								},
								{
									"key": "mobile_only",
									"value": "false",
									"disabled": true
								},
								{
									"key": "product_line",
									"value": "cross_sell",
									"disabled": true
								},
								{
									"key": "promotion_criteria",
									"value": "percentage,20",
									"disabled": true
								},
								{
									"key": "promotion_id",
									"value": "1234567890",
									"disabled": true
								},
								{
									"key": "property_id",
									"value": "119",
									"disabled": true
								},
								{
									"key": "region_id",
									"value": "3235",
									"disabled": true
								},
								{
									"key": "stay_end",
									"value": "2025-10-15",
									"disabled": true
								},
								{
									"key": "stay_start",
									"value": "2025-09-15",
									"disabled": true
								},
								{
									"key": "supply_source",
									"value": "expedia",
									"disabled": true
								}
							]
						}
					},
					"response": []
				}
			]
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					"// check preconditions",
					"if (!pm.variables.get('api_key') || !pm.variables.get('shared_secret')) {",
					"    throw Error('The api_key or shared_secret environment variables have not been set');",
					"}",
					"pm.request.headers.remove(\"User-Agent\");",
					"pm.request.headers.add(\"EPS Rapid Postman Collection - 2026-05-15\", \"User-Agent\");",
					"",
					"// setup authorization, checkin and checkout dates",
					"pm.variables.set('authorization', getAuthorizationKey());",
					"pm.variables.set('checkin', getIsoDate(30));",
					"pm.variables.set('checkout', getIsoDate(32));",
					"pm.variables.set('change_checkin', getIsoDate(31));",
					"pm.variables.set('change_checkout', getIsoDate(33));",
					"pm.variables.set('arrival', getIsoTime(30));",
					"",
					"function getAuthorizationKey() {",
					"    var timestamp =  Math.floor(new Date().getTime()/1000).toString();",
					"    return 'EAN apikey=' + pm.variables.get('api_key') ",
					"        + ',signature=' + getSigSHA512(timestamp)",
					"        + ',timestamp=' + timestamp;    ",
					"}",
					"",
					"function getSigSHA512(current_timestamp) {",
					"    var sig = pm.variables.get('api_key') ",
					"        + pm.variables.get('shared_secret') + current_timestamp;",
					"    return CryptoJS.SHA512(sig).toString();",
					"}",
					"",
					"function getIsoTime(days_from_today) {",
					"    var MS_PER_DAY = 24 * 60 * 60 * 1000;",
					"    var date = new Date(new Date().getTime() + days_from_today * MS_PER_DAY);",
					"    return date.toISOString();",
					"}",
					"",
					"function getIsoDate(days_from_today) {",
					"    var date = new Date(getIsoTime(days_from_today))",
					"    return date.getFullYear() + '-' + pad(date.getMonth()+1) + '-' + pad(date.getDate());",
					"}",
					"",
					"function pad(number) {",
					"    var r = String(number);",
					"    if ( r.length === 1 ) {",
					"        r = '0' + r;",
					"    }",
					"    return r;",
					"}"
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					"pm.test('Status code is 2xx', function () {",
					"    pm.expect(pm.response.code).to.be.oneOf([200, 201, 202, 204]);",
					"});",
					"",
					"pm.test('Requested version matches collection version', function() {",
					"    var expected_version = '/' + pm.variables.get('rapid_version') + '/';",
					"    pm.expect(request.url).to.include(expected_version);",
					"})",
					"",
					"function setLinkAndToken(linkVarNamePrefix, rawLink) {",
					"    pm.collectionVariables.set(linkVarNamePrefix + '_link', rawLink.substring(0, rawLink.indexOf('?')));",
					"    pm.collectionVariables.set(linkVarNamePrefix + '_token', rawLink.substring(rawLink.indexOf('token=') + 6));",
					"    console.log(linkVarNamePrefix + ' link and token set');",
					"}",
					"",
					"var response = null;",
					"try {",
					"    response = JSON.parse(responseBody);",
					"} catch(err) {",
					"    console.log(err);",
					"}",
					"",
					"if (response) {",
					"    try {",
					"        setLinkAndToken('price_check', Object.values(response[0].rooms[0].rates[0].bed_groups)[0].links.price_check.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('additional_rates', response[0].links.additional_rates.href);",
					"    } catch(err) {}",
					"",
					"    try {",
					"        setLinkAndToken('payment_options', response[0].rooms[0].rates[0].links.payment_options.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('book', response.links.book.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('retrieve', response.links.retrieve.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('resume', response.links.resume.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('cancel', response.links.cancel.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('payment_change', response.links.payment_change.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('payment_change', response[0].links.payment_change.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('cancel_room', response[0].rooms[0].links.cancel.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('non_vat_expedia_invoice', response[0].links.non_vat_expedia_invoice.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('change_room', response[0].rooms[0].links.change.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('shop_for_change', response[0].rooms[0].links.shop_for_change.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('cancel_room', response.rooms[0].links.cancel.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('non_vat_expedia_invoice', response.links.non_vat_expedia_invoice.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('change_room', response.rooms[0].links.change.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('shop_for_change', response.rooms[0].links.shop_for_change.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('hard_change', response.links.commit.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        setLinkAndToken('complete_payment_session', response.links.complete_payment_session.href);",
					"    } catch(err) {}",
					"",
					"    try {",
					"        setLinkAndToken('promotions_shop', response[0].links.shop.href);",
					"    } catch(err) {}",
					"    ",
					"    try {",
					"        var linkHeader = postman.getResponseHeader('Link');",
					"        setLinkAndToken('pagination', linkHeader.substring(1, linkHeader.indexOf('>')));",
					"    } catch(err) {}",
					"}"
				]
			}
		}
	],
	"variable": [
		{
			"key": "rapid_version",
			"value": "v3"
		},
		{
			"key": "eanapi_url",
			"value": "https://test.ean.com"
		},
		{
			"key": "booking_email",
			"value": "john@example.com"
		},
		{
			"key": "additional_rates_link",
			"value": "/1"
		},
		{
			"key": "additional_rates_token",
			"value": ""
		},
		{
			"key": "price_check_link",
			"value": "/1"
		},
		{
			"key": "price_check_token",
			"value": ""
		},
		{
			"key": "payment_options_link",
			"value": "/1"
		},
		{
			"key": "payment_options_token",
			"value": ""
		},
		{
			"key": "book_link",
			"value": "/1"
		},
		{
			"key": "book_token",
			"value": ""
		},
		{
			"key": "retrieve_link",
			"value": "/1"
		},
		{
			"key": "retrieve_token",
			"value": ""
		},
		{
			"key": "resume_link",
			"value": "/1"
		},
		{
			"key": "resume_token",
			"value": ""
		},
		{
			"key": "cancel_link",
			"value": "/1"
		},
		{
			"key": "cancel_token",
			"value": ""
		},
		{
			"key": "cancel_room_link",
			"value": "/1"
		},
		{
			"key": "cancel_room_token",
			"value": ""
		},
		{
			"key": "non_vat_expedia_invoice_link",
			"value": "/1"
		},
		{
			"key": "non_vat_expedia_invoice_token",
			"value": ""
		},
		{
			"key": "change_room_link",
			"value": "/1"
		},
		{
			"key": "change_room_token",
			"value": ""
		},
		{
			"key": "complete_payment_session_link",
			"value": "/1"
		},
		{
			"key": "complete_payment_session_token",
			"value": ""
		},
		{
			"key": "pagination_link",
			"value": "/1"
		},
		{
			"key": "pagination_token",
			"value": ""
		},
		{
			"key": "shop_for_change_link",
			"value": "/1"
		},
		{
			"key": "shop_for_change_token",
			"value": ""
		},
		{
			"key": "hard_change_link",
			"value": "/1"
		},
		{
			"key": "hard_change_token",
			"value": ""
		},
		{
			"key": "affiliate_reference_id",
			"value": ""
		},
		{
			"key": "payment_change_link",
			"value": "/1",
			"type": "default"
		},
		{
			"key": "payment_change_token",
			"value": "",
			"type": "default"
		},
		{
			"key": "promotions_shop_link",
			"value": "/1",
			"type": "default"
		},
		{
			"key": "promotions_shop_token",
			"value": "",
			"type": "default"
		}
	]
}