original_string: public function saveOrder($orderData, $shop)
      {
          $endpoint = 'woocommerce/alternative_save_order';
  
          $params = array_merge($this->prepareParams(), ['order_data' => $orderData, 'shop' => $shop] );
  
          return $this->restClient->post( $endpoint, $params );
      }
code: public function saveOrder($orderData, $shop)
      {
          $endpoint = 'woocommerce/alternative_save_order';
  
          $params = array_merge($this->prepareParams(), ['order_data' => $orderData, 'shop' => $shop] );
  
          return $this->restClient->post( $endpoint, $params );
      }
code_tokens: public function saveOrder ( $ orderData , $ shop ) { $ endpoint = 'woocommerce/alternative_save_order' ; $ params = array_merge ( $ this -> prepareParams ( ) , [ 'order_data' => $ orderData , 'shop' => $ shop ] ) ; return $ this -> restClient -> post ( $ endpoint , $ params ) ; }
docstring: Sends the completed order data to the api
docstring_tokens: Sends the completed order data to the api