eBay Trading API 退货费未显示在列表中
eBay Trading API restocking fee not displaying on listings
我正在使用带有 C# .NET SDK 的 eBay TradingAPI
我创建了一个ReturnPolicyType
ReturnPolicyType policy=new ReturnPolicyType();
我设置了政策属性,似乎一切正常,除了进货费
policy.RestockingFeeValue = "Percent_15";
并且:
policy.RestockingFeeValueOption = "Percent_15";
我也试过用“15%”代替 "Percent_15"
但他们都没有在listing上显示进货费
我也在 eBay 的开发者论坛上问过这个问题,但他们 activity 非常空缺。
我的完整 return 政策代码如下
ReturnPolicyType policy=new ReturnPolicyType();
policy.Refund="MoneyBack";
policy.ReturnsWithinOption="Days_30";
policy.ShippingCostPaidBy = "Buyer";
policy.RestockingFeeValue = "15%";
policy.RestockingFeeValueOption = "Percent_15";
policy.Description = "Returns are welcome on all items other than those sold on an 'AS - IS' basis. Buyers returning items shipped outside of the US will be responsible for all customs fees as well. Please read and fully understand the terms of our policy in advance if you wish to request a return.";
policy.ReturnsAcceptedOption="ReturnsAccepted";
policy.ShippingCostPaidByOption="Buyer";
return 政策的其余部分按预期显示在列表中
To obtain the list of currently supported values, call GeteBayDetails with DetailName set to ReturnPolicyDetails. Then, look for the list of restocking fee percentage values in the ReturnPolicyDetails.RestockingFeeValue containers in the response.
https://developer.ebay.com/devzone/xml/docs/reference/ebay/types/ReturnPolicyType.html
我使用我们的旧列表方法获取了一个列表项,并查看了 API 调用日志以查看现有列表的 XML 格式。
我注意到标签 SellerReturnProfile
位于标签 SellerProfiles
内
我能够像这样在 additem
调用中填充标签
item.SellerProfiles = new SellerProfilesType();
var returnpolicy = new SellerReturnProfileType();
returnpolicy.ReturnProfileID = 63410125011;
returnpolicy.ReturnProfileName = "Returns Accepted,Buyer,30 Days,Money Default";
item.SellerProfiles.SellerReturnProfile = returnpolicy;
我必须以相同的方式列出运输资料和付款资料。似乎如果您列出一个卖家资料,其他 2 个就变成必需的了。在这种情况下,return 配置文件已在 eBay 中定义为我们的默认 return 配置文件。
它们可以在帐户设置 -> 业务政策中找到,但必须通过 getitem
调用具有配置文件集的现有项目来找到 ID 号。
根据这两个来源,另一种调用方法 ReturnPolicyType()
似乎已贬值
Business Policies Opt-In out soon to be enforced
Mapping Business Policies Management API Fields to Trading API Fields
Any seller who is opted into Business Policies will not be able to use the legacy fields at all, for Payment, Returns or Shipping in any new listing. If legacy fields are passed into the request, they will be ignored and dropped and the seller may get a warning message to that effect.
和
If you pass in Business Policies profile IDs and the legacy fields, the legacy fields will be ignored and dropped.
我正在使用带有 C# .NET SDK 的 eBay TradingAPI
我创建了一个ReturnPolicyType
ReturnPolicyType policy=new ReturnPolicyType();
我设置了政策属性,似乎一切正常,除了进货费
policy.RestockingFeeValue = "Percent_15";
并且:
policy.RestockingFeeValueOption = "Percent_15";
我也试过用“15%”代替 "Percent_15" 但他们都没有在listing上显示进货费
我也在 eBay 的开发者论坛上问过这个问题,但他们 activity 非常空缺。
我的完整 return 政策代码如下
ReturnPolicyType policy=new ReturnPolicyType();
policy.Refund="MoneyBack";
policy.ReturnsWithinOption="Days_30";
policy.ShippingCostPaidBy = "Buyer";
policy.RestockingFeeValue = "15%";
policy.RestockingFeeValueOption = "Percent_15";
policy.Description = "Returns are welcome on all items other than those sold on an 'AS - IS' basis. Buyers returning items shipped outside of the US will be responsible for all customs fees as well. Please read and fully understand the terms of our policy in advance if you wish to request a return.";
policy.ReturnsAcceptedOption="ReturnsAccepted";
policy.ShippingCostPaidByOption="Buyer";
return 政策的其余部分按预期显示在列表中
To obtain the list of currently supported values, call GeteBayDetails with DetailName set to ReturnPolicyDetails. Then, look for the list of restocking fee percentage values in the ReturnPolicyDetails.RestockingFeeValue containers in the response.
https://developer.ebay.com/devzone/xml/docs/reference/ebay/types/ReturnPolicyType.html
我使用我们的旧列表方法获取了一个列表项,并查看了 API 调用日志以查看现有列表的 XML 格式。
我注意到标签 SellerReturnProfile
位于标签 SellerProfiles
我能够像这样在 additem
调用中填充标签
item.SellerProfiles = new SellerProfilesType();
var returnpolicy = new SellerReturnProfileType();
returnpolicy.ReturnProfileID = 63410125011;
returnpolicy.ReturnProfileName = "Returns Accepted,Buyer,30 Days,Money Default";
item.SellerProfiles.SellerReturnProfile = returnpolicy;
我必须以相同的方式列出运输资料和付款资料。似乎如果您列出一个卖家资料,其他 2 个就变成必需的了。在这种情况下,return 配置文件已在 eBay 中定义为我们的默认 return 配置文件。
它们可以在帐户设置 -> 业务政策中找到,但必须通过 getitem
调用具有配置文件集的现有项目来找到 ID 号。
根据这两个来源,另一种调用方法 ReturnPolicyType()
似乎已贬值
Business Policies Opt-In out soon to be enforced
Mapping Business Policies Management API Fields to Trading API Fields
Any seller who is opted into Business Policies will not be able to use the legacy fields at all, for Payment, Returns or Shipping in any new listing. If legacy fields are passed into the request, they will be ignored and dropped and the seller may get a warning message to that effect.
和
If you pass in Business Policies profile IDs and the legacy fields, the legacy fields will be ignored and dropped.