1. I'm a Buyer
  2. Buyers | Frequently Asked Questions

Why there are so many fields with null value in the Search response?

The amount of null values returned through our API calls will depend on the amount of information we receive from the suppliers. For instance, imagine that you request the following fields in Search query:

{ rooms { occupancyRefId code description refundable units roomPrice { price { currency binding net gross exchange { currency rate } } } beds { type description count shared } rateP }

In this case, the supplier has been able to return all the information excep bed descriptions:

"rooms": [ { "occupancyRefId": 1, "code": "1", "description": "Standard", "refundable": false, "units": 999, "roomPrice": { "price": { "currency": "EUR", "binding": false, "net": 150, "gross": 150, "exchange": { "currency": "EUR", "rate": 1 } } }, "beds": [ { "type": "double", "description": **null**, "count": 2, "shared": false } ]