Challenge: Update an Order
Challenge yourself by writing a test to update an order.
We'll cover the following
Overview
The PUT api/orders/{{id}}
endpoint allows us to update the data for an existing order. We can update any existing details for the order besides date
and id
. When we make a request to the endpoint, the API responds with data including the updated properties for the order. For example, if we update the description
value, the shape of the response would look similar to the following:
Get hands-on with 1400+ tech skills courses.