public function editCustomer($code, $id = null, array $data)
    {
        $this->_requireIdentifier($code, $id);
        return new CheddarGetter_Response(
            $this->request(
                '/customers/edit/' . (($id) ? 'id/'.$id : 'code/'.urlencode($code)),
                $data
                )
            );
    }
public function editCustomer($code, $id = null, array $data)
    {
        $this->_requireIdentifier($code, $id);
        return new CheddarGetter_Response(
            $this->request(
                '/customers/edit/' . (($id) ? 'id/'.$id : 'code/'.urlencode($code)),
                $data
                )
            );
    }
public function editCustomer ( $ code , $ id = null , array $ data ) { $ this -> _requireIdentifier ( $ code , $ id ) ; return new CheddarGetter_Response ( $ this -> request ( '/customers/edit/' . ( ( $ id ) ? 'id/' . $ id : 'code/' . urlencode ( $ code ) ) , $ data ) ) ; }
Change customer and subscription information

@link https://cheddargetter.com/developers#update-customer-subscription
@param string $code Your code for the customer
@param string|null $id CG id for the customer
@param array $data
@return CheddarGetter_Response
@throws CheddarGetter_Response_Exception
Change customer and subscription information