public function ordersStatuses(array $ids = [], array $externalIds = [])
    {
        $parameters = [];

        if (count($ids)) {
            $parameters['ids'] = $ids;
        }
        if (count($externalIds)) {
            $parameters['externalIds'] = $externalIds;
        }

        /* @noinspection PhpUndefinedMethodInspection */
        return $this->client->makeRequest(
            '/orders/statuses',
            "GET",
            $parameters
        );
    }
public function ordersStatuses(array $ids = [], array $externalIds = [])
    {
        $parameters = [];

        if (count($ids)) {
            $parameters['ids'] = $ids;
        }
        if (count($externalIds)) {
            $parameters['externalIds'] = $externalIds;
        }

        /* @noinspection PhpUndefinedMethodInspection */
        return $this->client->makeRequest(
            '/orders/statuses',
            "GET",
            $parameters
        );
    }
public function ordersStatuses ( array $ ids = [ ] , array $ externalIds = [ ] ) { $ parameters = [ ] ; if ( count ( $ ids ) ) { $ parameters [ 'ids' ] = $ ids ; } if ( count ( $ externalIds ) ) { $ parameters [ 'externalIds' ] = $ externalIds ; } /* @noinspection PhpUndefinedMethodInspection */ return $ this -> client -> makeRequest ( '/orders/statuses' , "GET" , $ parameters ) ; }
Returns statuses of the orders

@param array $ids         (default: array())
@param array $externalIds (default: array())

@throws \InvalidArgumentException
@throws \RetailCrm\Exception\CurlException
@throws \RetailCrm\Exception\InvalidJsonException

@return \RetailCrm\Response\ApiResponse
Returns statuses of the orders