src/Iadvize/ApiRestClient/Client.php
public function updateResource($name, $identifier, array $fields = [])
    {
        $this->lastRequest = new Request();
        $this->lastRequest->setMode(Request::MODE_UPDATE);
        $this->lastRequest->setResourceName($name);
        $this->lastRequest->setIdentifier($identifier);
        $this->lastRequest->setFields($fields);

        $response = $this->proceed();

        return $response;
    }
public function updateResource($name, $identifier, array $fields = [])
    {
        $this->lastRequest = new Request();
        $this->lastRequest->setMode(Request::MODE_UPDATE);
        $this->lastRequest->setResourceName($name);
        $this->lastRequest->setIdentifier($identifier);
        $this->lastRequest->setFields($fields);

        $response = $this->proceed();

        return $response;
    }
Update resource

@param string $name       Name
@param int    $identifier Identifier
@param array  $fields     Fields

@return Response\Data