Ebay API SortOrder无法正常工作

时间:2015-10-20 20:42:59

标签: sorting ebay-api

我正在使用Ebay API获取一些结果。我想按价格和运费价格对结果进行排序,排在第一位,但以下查询似乎没有正常工作。

有人可以告诉我为什么结果没有按价格+运费最高排序?

http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByKeywords&SERVICE-VERSION=1.0.0&SECURITY-APPNAME={appid}&GLOBAL-ID=EBAY-US&keywords=my+little+pony&paginationInput.entriesPerPage=150&sortOrder=PricePlusShippingHighest

我收到了结果:

*"title":"Rare Greek My Little Pony G1 Baby Glory MLP with Buggy by el greco MIP"
"shippingServiceCost":"24.99"
"currentPrice":"2999.99"*
**=$3024.98**

*"title":"Vintage Buggy Greek My Little Pony G1 Baby Green Hair  Minty Chloe Rare MLP NIB "
"shippingServiceCost":"25.0"
"currentPrice":"1781.97"*
**=$1806.97**

*"title":"My little pony Greek baby pink Moondancer El Greco"
"shippingServiceCost":"0.0"
"currentPrice":"1600.0"*
**=$1600.00**

*"title":"My Little Pony toys"
"shippingServiceCost":"0.0"
"currentPrice":"1500.0"*
**=$1500.00**

*"title":"Vintage 1987 MY LITTLE PONY PRESSBOOK Spec Book Pre-Production PROTOTYPE INFO"
"shippingServiceCost":"0.0"
"currentPrice":"1500.0"*
**=$1500.00**

*"title":"IDW 1st Edition Box Set My Little Pony Issue 1 Covers A-F Signed\/Autographed"
"shippingServiceCost":"0.0"
"currentPrice":"1200.0"*
**=$1200.00**

*"title":"Vintage Hasbro My Little Pony MLP Huge Lot 100+ Ponies Accessories "
"shippingServiceCost":"29.95"
"currentPrice":"995.95"*
**=$1025.90**

*"title":"Elope My Little Pony Rainbow Dash Tail"
"shippingServiceCost":"0.0"
"currentPrice":"1000.0"*
**=$1000.00**

*"title":"My Little Pony lot of 6 Sea ponies year 3 (1984) Vintage with stickers"
"shippingServiceCost":"5.0"
"currentPrice":"985.41"*
**=$990.41**

*"title":"My Little Pony G1 Prototype Birthflower June Rose OOAK Rare One of a Kind"
"shippingServiceCost":"0.0"
"currentPrice":"949.99"*
**=$949.99**

*"title":"WACKY PACKAGES 1991 ORIGINAL ART PAINTING MY SPITTLE PONY MY LITTLE PONY"
"shippingServiceCost":"0.0",
"currentPrice":"900.0"*
**=$900.00**

*"title":" Super Rare Italian White Peachy\/Snuzzle My little Pony Italy! VHTF"
"shippingServiceCost":"15.0"
"currentPrice":"850.0"*
**=$865.00**

*"title":"My Little Pony Trading Cards Series 1 COMPLETE SET **All cards, all promos**"
"shippingServiceCost":"0.0"
"currentPrice":"800.0"*
**=$800.00**

*"title":"My Little Pony funko figure lot chase sdcc Celestia Discord Derpy DJ Pon3 more"
"shippingServiceCost":"0.0"
"currentPrice":"800.0"*
**=$800.00**

*"title":"Comic Con SDCC 2011 My Little Pony Applejack Motivational Poster LE 50 Rare!"
"shippingServiceCost":"0.0"
"currentPrice":"799.99"*
**=$799.00**

*"title":"My Little Pony Trading Cards Series 1 Complete Set"
"shippingServiceCost":"31.67"
"currentPrice":"600.0"*
**=$631.67**

*"title":"PC1 My Little Pony ~*ULTRA RARE Special Mail Offer PINK Sprinkles STUNNING!*~"
"shippingServiceCost":"13.95"
"currentPrice":"693.98"*
**=$707.93**

*"title":"Milky Way The milk mare MLP My little Pony Plush With Boobs RARE"
"shippingServiceCost":"0.0"
"currentPrice":"700.0"*
**=$700.00**

*"title":"My Little Pony Trading Cards - Series 3 NEARLY COMPLETE!!!!!","listings":[{"itemId":"131632602421",
"shippingServiceCost":"0.0"
"currentPrice":"700.0"*
**=$700.00**

*"title":"Lot 2 MLP Box My Little Pony G1 Greek El Greco 1980 Baby Bowtie Cotton Candy"
"shippingServiceCost":"16.0"
"currentPrice":"650.0"*
**=$665.00**

1 个答案:

答案 0 :(得分:1)

这是因为项目首先被分组然后排序。 documentation州:

  

按商品价格加运费的总成本对商品进行分类   成本,首先列出最高组合价格项目。物品是   在以下分组中返回:最高总成本项目(for   首先显示正确指定运输的项目,然后是   货运物品,然后没有运输的物品   指定。每组按价格排序。

结果中的顺序更改将表明新的分组已经开始。