简体   繁体   English

eBay API GetOrders如何获取卖家支付的运费

[英]eBay API GetOrders How to get the shipping cost that the seller paid

So every time I make this call to the API, every order has a ShippingServiceSelected.ShippingServiceCost.value Is always 0 for every order. 因此,每次我对该API进行调用时,每个订单都有一个ShippingServiceSelected.ShippingServiceCost.value对于每个订单始终为0。 I am guaranteed that every order had shipping bought through eBay because they are the items I sold. 我保证每笔订单都有通过eBay购买的运费,因为它们是我出售的物品。 I am on Python and doing this through the eBaySDK module that can be found here: https://github.com/timotheus/ebaysdk-python 我正在使用Python并通过eBaySDK模块执行此操作,该模块可在此处找到: https : //github.com/timotheus/ebaysdk-python

The call I am making to the API uses the arguments: CreatedTimeFrom , CreatedTimeTo , IncludeFinalValueFee: True , and Pagination.EntriesPerPage: 100 我对API的调用使用以下参数: CreatedTimeFromCreatedTimeToIncludeFinalValueFee: TruePagination.EntriesPerPage: 100

Thank you in advance for helping. 预先感谢您的帮助。

Set the value of element 设置元素的值 in the XML as RETURNALL, This would return all the data in a particular order and also the shipping details. 在XML中以RETURNALL的形式返回,这将返回特定顺序中的所有数据以及运输详细信息。

Sample Xml will be -- 示例Xml将是-

<?xml version="1.0" encoding="utf-8"?>
<GetOrdersRequest xmlns="urn:ebay:apis:eBLBaseComponents">
 <RequesterCredentials>
   <eBayAuthToken>ABC...123</eBayAuthToken>
 </RequesterCredentials>
<DetailLevel>ReturnAll</DetailLevel>
 <CreateTimeFrom>2015-12-01T20:34:44.000Z</CreateTimeFrom>
 <CreateTimeTo>2015-12-10T20:34:44.000Z</CreateTimeTo>
 <OrderRole>Seller</OrderRole>
 <OrderStatus>Active</OrderStatus>
</GetOrdersRequest>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM