Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Structure

Excerpt


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

Code Block
languagepowershell
themeDJango
{
	  "id": 155,
  	"code": "DBLMB",
	  "name": "Double RoomMinibar",
	  "productType": {
    "id": 2,
    "code": "ACCSER",
    "name": "Service",
    "namenameI18n": "AccomodationService"
 
  },
    "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
      },
}