当我在ebay Finding API中使用findItemsAdvanced请求来搜索特定用户的项目并将itemfilters作为MaxPrice和MinPrice时,输出结果不会根据过滤器中提供的价格范围进行过滤...
正在使用以下请求
<?xml version="1.0" encoding="utf-8"?>
<findItemsAdvancedRequest xmlns="http://www.ebay.com/marketplace/search/v1/services">
<itemFilter>
<name>MinPrice</name>
<value>100.00</value>
<name>ListingType</name>
<value>FixedPrice</value>
<name>MaxPrice</name>
<value>200.00</value>
<name>Seller</name>
<value>anysellerID</value>
</itemFilter>
<sortOrder>PricePlusShippingLowest</sortOrder>
<paginationInput>
<pageNumber>1</pageNumber>
<entriesPerPage>10</entriesPerPage>
</paginationInput>
</findItemsAdvancedRequest>
The output request doesn't filter by the MaxPrice and MinPrice filter value and return all the items by the particular user.
我找到了答案,我必须为每个过滤器分别使用ItemFilter标签,如下所示
<itemFilter>
<name>MinPrice</name>
<value>100.00</value>
</itemFilter>
<itemFilter>
<name>MaxPrice</name>
<value>500.00</value>
</itemFilter>
<itemFilter>
答案 0 :(得分:0)
我找到了答案,我必须分别为每个过滤器使用ItemFilter标签,如下所示
<itemFilter>
<name>MinPrice</name>
<value>100.00</value>
</itemFilter>
<itemFilter>
<name>MaxPrice</name>
<value>500.00</value>
</itemFilter>
<itemFilter>