aimeos / ai-client-jsonapi

Aimeos frontend JSON API
GNU Lesser General Public License v3.0
28 stars 6 forks source link

[Docs] Return specific fields only - missing resource key #5

Closed ProteanCode closed 4 years ago

ProteanCode commented 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" }

aimeos commented 4 years ago

Thank you very much for you hint! The documentation has been fixed now