Closed ProteanCode closed 4 years ago
https://aimeos.org/docs/Developers/Client/JSONAPI/Fetch_items#Return_specific_fields_only
The example for fetching the specific fields is incorrect Its not: var params = { fields: 'product.id,product.label' }; but: "fields": { "product": "product.id,product.label" }
var params = { fields: 'product.id,product.label' };
"fields": { "product": "product.id,product.label" }
Thank you very much for you hint! The documentation has been fixed now
https://aimeos.org/docs/Developers/Client/JSONAPI/Fetch_items#Return_specific_fields_only
The example for fetching the specific fields is incorrect Its not:
var params = { fields: 'product.id,product.label' };
but:"fields": { "product": "product.id,product.label" }