上次使用ebay ReviseItemcall去revise ebay上的ADs的StartPrice.发现能够将Startprice更新但是缺将ReturnPolicy的detail的值清空了。于是在Ebay call中发现了ReviseFixedPricecall。接着测试了下。
注意:如果你的ebay ADs的类型为Auction的话,请还是使用ReviseItemcall。
ReviseFixedpriceitemCall只可以Revise ADs listingType为FixedPriceItem and StoresFixedPrice不能使Auction
ReviseFixedPriceItemCall call = new ReviseFixedPriceItemCall();
apiContentUtil = new ApiContentUtil();
call.setApiContext(apiContentUtil.getApiContext());
ItemType item = new ItemType();
item.setItemID("110101075520");
AmountType startPrice = new AmountType();
startPrice.setValue(129.99);
item.setStartPrice(startPrice);
call.setItemToBeRevised(item);
call.reviseFixedPriceItem();
System.out.println(call.getRequestXml());
System.out.println("|\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\");
System.out.println(call.getResponseXml());
其output的xml如下
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Header>
<ebl:RequesterCredentials SOAP-ENV:mustUnderstand="0" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ebl="urn:ebay:apis:eBLBaseComponents">
<ebl:eBayAuthToken>XXXXXXXXXXXX</ebl:eBayAuthToken>
</ebl:RequesterCredentials>
</S:Header>
<S:Body>
<ReviseFixedPriceItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<Version>705</Version>
<Item>
<ItemID>110101075520</ItemID>
<StartPrice>129.99</StartPrice>
</Item>
</ReviseFixedPriceItemRequest>
</S:Body>
</S:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<ReviseFixedPriceItemResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2012-07-30T03:26:32.191Z</Timestamp>
<Ack>Success</Ack>
<Version>781</Version>
<Build>E781_CORE_BUNDLED_15065257_R1</Build>
<ItemID>110101075520</ItemID>
<StartTime>2012-07-27T07:38:12.000Z</StartTime>
<EndTime>2012-07-30T07:38:12.000Z</EndTime>
<Fees>
<Fee>
<Name>AuctionLengthFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>BoldFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>BuyItNowFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>CategoryFeaturedFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>FeaturedFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>GalleryPlusFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>FeaturedGalleryFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>FixedPriceDurationFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>GalleryFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>GiftIconFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>HighLightFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>InsertionFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>InternationalInsertionFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>ListingDesignerFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>ListingFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>PhotoDisplayFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>PhotoFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>ReserveFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>SchedulingFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>SubtitleFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>BorderFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>ProPackBundleFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>BasicUpgradePackBundleFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>ValuePackBundleFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>PrivateListingFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>ProPackPlusBundleFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
<Fee>
<Name>MotorsGermanySearchFee</Name>
<Fee currencyID="USD">0.0</Fee>
</Fee>
</Fees>
</ReviseFixedPriceItemResponse>
</soapenv:Body>
</soapenv:Envelope>
发现该call能够完成更新StartPrice同时不去更新或者清空其他信息。
ebay官方网站上解释ReviseItemcall 和ReviseFixedPriceItemCall如下:
Use this call to change the properties of a currently active fixed-price listing (including multi-variation listings).
ReviseFixedPriceItem is nearly identical to
ReviseItem and you should refer to that call for details on revising items. However, ReviseFixedPriceItem does have these differences from
ReviseItem
- ReviseFixedPriceItem supports only fields that are applicable to basic fixed-price listings and store inventory listings (it does not support fields that are exclusively applicable to auctions, classified ads, or listings with Best Offer).
- The call gives you an option to track inventory by SKU instead of by ItemID.
- The call supports the revising of multi-varation listings.
- If needed, you can revise items in bulk by using the File Transfer API and Bulk Data Exchange API.
分享到:
相关推荐
1.eBay企业简介 1.1. eBay总体介绍 1.2. eBay核心人物介绍 1.3. eBay的发展历程 1.4. eBay的业务架构 ...4.1. eBay成功因素分析 4.2. eBay发展瓶颈和可能挑战 4.3. eBay中国简要历程 4.4. eBay中国评析
eBay架构分析图1.JPG,eBay架构分析图1.JPG,eBay架构分析图1.JPG,eBay架构分析图1.JPG
本文属于ebay的盈利模式毕业论文,希望对大家有帮助
EBAY教程eBAY教程eBAY教程eBAY教程eBAY教程eBAY教程eBAY教程eBAY教程eBAY教程eBAY教程
这个仓库只放代码,代码中有全面的注释以及说明 - :art:BaseCode,存放一些Numpy,Pandas等常用代码 - :building_construction:ML01,Kaggle案例,洛杉矶房价预测代码 ...- :package:Ebay在线拍卖数据分析
雅虎与eBay的品牌结盟分析.doc
ebay架构原则,架构演变历史及ebay的自动化
ebay架构分析,是文档的Jpg截图,给需要的朋友们参考
ebay案例分析.pptx
ebay 在线拍卖数据分析-内含源码以及设计说明书(可以自己运行复现).zip
大数据与云计算培训学习资料 基于Hadoop平台的eBay用户邮件数据分析 共26页.pptx
eBay简化收费结构 基本取消上架费挑战亚马逊 eBay简化收费结构 基本取消上架费挑战亚马逊
电子商务案例分析——易趣网(ebay)案例分析.ppt
请勿用于商业目的,请在下载后24小时内删除,如果喜欢,请购买正版。
Hadoop应用案例分析:雅虎、eBay、百度、Facebook
关于eBay 基础知识的考试 对于eBay卖家有极大的参考作用
免费使用步骤如下: 1。先在 api.ebaydev.com 免费注册一个用户资格 2。成功注册后,登录进去并加挂 eBay 帐号及授权令牌 3。下载 eBaySync.exe 并安装好 4。默认的数据会自动同步到安装目录下的 Database 内的 ...
ebay账户注册申请ebay账户认证美国ebay账户ebay电商服务
了解Ebay的架构发展和开发流程。是读者清晰的使用Ebay的架构在实践中。
eBay数据仓库实践 元数据管理及应用