diff --git a/intaro.intarocrm/classes/general/RestApi.php b/intaro.intarocrm/classes/general/RestApi.php index 1bf120a2..ac2be520 100644 --- a/intaro.intarocrm/classes/general/RestApi.php +++ b/intaro.intarocrm/classes/general/RestApi.php @@ -133,7 +133,8 @@ class RestApi */ public function orderHistory($startDate = null, $endDate = null, $limit = 100, $offset = 0) { - $url = $this->apiUrl.'orders/history&skipMychanges=true'; + $url = $this->apiUrl.'orders/history'; + $this->parameters['skipMyChanges'] = true; $this->parameters['startDate'] = $startDate; $this->parameters['endDate'] = $endDate; $this->parameters['limit'] = $limit;