- Courses
- ItemPath API
- Section 4: Essential Calls
- Creating Orders & Order Lines
- Updating an Order (PUT)
Updating an Order (PUT)
To update the pick order you created, pass the order's ID in the url and enter new values for any of the keys. (If updating a dynamic field, pass your dynamic field name and value.)
Take a look at the API Reference for more attributes. (We'll cover adding new order lines to the order next, using the /order_lines endpoint.)
Here's a suggestion of some new values to enter in the body of the request:
{
"name": "Renamed Put Order",
"priority": 1,
"Info1": "This put order has only one line.",
"Info3": "This order is high priority."
}
The ID of the order will not change, so you can keep the ID you copied earlier to use in the next section on adding order lines.