Update a delivery

Updates specified attributes of an existing delivery. Not all fields can be updated after creation, and updates may be restricted based on the current delivery status.