44 public function updateAction(
int $id, array $params, ?\CRestServer $server =
null): ?bool
46 if ($server && $server->getAuthType() !== \
Bitrix\Rest\SessionAuth\Auth::AUTH_TYPE && !$this->isDebugEnabled())
49 "Access access to test method available only for session authorization.",
56 $params = array_change_key_case($params, CASE_UPPER);
58 if (isset($params[
'ORDER']))
60 $application = new \Bitrix\Im\V2\Marketplace\Application();
61 $result = $application->setOrder($id, (
int)$params[
'ORDER']);