Availability

Structure

FieldTypeRequiredDescription
productAvailabilityListList<AvailabilityProduct>falseproductAvailabilityList

JSON representation

{
    "productAvailabilityList": [
        {
            "quantityAvailable": 2,
            "product": {
                "id": 722,
                "chainProductId": 49,
                "code": "DBL",
                "name": "Double",
                "productType": {
                    "id": 1,
                    "code": "ACC",
                    "name": "Accommodation",
                    "nameI18n": "Accommodation"
                }
            },
			"dayQuantityAvailabilityList": [
                {
                    "date": "2023-05-24",
                    "quantity": 3
                }
            ],
            "occupancyAvailabilityList": [
                {
                    "adult": 2,
                    "junior": 0,
                    "child": 0,
                    "infant": 0,
                    "occupancyBoardAvailabilityList": [
                        {
                            "id": 5,
                            "code": "RO",
                            "name": "Room Only",
                            "rateAvailabilityList": [
                                {
                                    "rate": {
                                        "id": 2,
										"chainRateId": 1,
										"code": "BAR",
                                        "name": "Best Available Rate",
                                        "nameI18n": "Best Available Rate",
                                        "description": null,
                                        "descriptionI18n": null,
                                        "order": null
                                    },
                                    "board": {
                                        "id": 5,
                                        "name": "Room Only",
                                        "nameI18n": "Room Only",
                                        "order": null
                                    },
                                    "promotion": null,
                                    "offer": null,
                                    "propertyPolicy": {
                                        "id": 9,
                                        "name": "30 Days 100%",
                                        "nameI18n": "30 Days 100%",
                                        "description": null,
                                        "descriptionI18n": null,
                                        "colorCode": "#FDD835",
                                        "nonRefundable": false,
                                        "deadlineDay": 30,
                                        "deadlineHour": 0,
                                        "policyChargeType": {
                                            "id": 1,
                                            "code": null,
                                            "name": null,
                                            "nameI18nId": null,
                                            "nameI18n": null
                                        },
                                        "chargeValue": 100.000000
                                    },
                                    "avgPrice": 173.00,
                                    "totalPrice": 1038.000000,
                                    "totalAccommodationAmount": 1038.000000,
                                    "totalBoardAmount": 0,
                                    "totalServiceAmount": 0,
                                    "dayAvailabilityList": [
                                        {
                                            "date": "2023-10-18",
                                            "displayAmount": 173.000000,
                                            "amount": 173.000000,
                                            "sourceAmount": 173.000000,
                                            "accommodationAmount": 173.000000,
                                            "sourceAccommodationAmount": 173.000000,
                                            "boardAmount": 0,
                                            "sourceBoardAmount": 0,
                                            "serviceAmount": 0,
                                            "sourceServiceAmount": 0
                                        }
									]
								}
							]
						}
					],
					"description": null,
					"descriptionI18n": null
				}
			]
		}
	]
}