Update Contract

Update Contract API enables you to update an existing contract.


Endpoint

POST

https://connect-sandbox.su-api.com/SUAPI/jservice/bdc/contract/update

Attributes

hotel_id string (Required)

The unique property ID as assigned by the provider upon creation of the property.


legal_entity_id string (Required)

The identity of the legal entity.


additional_countries array (Required)

Contains the additional country or countries in which the Accommodation Partner has properties.


Sample Request

{
    "hotel_id": "AWSTEST",
    "legal_entity_id": "425500",
    "additional_countries": [
        "be"
    ]
}

Response

Sample Success Response

{
    "Status": "Success",
    "Message": "Addendum invitation sent to Partner!",
    "Ruid": "e527c45a-f23a-4ee4-beb2-7d21f7699b1b",
    "Data": {}
}

Error

Sample Error Response

{
  "Status": "Fail",
  "Errors": [],
  "Message": "Trying to create a countries!",
  "Ruid": "e527c45a-f23a-4ee4-beb2-7d21f7699b1b",
  "data": {}
}

Response Body Elements

Status string

The status of the response.

  • Success - Indicates the success of the operation.

  • Fail - Indicates if the operation gets failed.


Message string

The message in the response.


Ruid string

Specifies the unique request ID.

You can share this ID with Booking.com customer support when you run into an issue. This can help in understanding what went wrong.


Data object

The response data.

Last updated

Was this helpful?