public function update($id, array $order, array $options = array())
  {
    $attributes = array_intersect_key($order, array_flip(self::$keysToPersist));

    list($code, $updatedOrder) = $this->httpClient->put("/orders/{$id}", $attributes, $options);
    return $updatedOrder;
  }