Reorder collection products
POST
/ admin/ v1/ stores/ {store_id}/ collections/ {collection_id}/ products/ reorder- products:write
- Idempotency-Key supported
Move products of a manual collection to new positions.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.collection_idstringrequiredThe collection's ID, like
col_01k8qs5s….
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
movesarray of objectsrequiredApplied in order, like dragging products one after another (1–250).
Returns
200 The collection after the change.
Errors
- 404
not_foundNo such collection. - 409Smart collections follow their rules.
- 422
validation_failedA product is not in the collection.