Product
Structure
Field | Type | Required | Description |
---|---|---|---|
id | int | true | Unique identifier for the Product. |
code | String | true | Code of the Product. |
name | String | true | Name of the Product. |
productType | ProductType | true | Type of Product (payment, service, accomodation... |
nameI18n | String | false | |
itemList | Item | false | List of Items. Only show if you call of Services Endpoint |
JSON representation
{ "id": 55, "code": "MB", "name": "Minibar", "productType": { "id": 2, "code": "SER", "name": "Service", "nameI18n": "Service" }, "itemList": [ { "id": 2, "code": "AG", "name": "AGUA SIN GAS", "nameI18n": "AGUA SIN GAS", "description": null, "descriptionI18n": null, "imageURL": null, "amountAfterTax": 2.5, "active": true, "quantity": null }, }