Move Orders
Move orders to a new folder. This can target one order or multiple orders.
Please note that either destination_folder_id or destination_folder_name should be used, but not both. A folder name must match exactly.
The response contains a results array with one entry per order, including the folder that each order was moved from.
Your API key, found under Store Settings on the API tab. This should be kept server-side.
Your store ID, found under Store Settings on the API tab.
An array of Order Desk's internal order IDs.
[29491,29490]The folder ID to which the orders should be moved.
21655The name of the folder to which the orders should be moved. It must match exactly.
PreparedThe orders were moved.
Either success or error.
Describes the result. Always present when an error occurs.
Time taken to process the request.
0.1524 seconds29491Order Moved to Prepared FolderThe folder the order was moved from.
21654The move was rejected.
Authentication failed. See the Authentication guide, and note that an invalid store ID blocks your store rather than simply failing the request.
You are sending too fast. Wait X-Retry-After seconds. See
the Rate Limits guide.
The request could not be completed.
curl "https://app.orderdesk.me/api/v2/move-orders" \
-X POST \
-H "ORDERDESK-STORE-ID: your-store-id" \
-H "ORDERDESK-API-KEY: your-api-key" \
-H "Content-Type: application/json" \
-d '{"order_id_list": [29491, 29490], "destination_folder_id": 21655}'
{
"status": "success",
"message": "2 Orders Moved",
"execution_time": "0.1396 seconds",
"results": [
{
"order_id": 29491,
"message": "Order Moved to Prepared Folder",
"original_folder_id": 21654
},
{
"order_id": 29490,
"message": "Order Moved to Prepared Folder",
"original_folder_id": 21654
}
]
}Last updated
Was this helpful?

