Hi, I'm trying to just fetch one field, using the fetch
parameter, documented here.
Doesn't seem to work.
-
Test without fetch parameter - You'll note that
results[0].data.title
is populated. -
Test with fetch parameter - Note that
results[0].data
is empty.
I've not only tried title
, but data.title
, results.data.title
, document.title
, product.title
, all with the same result.
Also your "product.title" example is a bit irritating, because there is no "product" object per default, the main data node is called "data", so unless you'd have another nested object called "product", that example doesn't make much sense.
Please let me know if there's a way to get this working.