当我findItemsAdvanced
在 eBay 查找 API 中使用请求来搜索特定用户的商品并给出itemfilters
asMaxPrice
并且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>