public function updateOrder(){
        if (!array_key_exists('SellerFulfillmentOrderId',$this->options)){
            $this->log("Seller Fulfillment Order ID must be set in order to update an order",'Warning');
            return false;
        }

        $this->prepareUpdate();

        $url = $this->urlbase.$this->urlbranch;

        $query = $this->genQuery();

        if ($this->mockMode){
            $response = $this->fetchMockResponse();
        } else {
            $response = $this->sendRequest($url, array('Post'=>$query));
        }
        if (!$this->checkResponse($response)){
            return false;
        } else {
            $this->log("Successfully updated Fulfillment Order ".$this->options['SellerFulfillmentOrderId']);
            return true;
        }
    }
public function updateOrder(){
        if (!array_key_exists('SellerFulfillmentOrderId',$this->options)){
            $this->log("Seller Fulfillment Order ID must be set in order to update an order",'Warning');
            return false;
        }

        $this->prepareUpdate();

        $url = $this->urlbase.$this->urlbranch;

        $query = $this->genQuery();

        if ($this->mockMode){
            $response = $this->fetchMockResponse();
        } else {
            $response = $this->sendRequest($url, array('Post'=>$query));
        }
        if (!$this->checkResponse($response)){
            return false;
        } else {
            $this->log("Successfully updated Fulfillment Order ".$this->options['SellerFulfillmentOrderId']);
            return true;
        }
    }
public function updateOrder ( ) { if ( ! array_key_exists ( 'SellerFulfillmentOrderId' , $ this -> options ) ) { $ this -> log ( "Seller Fulfillment Order ID must be set in order to update an order" , 'Warning' ) ; return false ; } $ this -> prepareUpdate ( ) ; $ url = $ this -> urlbase . $ this -> urlbranch ; $ query = $ this -> genQuery ( ) ; if ( $ this -> mockMode ) { $ response = $ this -> fetchMockResponse ( ) ; } else { $ response = $ this -> sendRequest ( $ url , array ( 'Post' => $ query ) ) ; } if ( ! $ this -> checkResponse ( $ response ) ) { return false ; } else { $ this -> log ( "Successfully updated Fulfillment Order " . $ this -> options [ 'SellerFulfillmentOrderId' ] ) ; return true ; } }
Updates a Fulfillment Order with Amazon.

Submits an <i>UpdateFulfillmentOrder</i> request to Amazon. In order to do this,
a fulfillment order ID is required. Amazon will send back an HTTP response,
so there is no data to retrieve afterwards.
@return boolean <b>TRUE</b> if the order creation was successful, <b>FALSE</b> if something goes wrong
Updates a Fulfillment Order with Amazon .