Skip to content

Instantly share code, notes, and snippets.

@vanWittlaer
Created February 28, 2024 09:57
Show Gist options
  • Save vanWittlaer/00b7e4fdd362ecff842ed32c70a9da39 to your computer and use it in GitHub Desktop.
Save vanWittlaer/00b7e4fdd362ecff842ed32c70a9da39 to your computer and use it in GitHub Desktop.
Append query to Shopware API requests
Shopware admin API requests can be enriched with a query.
For example, to retrieve only snippets for a particular snippet set, use this query:
{{HOST}}/api/snippet?query[0][query][type]=equals&query[0][query][field]=setId&query[0][query][value]=685f610ee07544feb28b6a5abf38cf7c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment