Place picks in a list
reposition_itemsPlace up to 100 picks right before or after another pick on the same list, in the order given, without sending the whole list. Use it on long lists, or to move a few picks. Pass the revision from list_items; if the list changed since, nothing is written and the current revision comes back. Changes the working order only; readers keep seeing the last approved version until the owner approves a list update. Private lists stay private.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list | Yes | Which list: exact slug, handle/slug, or id from a previous result. | |
| after | No | Id of the pick to place them just after. Pass this or `before`. | |
| before | No | Id of the pick to place them just before. Pass this or `after`. | |
| itemIds | Yes | Item ids from list_items to place, in the order they should appear. | |
| revision | Yes | The `revision` list_items returned. |