src/Yandex/Market/Partner/PartnerClient.php
public function getOrdersResponse($params = [])
    {
        $resource = 'campaigns/' . $this->campaignId . '/orders.json';
        $resource .= '?' . http_build_query($params);

        $response = $this->sendRequest('GET', $this->getServiceUrl($resource));

        $decodedResponseBody = $this->getDecodedBody($response->getBody());

        return new GetOrdersResponse($decodedResponseBody);
    }
public function getOrdersResponse($params = [])
    {
        $resource = 'campaigns/' . $this->campaignId . '/orders.json';
        $resource .= '?' . http_build_query($params);

        $response = $this->sendRequest('GET', $this->getServiceUrl($resource));

        $decodedResponseBody = $this->getDecodedBody($response->getBody());

        return new GetOrdersResponse($decodedResponseBody);
    }
public function getOrdersResponse ( $ params = [ ] ) { $ resource = 'campaigns/' . $ this -> campaignId . '/orders.json' ; $ resource .= '?' . http_build_query ( $ params ) ; $ response = $ this -> sendRequest ( 'GET' , $ this -> getServiceUrl ( $ resource ) ) ; $ decodedResponseBody = $ this -> getDecodedBody ( $ response -> getBody ( ) ) ; return new GetOrdersResponse ( $ decodedResponseBody ) ; }
Get information about orders by campaign id

@param array $params

Returns information on the requested orders.
Available filtering by date ordering and order status.
The maximum range of dates in a single request for a resource - 30 days.

@see http://api.yandex.ru/market/partner/doc/dg/reference/get-campaigns-id-orders.xml

@return GetOrdersResponse
Get information about orders by campaign id