Product

Structure

FieldTypeRequiredDescription
idinttrueUnique identifier for the Product.
codeStringtrueCode of the Product.
nameStringtrueName of the Product.
productTypeProductTypetrueType of Product (payment, service, accomodation...
nameI18nStringfalse
itemListItemfalseList 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
      },
}