SellableProduct¶
Fields¶
Field | Description | Type | Min/max | Notes |
---|---|---|---|---|
SellableProducts/SellableProduct |
Room type details. | object | 0..* | - |
SellableProduct /@InvStatusType |
Specifies whether the request is to create (Initial ), activate (Active ), or deactivate the room type (Deactivated ). |
enum | 0..1 | Accepts: Initial , Active , Deactivated . Default: Initial |
SellableProduct /@InvNotifType |
Specifies whether the request is to create a room type (New ) or modify an existing one (Overlay ). |
enum | 1..1 | Accepts: New , Overlay |
SellableProduct /@InvCode |
The Booking.com room type ID, assigned on creation of the room type. | string | 0..1 | Required when modifying an existing room type. |
SellableProduct /GuestRoom |
Room details. | object | 1..1 | - |
XML¶
<SellableProduct
InvStatusType="Initial">
<GuestRoom>
...
</GuestRoom>
</SellableProduct>
<SellableProduct
InvNotifType="Overlay"
InvStatusType="Active"
InvCode="12345601">
</SellableProduct>