【问题标题】:eBay Trading API restocking fee not displaying on listingseBay Trading API 补货费未显示在列表中
【发布时间】:2019-07-12 23:04:41
【问题描述】:

我正在使用带有 C# .NET SDK 的 eBay 交易 API

我创建了一个ReturnPolicyType

ReturnPolicyType policy=new ReturnPolicyType();

我设置了策略属性,除了补货费外,一切似乎都正常

policy.RestockingFeeValue = "Percent_15";

还有:

policy.RestockingFeeValueOption = "Percent_15";

我也试过“15%”而不是“Percent_15” 但他们都没有在listing上显示restocking fee

我也在 eBay 的开发者论坛上问过这个问题,但他们的活动相当空缺。

我的完整退货政策代码如下

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";

退货政策的其余部分按预期显示在列表中

【问题讨论】:

    标签: c# ebay-api


    【解决方案1】:

    要获取当前支持的值列表,请调用 GeteBayDetails,并将 DetailName 设置为 ReturnPolicyDetails。然后,在响应中的 ReturnPolicyDetails.RestockingFeeValue 容器中查找补货费用百分比值列表。

    https://developer.ebay.com/devzone/xml/docs/reference/ebay/types/ReturnPolicyType.html

    【讨论】:

    • 感谢尝试
    • 好吧,这让我回到了我开始的地方
    • 文档还提到:“补货费仅适用于选择加入 eBay 管理退货的美国和加拿大卖家。”。这可能是您将列表发布到的帐户的问题?
    • hmmm 可能需要调查是否必须在 AddItem 调用的某个地方的列表中指定 eBay 管理的退货。谢谢
    • 我们其他未通过此代码完成的列表显示补货费
    【解决方案2】:

    我使用我们的旧列表方法获取列出的项目,并查看 API 调用日志以查看现有列表的 XML 格式。

    我注意到标签 SellerProfiles 内有一个标签 SellerReturnProfile

    我能够像这样在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 个就成为必需的。在这种情况下,退货配置文件已在 eBay 中定义为我们的默认退货配置文件。

    它们可以在帐户设置 -> 业务政策中找到,但必须通过 getitem 调用已设置配置文件的现有项目来找到 ID 号。

    根据这两个来源,其他调用方法ReturnPolicyType() 似乎可能会折旧

    Business Policies Opt-In out soon to be enforced

    Mapping Business Policies Management API Fields to Trading API Fields

    任何选择加入商业政策的卖家将根本无法在任何新列表中使用旧字段进行付款、退货或运输。如果遗留字段被传递到请求中,它们将被忽略并丢弃,并且卖家可能会收到一条警告消息。

    如果您传入业务策略配置文件 ID 和旧版字段,旧版字段将被忽略并删除。

    【讨论】:

      猜你喜欢
      • 2014-05-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多