Update Delivery Method Detail
  PUT /delivery_methods/{id}    
 PUT
 /delivery_methods/{id}
 Update the name or cost of a specific delivery method.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id 
 required
   integer
ID of the delivery method to retrieve.
Request Body
Section titled “Request Body ”object
 name    
 The new name of the delivery method.
string
  cost    
 The new cost to ship orders with this delivery method.
string
 Example
{  "name": "Delivery Method #4",  "cost": "50.0"}Responses
Section titled “ Responses ”The delivery method was successfully updated.
object
 id    
 ID of this delivery method.
number
  cost    
 The cost to ship orders with this delivery method.
string
  name    
 The name of the delivery method.
string
  user_id    
 ID of the user who created the delivery method.
number
  created_at    
 The date and time when the delivery method was created.
string
  updated_at    
 The date and time when the delivery method was last updated.
string
 Example
{  "id": 171785,  "cost": "30.0",  "name": "Delivery Method #3",  "user_id": 23005,  "created_at": "2017-08-24T12:36:33.934Z",  "updated_at": "2017-08-24T12:38:36.851Z"}No delivery method was found with the given ID.