Hi all :wave: When using the `id` parameter on an...
# suitecommerce
o
Hi all 👋 When using the
id
parameter on an Item Search API request to retrieve multiple items like this:
<https://www.shop.com.au/api/items?*id=92210,92172,92195*&sort=custitem_popular_item_sort:desc&fields=upccode,custitem_popular_item_sort>
it appears that the
sort
parameter is ignored… Is this expected behaviour or potentially a bug? There’s nothing in the help articles to suggest that this would be the case. Note that other necessary parameters have been omitted for brevity, and fields I’ve tested on are configured for sorting per the help articles. Any insights are much appreciated. Thanks!
k
Hey @Ori Zacher, did you add your custom field to the sort field table on the website setup record?
o
Thanks @Kearobi, it’s in there 👍