1
0
mirror of synced 2025-02-21 09:23:14 +03:00

restapi client fix

This commit is contained in:
Grisha Pomadchin 2014-10-08 23:24:26 +04:00
parent adb09334a8
commit cd5f791b6d

View File

@ -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;