Unable to re-order products from Rest API in a manually sorted smart collection

0xLemah
New Member
2 0 0

Hi,

I am using the REST API to try and re-order products in a manually sorted smart collection.
I am following the documentation here: https://shopify.dev/api/admin-rest/2021-10/resources/smartcollection

The request gives a HTTP status 200 response and the products are successfully re-ordered in the Admin panel but not on the website.
I have confirmed that manually re-ordering the products in the Admin panel does reflect on the website.
I know this is not related to a caching issue either.

It seems like a bug in the API itself. Every other function from the API works as expected but not this one.

I found someone else reporting the exact same issue here: https://community.shopify.com/c/shopify-apis-and-sdks/smart-collection-rest-order-endpoint-updates-t...

The issue is still unanswered a year later. Has anyone successfully reordered products from a manually sorted smart collection using the REST API?

Replies 2 (2)
GrahamS
Shopify Staff
Shopify Staff
193 35 48

Hello @0xLemah ,

 

I brought this one to the attention of our developer team, who confirmed that this isn't the expected outcome. We're working on a fix for this which should be available soon.

 

Best,

Graham S | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Mete
Shopify Partner
124 0 27

@GrahamS wrote:

Hello @0xLemah ,

 

I brought this one to the attention of our developer team, who confirmed that this isn't the expected outcome. We're working on a fix for this which should be available soon.

 

Best,


Hey @GrahamS any update so far?

Co-Founder / Developer at: merchbees
Merchbees Low Stock Alert - Keep track of your low stock items by email and slack
Merchbees Inventory Value - Know your inventory value and quantity in real-time
Push Down & Hide Out of Stock - Move out of stock products to the bottom of the collection to improve SEO & hide/ unhide automatically