# API Product Listing Sortierung ändern

**URL:** <https://forum.shopware.com/t/api-product-listing-sortierung-andern/72451>\
**Category:** Programmierung\
**Created:** [1. Februar 2021 um 10:00 UTC](https://forum.shopware.com/t/api-product-listing-sortierung-andern/72451 "2021-02-01T10:00:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aw7p](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@aw7p](https://forum.shopware.com/u/aw7p)\
**Post date:** [1. Februar 2021 um 10:00 UTC](https://forum.shopware.com/t/api-product-listing-sortierung-andern/72451/1 "2021-02-01T10:00:26Z")

</div>

Hallo zusammen. In der Api kann ich über POST “/store-api/v3/product-listing/:id” die Produktliste einer Kategorie abfragen. Dort erhalte ich als Response unter Anderem das Feld “sorting”. Standardmäßig ist “name-asc” aktiv. Wie kann ich per API diesen Aufruf bearbeiten?

Was ich schon versucht habe und was nicht funktioniert hat:

- als Param: /store-api/v3/product-listing/:id?sorting=sortingID, /store-api/v3/product-listing/:id?sorting=key

- als Body: { “sorting”: “sortingID” }, { “sorting”: “key” }

Es muss doch irgendwie möglich sein, diese Sortierung per API zu manipulieren…

Danke im Voraus 🙂
