Link

Extend the stay

Arrive a day earlier? Stay for the weekend? Extending the stay is a very standard amend use-case.

To extend the stay, you get the alternative offers for a reservation, and either wait for user input to choose one, or use your magic to determine the best. When getting the alternative offers, be sure to change the arrival and/or departure dates of the reservation, so that the new offer covers the additional days.

GET /booking/v1/reservations/{id}/offers

When getting the alternative offers, be sure to change the arrival and/or departure dates of the reservation, so that the new offer covers the additional days.

Example

{
    "property":{
        "id":"LND",
        "code":"LND",
        "name":"Hotel London",
        "description":"Located in a quiet side street with a beautiful garden in the backyard, Hotel London is prefect for relaxing after a day of shopping or a night of partying."
    },
    "offers":[
        {
            "arrival":"2020-09-24T16:00:00+01:00",
            "departure":"2020-09-29T10:00:00+01:00",
            "minGuaranteeType":"Prepayment",
            "availableUnits":22,
            "totalGrossAmount":{
                "amount":599,
                "currency":"GBP"
            },
            "cancellationFee":{
                "code":"STR",
                "name":"Strict",
                "description":"No free cancellation.",
                "dueDateTime":"2020-09-23T08:24:53.092124+01:00",
                "fee":{
                    "amount":449,
                    "currency":"GBP"
                }
            },
            "noShowFee":{
                "code":"NONREF",
                "fee":{
                    "amount":449,
                    "currency":"GBP"
                }
            },
            "timeSlices":[
                {
                    "from":"2020-09-24T16:00:00+01:00",
                    "to":"2020-09-25T09:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-NONREF-SGL",
                        "code":"NONREF",
                        "name":"Non Refundable",
                        "description":"Pay in advance and safe. If you cancel we well keep the amount of the full stay.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-SGL",
                        "code":"SGL",
                        "name":"Single",
                        "description":"Nice and comfortable room with shower and single bed.",
                        "maxPersons":1
                    },
                    "baseAmount":{
                        "grossAmount":94,
                        "netAmount":89.52,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":94,
                        "currency":"GBP"
                    }
                },
                {
                    "from":"2020-09-25T09:00:00+01:00",
                    "to":"2020-09-26T09:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-NONREF-SGL",
                        "code":"NONREF",
                        "name":"Non Refundable",
                        "description":"Pay in advance and safe. If you cancel we well keep the amount of the full stay.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-SGL",
                        "code":"SGL",
                        "name":"Single",
                        "description":"Nice and comfortable room with shower and single bed.",
                        "maxPersons":1
                    },
                    "baseAmount":{
                        "grossAmount":81,
                        "netAmount":77.14,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":81,
                        "currency":"GBP"
                    }
                },
                {
                    "from":"2020-09-26T09:00:00+01:00",
                    "to":"2020-09-27T09:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-NONREF-SGL",
                        "code":"NONREF",
                        "name":"Non Refundable",
                        "description":"Pay in advance and safe. If you cancel we well keep the amount of the full stay.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-SGL",
                        "code":"SGL",
                        "name":"Single",
                        "description":"Nice and comfortable room with shower and single bed.",
                        "maxPersons":1
                    },
                    "baseAmount":{
                        "grossAmount":91,
                        "netAmount":86.67,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":91,
                        "currency":"GBP"
                    }
                },
                {
                    "from":"2020-09-27T09:00:00+01:00",
                    "to":"2020-09-28T09:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-NONREF-SGL",
                        "code":"NONREF",
                        "name":"Non Refundable",
                        "description":"Pay in advance and safe. If you cancel we well keep the amount of the full stay.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-SGL",
                        "code":"SGL",
                        "name":"Single",
                        "description":"Nice and comfortable room with shower and single bed.",
                        "maxPersons":1
                    },
                    "baseAmount":{
                        "grossAmount":96,
                        "netAmount":91.43,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":96,
                        "currency":"GBP"
                    }
                },
                {
                    "from":"2020-09-28T09:00:00+01:00",
                    "to":"2020-09-29T10:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-NONREF-SGL",
                        "code":"NONREF",
                        "name":"Non Refundable",
                        "description":"Pay in advance and safe. If you cancel we well keep the amount of the full stay.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-SGL",
                        "code":"SGL",
                        "name":"Single",
                        "description":"Nice and comfortable room with shower and single bed.",
                        "maxPersons":1
                    },
                    "baseAmount":{
                        "grossAmount":87,
                        "netAmount":82.86,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":87,
                        "currency":"GBP"
                    }
                }
            ],
            "services":[
                {
                    "service":{
                        "id":"LND-BRKF",
                        "code":"BRKF",
                        "name":"Breakfast",
                        "description":"Enjoy fresh fruit, just-baked viennoiseries, or a hearty morning meal.",
                        "pricingUnit":"Person",
                        "defaultGrossPrice":{
                            "amount":20,
                            "currency":"GBP"
                        }
                    },
                    "count":1,
                    "totalAmount":{
                        "grossAmount":100,
                        "netAmount":83.35,
                        "vatType":"Normal",
                        "currency":"GBP"
                    },
                    "prePaymentAmount":{
                        "amount":100,
                        "currency":"GBP"
                    },
                    "dates":[
                        {
                            "serviceDate":"2020-09-25",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-26",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-27",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-28",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-29",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        }
                    ]
                },
                {
                    "service":{
                        "id":"LND-WLAN",
                        "code":"WLAN",
                        "name":"High-Speed WLAN",
                        "description":"Upgrade the complimentary internet access to a high speed connection.",
                        "pricingUnit":"Room",
                        "defaultGrossPrice":{
                            "amount":10,
                            "currency":"GBP"
                        }
                    },
                    "count":1,
                    "totalAmount":{
                        "grossAmount":50,
                        "netAmount":41.65,
                        "vatType":"Normal",
                        "currency":"GBP"
                    },
                    "prePaymentAmount":{
                        "amount":50,
                        "currency":"GBP"
                    },
                    "dates":[
                        {
                            "serviceDate":"2020-09-24",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-25",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-26",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-27",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-28",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        }
                    ]
                }
            ],
            "taxDetails":[
                {
                    "vatType":"Null",
                    "vatPercent":0,
                    "net":{
                        "amount":0,
                        "currency":"GBP"
                    },
                    "tax":{
                        "amount":0,
                        "currency":"GBP"
                    }
                },
                {
                    "vatType":"Reduced",
                    "vatPercent":5,
                    "net":{
                        "amount":427.62,
                        "currency":"GBP"
                    },
                    "tax":{
                        "amount":21.38,
                        "currency":"GBP"
                    }
                },
                {
                    "vatType":"Normal",
                    "vatPercent":20,
                    "net":{
                        "amount":125,
                        "currency":"GBP"
                    },
                    "tax":{
                        "amount":25,
                        "currency":"GBP"
                    }
                },
                {
                    "vatType":"Without",
                    "vatPercent":0,
                    "net":{
                        "amount":0,
                        "currency":"GBP"
                    },
                    "tax":{
                        "amount":0,
                        "currency":"GBP"
                    }
                }
            ],
            "isCorporate":false
        },
        {
            "arrival":"2020-09-24T16:00:00+01:00",
            "departure":"2020-09-29T10:00:00+01:00",
            "minGuaranteeType":"CreditCard",
            "availableUnits":27,
            "totalGrossAmount":{
                "amount":899,
                "currency":"GBP"
            },
            "cancellationFee":{
                "code":"STR",
                "name":"Strict",
                "description":"No free cancellation.",
                "dueDateTime":"2020-09-23T08:24:53.092124+01:00",
                "fee":{
                    "amount":674.05,
                    "currency":"GBP"
                }
            },
            "noShowFee":{
                "code":"NONREF",
                "fee":{
                    "amount":674.05,
                    "currency":"GBP"
                }
            },
            "timeSlices":[
                {
                    "from":"2020-09-24T16:00:00+01:00",
                    "to":"2020-09-25T09:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-IBRKF-DBL",
                        "code":"IBRKF",
                        "name":"Include breakfast",
                        "description":"A rate for double rooms with breakfast included.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-DBL",
                        "code":"DBL",
                        "name":"Double",
                        "description":"Big room with balcony, whirlpool and a kingsize bed.",
                        "maxPersons":2
                    },
                    "baseAmount":{
                        "grossAmount":139.01,
                        "netAmount":132.39,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":154,
                        "currency":"GBP"
                    },
                    "includedServices":[
                        {
                            "service":{
                                "id":"LND-BRKF",
                                "code":"BRKF",
                                "name":"Breakfast",
                                "description":"Enjoy fresh fruit, just-baked viennoiseries, or a hearty morning meal."
                            },
                            "serviceDate":"2020-09-25",
                            "count":1,
                            "amount":{
                                "grossAmount":14.99,
                                "netAmount":12.49,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "bookedAsExtra":true,
                            "pricingMode":"Included"
                        }
                    ]
                },
                {
                    "from":"2020-09-25T09:00:00+01:00",
                    "to":"2020-09-26T09:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-IBRKF-DBL",
                        "code":"IBRKF",
                        "name":"Include breakfast",
                        "description":"A rate for double rooms with breakfast included.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-DBL",
                        "code":"DBL",
                        "name":"Double",
                        "description":"Big room with balcony, whirlpool and a kingsize bed.",
                        "maxPersons":2
                    },
                    "baseAmount":{
                        "grossAmount":126.01,
                        "netAmount":120.01,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":141,
                        "currency":"GBP"
                    },
                    "includedServices":[
                        {
                            "service":{
                                "id":"LND-BRKF",
                                "code":"BRKF",
                                "name":"Breakfast",
                                "description":"Enjoy fresh fruit, just-baked viennoiseries, or a hearty morning meal."
                            },
                            "serviceDate":"2020-09-26",
                            "count":1,
                            "amount":{
                                "grossAmount":14.99,
                                "netAmount":12.49,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "bookedAsExtra":true,
                            "pricingMode":"Included"
                        }
                    ]
                },
                {
                    "from":"2020-09-26T09:00:00+01:00",
                    "to":"2020-09-27T09:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-IBRKF-DBL",
                        "code":"IBRKF",
                        "name":"Include breakfast",
                        "description":"A rate for double rooms with breakfast included.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-DBL",
                        "code":"DBL",
                        "name":"Double",
                        "description":"Big room with balcony, whirlpool and a kingsize bed.",
                        "maxPersons":2
                    },
                    "baseAmount":{
                        "grossAmount":136.01,
                        "netAmount":129.53,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":151,
                        "currency":"GBP"
                    },
                    "includedServices":[
                        {
                            "service":{
                                "id":"LND-BRKF",
                                "code":"BRKF",
                                "name":"Breakfast",
                                "description":"Enjoy fresh fruit, just-baked viennoiseries, or a hearty morning meal."
                            },
                            "serviceDate":"2020-09-27",
                            "count":1,
                            "amount":{
                                "grossAmount":14.99,
                                "netAmount":12.49,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "bookedAsExtra":true,
                            "pricingMode":"Included"
                        }
                    ]
                },
                {
                    "from":"2020-09-27T09:00:00+01:00",
                    "to":"2020-09-28T09:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-IBRKF-DBL",
                        "code":"IBRKF",
                        "name":"Include breakfast",
                        "description":"A rate for double rooms with breakfast included.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-DBL",
                        "code":"DBL",
                        "name":"Double",
                        "description":"Big room with balcony, whirlpool and a kingsize bed.",
                        "maxPersons":2
                    },
                    "baseAmount":{
                        "grossAmount":141.01,
                        "netAmount":134.3,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":156,
                        "currency":"GBP"
                    },
                    "includedServices":[
                        {
                            "service":{
                                "id":"LND-BRKF",
                                "code":"BRKF",
                                "name":"Breakfast",
                                "description":"Enjoy fresh fruit, just-baked viennoiseries, or a hearty morning meal."
                            },
                            "serviceDate":"2020-09-28",
                            "count":1,
                            "amount":{
                                "grossAmount":14.99,
                                "netAmount":12.49,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "bookedAsExtra":true,
                            "pricingMode":"Included"
                        }
                    ]
                },
                {
                    "from":"2020-09-28T09:00:00+01:00",
                    "to":"2020-09-29T10:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-IBRKF-DBL",
                        "code":"IBRKF",
                        "name":"Include breakfast",
                        "description":"A rate for double rooms with breakfast included.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-DBL",
                        "code":"DBL",
                        "name":"Double",
                        "description":"Big room with balcony, whirlpool and a kingsize bed.",
                        "maxPersons":2
                    },
                    "baseAmount":{
                        "grossAmount":132.01,
                        "netAmount":125.72,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":147,
                        "currency":"GBP"
                    },
                    "includedServices":[
                        {
                            "service":{
                                "id":"LND-BRKF",
                                "code":"BRKF",
                                "name":"Breakfast",
                                "description":"Enjoy fresh fruit, just-baked viennoiseries, or a hearty morning meal."
                            },
                            "serviceDate":"2020-09-29",
                            "count":1,
                            "amount":{
                                "grossAmount":14.99,
                                "netAmount":12.49,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "bookedAsExtra":true,
                            "pricingMode":"Included"
                        }
                    ]
                }
            ],
            "services":[
                {
                    "service":{
                        "id":"LND-BRKF",
                        "code":"BRKF",
                        "name":"Breakfast",
                        "description":"Enjoy fresh fruit, just-baked viennoiseries, or a hearty morning meal.",
                        "pricingUnit":"Person",
                        "defaultGrossPrice":{
                            "amount":20,
                            "currency":"GBP"
                        }
                    },
                    "count":1,
                    "totalAmount":{
                        "grossAmount":100,
                        "netAmount":83.35,
                        "vatType":"Normal",
                        "currency":"GBP"
                    },
                    "prePaymentAmount":{
                        "amount":0,
                        "currency":"GBP"
                    },
                    "dates":[
                        {
                            "serviceDate":"2020-09-25",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-26",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-27",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-28",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-29",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        }
                    ]
                },
                {
                    "service":{
                        "id":"LND-WLAN",
                        "code":"WLAN",
                        "name":"High-Speed WLAN",
                        "description":"Upgrade the complimentary internet access to a high speed connection.",
                        "pricingUnit":"Room",
                        "defaultGrossPrice":{
                            "amount":10,
                            "currency":"GBP"
                        }
                    },
                    "count":1,
                    "totalAmount":{
                        "grossAmount":50,
                        "netAmount":41.65,
                        "vatType":"Normal",
                        "currency":"GBP"
                    },
                    "prePaymentAmount":{
                        "amount":0,
                        "currency":"GBP"
                    },
                    "dates":[
                        {
                            "serviceDate":"2020-09-24",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-25",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-26",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-27",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-28",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        }
                    ]
                }
            ],
            "taxDetails":[
                {
                    "vatType":"Null",
                    "vatPercent":0,
                    "net":{
                        "amount":0,
                        "currency":"GBP"
                    },
                    "tax":{
                        "amount":0,
                        "currency":"GBP"
                    }
                },
                {
                    "vatType":"Reduced",
                    "vatPercent":5,
                    "net":{
                        "amount":641.95,
                        "currency":"GBP"
                    },
                    "tax":{
                        "amount":32.1,
                        "currency":"GBP"
                    }
                },
                {
                    "vatType":"Normal",
                    "vatPercent":20,
                    "net":{
                        "amount":187.46,
                        "currency":"GBP"
                    },
                    "tax":{
                        "amount":37.49,
                        "currency":"GBP"
                    }
                },
                {
                    "vatType":"Without",
                    "vatPercent":0,
                    "net":{
                        "amount":0,
                        "currency":"GBP"
                    },
                    "tax":{
                        "amount":0,
                        "currency":"GBP"
                    }
                }
            ],
            "isCorporate":false
        },
        {
            "arrival":"2020-09-24T16:00:00+01:00",
            "departure":"2020-09-29T10:00:00+01:00",
            "minGuaranteeType":"Prepayment",
            "availableUnits":27,
            "totalGrossAmount":{
                "amount":749,
                "currency":"GBP"
            },
            "cancellationFee":{
                "code":"STR",
                "name":"Strict",
                "description":"No free cancellation.",
                "dueDateTime":"2020-09-23T08:24:53.092124+01:00",
                "fee":{
                    "amount":599,
                    "currency":"GBP"
                }
            },
            "noShowFee":{
                "code":"NONREF",
                "fee":{
                    "amount":599,
                    "currency":"GBP"
                }
            },
            "timeSlices":[
                {
                    "from":"2020-09-24T16:00:00+01:00",
                    "to":"2020-09-25T09:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-NONREF-DBL",
                        "code":"NONREF",
                        "name":"Non Refundable",
                        "description":"Pay in advance and safe. If you cancel we well keep the amount of the full stay.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-DBL",
                        "code":"DBL",
                        "name":"Double",
                        "description":"Big room with balcony, whirlpool and a kingsize bed.",
                        "maxPersons":2
                    },
                    "baseAmount":{
                        "grossAmount":124,
                        "netAmount":118.1,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":124,
                        "currency":"GBP"
                    }
                },
                {
                    "from":"2020-09-25T09:00:00+01:00",
                    "to":"2020-09-26T09:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-NONREF-DBL",
                        "code":"NONREF",
                        "name":"Non Refundable",
                        "description":"Pay in advance and safe. If you cancel we well keep the amount of the full stay.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-DBL",
                        "code":"DBL",
                        "name":"Double",
                        "description":"Big room with balcony, whirlpool and a kingsize bed.",
                        "maxPersons":2
                    },
                    "baseAmount":{
                        "grossAmount":111,
                        "netAmount":105.71,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":111,
                        "currency":"GBP"
                    }
                },
                {
                    "from":"2020-09-26T09:00:00+01:00",
                    "to":"2020-09-27T09:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-NONREF-DBL",
                        "code":"NONREF",
                        "name":"Non Refundable",
                        "description":"Pay in advance and safe. If you cancel we well keep the amount of the full stay.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-DBL",
                        "code":"DBL",
                        "name":"Double",
                        "description":"Big room with balcony, whirlpool and a kingsize bed.",
                        "maxPersons":2
                    },
                    "baseAmount":{
                        "grossAmount":121,
                        "netAmount":115.24,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":121,
                        "currency":"GBP"
                    }
                },
                {
                    "from":"2020-09-27T09:00:00+01:00",
                    "to":"2020-09-28T09:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-NONREF-DBL",
                        "code":"NONREF",
                        "name":"Non Refundable",
                        "description":"Pay in advance and safe. If you cancel we well keep the amount of the full stay.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-DBL",
                        "code":"DBL",
                        "name":"Double",
                        "description":"Big room with balcony, whirlpool and a kingsize bed.",
                        "maxPersons":2
                    },
                    "baseAmount":{
                        "grossAmount":126,
                        "netAmount":120,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":126,
                        "currency":"GBP"
                    }
                },
                {
                    "from":"2020-09-28T09:00:00+01:00",
                    "to":"2020-09-29T10:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-NONREF-DBL",
                        "code":"NONREF",
                        "name":"Non Refundable",
                        "description":"Pay in advance and safe. If you cancel we well keep the amount of the full stay.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-DBL",
                        "code":"DBL",
                        "name":"Double",
                        "description":"Big room with balcony, whirlpool and a kingsize bed.",
                        "maxPersons":2
                    },
                    "baseAmount":{
                        "grossAmount":117,
                        "netAmount":111.43,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":117,
                        "currency":"GBP"
                    }
                }
            ],
            "services":[
                {
                    "service":{
                        "id":"LND-BRKF",
                        "code":"BRKF",
                        "name":"Breakfast",
                        "description":"Enjoy fresh fruit, just-baked viennoiseries, or a hearty morning meal.",
                        "pricingUnit":"Person",
                        "defaultGrossPrice":{
                            "amount":20,
                            "currency":"GBP"
                        }
                    },
                    "count":1,
                    "totalAmount":{
                        "grossAmount":100,
                        "netAmount":83.35,
                        "vatType":"Normal",
                        "currency":"GBP"
                    },
                    "prePaymentAmount":{
                        "amount":100,
                        "currency":"GBP"
                    },
                    "dates":[
                        {
                            "serviceDate":"2020-09-25",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-26",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-27",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-28",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-29",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        }
                    ]
                },
                {
                    "service":{
                        "id":"LND-WLAN",
                        "code":"WLAN",
                        "name":"High-Speed WLAN",
                        "description":"Upgrade the complimentary internet access to a high speed connection.",
                        "pricingUnit":"Room",
                        "defaultGrossPrice":{
                            "amount":10,
                            "currency":"GBP"
                        }
                    },
                    "count":1,
                    "totalAmount":{
                        "grossAmount":50,
                        "netAmount":41.65,
                        "vatType":"Normal",
                        "currency":"GBP"
                    },
                    "prePaymentAmount":{
                        "amount":50,
                        "currency":"GBP"
                    },
                    "dates":[
                        {
                            "serviceDate":"2020-09-24",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-25",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-26",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-27",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-28",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        }
                    ]
                }
            ],
            "taxDetails":[
                {
                    "vatType":"Null",
                    "vatPercent":0,
                    "net":{
                        "amount":0,
                        "currency":"GBP"
                    },
                    "tax":{
                        "amount":0,
                        "currency":"GBP"
                    }
                },
                {
                    "vatType":"Reduced",
                    "vatPercent":5,
                    "net":{
                        "amount":570.48,
                        "currency":"GBP"
                    },
                    "tax":{
                        "amount":28.52,
                        "currency":"GBP"
                    }
                },
                {
                    "vatType":"Normal",
                    "vatPercent":20,
                    "net":{
                        "amount":125,
                        "currency":"GBP"
                    },
                    "tax":{
                        "amount":25,
                        "currency":"GBP"
                    }
                },
                {
                    "vatType":"Without",
                    "vatPercent":0,
                    "net":{
                        "amount":0,
                        "currency":"GBP"
                    },
                    "tax":{
                        "amount":0,
                        "currency":"GBP"
                    }
                }
            ],
            "isCorporate":false
        },
        {
            "arrival":"2020-09-24T16:00:00+01:00",
            "departure":"2020-09-29T10:00:00+01:00",
            "minGuaranteeType":"Prepayment",
            "availableUnits":2,
            "totalGrossAmount":{
                "amount":749,
                "currency":"GBP"
            },
            "cancellationFee":{
                "code":"STR",
                "name":"Strict",
                "description":"No free cancellation.",
                "dueDateTime":"2020-09-23T08:24:53.092124+01:00",
                "fee":{
                    "amount":599,
                    "currency":"GBP"
                }
            },
            "noShowFee":{
                "code":"NONREF",
                "fee":{
                    "amount":599,
                    "currency":"GBP"
                }
            },
            "timeSlices":[
                {
                    "from":"2020-09-24T16:00:00+01:00",
                    "to":"2020-09-25T09:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-NONREF-FAMILY",
                        "code":"NONREF",
                        "name":"Non Refundable Family",
                        "description":"Pay in advance and safe. If you cancel we well keep the amount of the full stay.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-FAMILY",
                        "code":"FAMILY",
                        "name":"Family room",
                        "description":"Big room with balcony, whirlpool and two kingsize beds.",
                        "maxPersons":4
                    },
                    "baseAmount":{
                        "grossAmount":124,
                        "netAmount":118.1,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":124,
                        "currency":"GBP"
                    }
                },
                {
                    "from":"2020-09-25T09:00:00+01:00",
                    "to":"2020-09-26T09:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-NONREF-FAMILY",
                        "code":"NONREF",
                        "name":"Non Refundable Family",
                        "description":"Pay in advance and safe. If you cancel we well keep the amount of the full stay.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-FAMILY",
                        "code":"FAMILY",
                        "name":"Family room",
                        "description":"Big room with balcony, whirlpool and two kingsize beds.",
                        "maxPersons":4
                    },
                    "baseAmount":{
                        "grossAmount":111,
                        "netAmount":105.71,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":111,
                        "currency":"GBP"
                    }
                },
                {
                    "from":"2020-09-26T09:00:00+01:00",
                    "to":"2020-09-27T09:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-NONREF-FAMILY",
                        "code":"NONREF",
                        "name":"Non Refundable Family",
                        "description":"Pay in advance and safe. If you cancel we well keep the amount of the full stay.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-FAMILY",
                        "code":"FAMILY",
                        "name":"Family room",
                        "description":"Big room with balcony, whirlpool and two kingsize beds.",
                        "maxPersons":4
                    },
                    "baseAmount":{
                        "grossAmount":121,
                        "netAmount":115.24,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":121,
                        "currency":"GBP"
                    }
                },
                {
                    "from":"2020-09-27T09:00:00+01:00",
                    "to":"2020-09-28T09:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-NONREF-FAMILY",
                        "code":"NONREF",
                        "name":"Non Refundable Family",
                        "description":"Pay in advance and safe. If you cancel we well keep the amount of the full stay.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-FAMILY",
                        "code":"FAMILY",
                        "name":"Family room",
                        "description":"Big room with balcony, whirlpool and two kingsize beds.",
                        "maxPersons":4
                    },
                    "baseAmount":{
                        "grossAmount":126,
                        "netAmount":120,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":126,
                        "currency":"GBP"
                    }
                },
                {
                    "from":"2020-09-28T09:00:00+01:00",
                    "to":"2020-09-29T10:00:00+01:00",
                    "ratePlan":{
                        "id":"LND-NONREF-FAMILY",
                        "code":"NONREF",
                        "name":"Non Refundable Family",
                        "description":"Pay in advance and safe. If you cancel we well keep the amount of the full stay.",
                        "isSubjectToCityTax":true
                    },
                    "unitGroup":{
                        "id":"LND-FAMILY",
                        "code":"FAMILY",
                        "name":"Family room",
                        "description":"Big room with balcony, whirlpool and two kingsize beds.",
                        "maxPersons":4
                    },
                    "baseAmount":{
                        "grossAmount":117,
                        "netAmount":111.43,
                        "vatType":"Reduced",
                        "currency":"GBP"
                    },
                    "totalGrossAmount":{
                        "amount":117,
                        "currency":"GBP"
                    }
                }
            ],
            "services":[
                {
                    "service":{
                        "id":"LND-BRKF",
                        "code":"BRKF",
                        "name":"Breakfast",
                        "description":"Enjoy fresh fruit, just-baked viennoiseries, or a hearty morning meal.",
                        "pricingUnit":"Person",
                        "defaultGrossPrice":{
                            "amount":20,
                            "currency":"GBP"
                        }
                    },
                    "count":1,
                    "totalAmount":{
                        "grossAmount":100,
                        "netAmount":83.35,
                        "vatType":"Normal",
                        "currency":"GBP"
                    },
                    "prePaymentAmount":{
                        "amount":100,
                        "currency":"GBP"
                    },
                    "dates":[
                        {
                            "serviceDate":"2020-09-25",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-26",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-27",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-28",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-29",
                            "amount":{
                                "grossAmount":20,
                                "netAmount":16.67,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        }
                    ]
                },
                {
                    "service":{
                        "id":"LND-WLAN",
                        "code":"WLAN",
                        "name":"High-Speed WLAN",
                        "description":"Upgrade the complimentary internet access to a high speed connection.",
                        "pricingUnit":"Room",
                        "defaultGrossPrice":{
                            "amount":10,
                            "currency":"GBP"
                        }
                    },
                    "count":1,
                    "totalAmount":{
                        "grossAmount":50,
                        "netAmount":41.65,
                        "vatType":"Normal",
                        "currency":"GBP"
                    },
                    "prePaymentAmount":{
                        "amount":50,
                        "currency":"GBP"
                    },
                    "dates":[
                        {
                            "serviceDate":"2020-09-24",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-25",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-26",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-27",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        },
                        {
                            "serviceDate":"2020-09-28",
                            "amount":{
                                "grossAmount":10,
                                "netAmount":8.33,
                                "vatType":"Normal",
                                "currency":"GBP"
                            },
                            "isDefaultDate":true,
                            "isMandatory":false
                        }
                    ]
                }
            ],
            "taxDetails":[
                {
                    "vatType":"Null",
                    "vatPercent":0,
                    "net":{
                        "amount":0,
                        "currency":"GBP"
                    },
                    "tax":{
                        "amount":0,
                        "currency":"GBP"
                    }
                },
                {
                    "vatType":"Reduced",
                    "vatPercent":5,
                    "net":{
                        "amount":570.48,
                        "currency":"GBP"
                    },
                    "tax":{
                        "amount":28.52,
                        "currency":"GBP"
                    }
                },
                {
                    "vatType":"Normal",
                    "vatPercent":20,
                    "net":{
                        "amount":125,
                        "currency":"GBP"
                    },
                    "tax":{
                        "amount":25,
                        "currency":"GBP"
                    }
                },
                {
                    "vatType":"Without",
                    "vatPercent":0,
                    "net":{
                        "amount":0,
                        "currency":"GBP"
                    },
                    "tax":{
                        "amount":0,
                        "currency":"GBP"
                    }
                }
            ],
            "isCorporate":false
        }
    ]
}

Next, you amend the reservation by calling the following endpoint.

PUT /booking/v1/reservation-actions/{id}/amend

Use the data from the offers endpoint to construct the input for the call. The amend functionality is pretty powerful and constructing the input from scratch is complex.

Example

{
    "arrival":"2020-09-24T17:00:00+02:00",
    "departure":"2020-09-27T11:00:00+02:00",
    "adults":1,
    "requote":false,
    "timeSlices":[
        {
            "ratePlanId":"LND-NONREF-SGL",
            "totalGrossAmount":{
                "amount":81.00,
                "currency":"GBP"
            }
        },
        {
            "ratePlanId":"LND-NONREF-SGL",
            "totalGrossAmount":{
                "amount":86.00,
                "currency":"GBP"
            }
        },
        {
            "ratePlanId":"LND-NONREF-SGL",
            "totalGrossAmount":{
                "amount":91.00,
                "currency":"GBP"
            }
        }
    ]
}