eBay SDK AddItem新产品详细信息EAN要求无法列出或修改 [英] eBay SDK AddItem new ProductDetails EAN Requirements CANNOT List Or Revise

查看:121
本文介绍了eBay SDK AddItem新产品详细信息EAN要求无法列出或修改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在 eBay论坛已经开始,但是您一直非常有帮助,所以也许也值得在这里发布。

I've asked this question on an eBay forum already, but you have been very helpful, so probably worth posting here too.

在过去几天中,我意识到对于我所销售的许多类别,都需要使用EAN。我一直在尝试更新我的eBay集成以考虑到这一点,但是遇到了问题。

Over the past few days I have realised that for many categories in which I sell, EANs are becoming required. I have been trying to update my eBay integration to take this into account, but have run into problems.

我的代码的新增内容提供了工作流程,并且存在以下问题:

The additions to my code provide a workflow, and have problems as follows:

我出售乐器和配件,所以让我们举一个典型的例子 Boss CS-3 Compression Pedal产品,这是一个列出该产品的卖家的链接:< a href = http://www.ebay.co.uk/itm/231547986565 rel = nofollow> http://www.ebay.co.uk/itm/231547986565

I sell musical instruments and accessories, so let's take a typical example a product "Boss CS-3 Compression Pedal", here's a link to a seller listing it: http://www.ebay.co.uk/itm/231547986565

EAN是 4957054012854

我要在 乐器>吉他中列出& Basses>配件>效果踏板的类别ID为: 41410

I want to list this in "Musical Instruments > Guitars & Basses > Accessories > Effects Pedals" Category ID for this is: 41410

因此,据我所知,我首先要知道的是EAN是否是此类别的要求。因此,使用eBay .NET SDK,我在 GetCategoryFeatures 中发帖,要求以下功能ID:

So, as I understand it, the first thing I need to know is whether EAN is a requirement for this Category. So, using the eBay .NET SDK I run a post to GetCategoryFeatures requesting the following feature IDs:

BrandMPNIdentifierEnabled,
EANEnabled,
UPCEnabled,
ISBNIdentifierEnabled

响应包括以下内容:

EANEnabled: Required,
ISBNEnabled: Disabled,
UPCEnabled: Disabled,
BrandMPNIdentifierEnabled: False

这向我表明, EAN是必需的 ProductDetails 值,要包含在 AddItem 帖子中。

This indicates to me that the EAN is a required ProductDetails value to include in the AddItem post.

所以现在我需要知道eBay目录中是否存在该商品的EAN,因此我在中的 findItemsByProduct 中发布了帖子FindingService 。我发布到此URL:

So now I need to know if the EAN for this item exists in the eBay Catalogue, so I do a post to findItemsByProduct in the FindingService. I post to this URL:

http://svcs.ebay.com/services/search/FindingService/v1?SECURITY-APPNAME= [MY-APP-ID]& OPERATION-NAME = findItemsByProduct& ; GLOBAL-ID = EBAY-GB& SERVICE-VERSION = 1.0.0& RESPONSE-DATA-FORMAT = JSON& REST-PAYLOAD& productId。@ type = EAN& productId = 4957054012854& paginationInput.entriesPerPage = 1

响应 ack 字段为失败,根据我从各种互联网帖子中收集到的信息,我知道在eBay目录中找不到该项目的。为什么?我不知道,正如我在上面给出的清单示例所示,在物料详细信息字段中显示了EAN ...但是无论如何...

The responses ack field is "Failure", which, from what I have gleaned from various internet posts tells me that the item is not found in the eBay Catalogue. Why? I don't know, as the listing example I give above shows the EAN in the Item Specifics fields... but anyway...

因此,掌握了这些信息,我只能找到一些建议,我应该将EAN值替换为从帖子返回到 GeteBayDetails 的值,该值被找到为 ProductIdentifierUnavailableText 在我的实例中(对于eBay UK)读为不适用。

So, armed with this information, I can find only the advice that I should replaced the EAN value with a value returned from a post to GeteBayDetails, the value being found as ProductIdentifierUnavailableText which, in my instance (for eBay UK) reads "Does not apply".

现在,我像往常一样构建商品并添加 ProductDetails 值如下(在VB.net中):

Now, I build my item as usual and add the ProductDetails value as follows (in VB.net):

Dim ProductDetails As New ProductListingDetailsType With {
    .EAN = "Does not apply"
}

我还注意到了MPN的要求,并添加了此要求(如果未提供,则会返回错误)

I also note the requirement for an MPN and add that (it returned an error if not provided)

当我列出它时,我会得到 Failure 响应,并显示以下错误:

When I list it, I get a Failure response with the following error:

未找到ProductListingDetails的产品。< EAN> <不适用>。

如果我拿走了 ProductDetails

必填字段EAN缺失。请在列表中添加EAN,然后重试,所以很明显,我确实需要提供此信息。

Required field, EAN, is missing. Please add EAN to the listing and retry, so clearly, I do need to provide this information.

我得到的完全一样尝试修改列表时出现问题。

我尝试在 ItemSpecifics 对象中添加EAN的 ProductDetails ,但返回 EAN Missing错误,并尝试在包括一个或另一个或两者之间进行交替。

I have tried adding the EAN in the ItemSpecifics object instead of ProductDetails, but that returns the "EAN Missing" error, and have tried alternating between including one, or the other, or both.

所以我的问题是:

1:有人可以向我解释一下吗我做错了什么以及如何纠正它,因为目前我根本无法在eBay上列出或修改商品!

1: Can someone please explain to me what I am doing wrong and how I go about rectifying it, because at the moment I cannot list, or revise items on eBay at all!

2:由于我的大多数供应商提供的是UPC,而不是EAN,因此,我是不是真的认为要提供的指导语必须是EAN?还是我可以提供UPC字段呢?

2: Since most of my suppliers provide a UPC, not an EAN, am I to take it literally that the idetifier to be provided MUST be an EAN? Or can I provide the UPC field instead?

推荐答案

您可以在XML中添加以下内容

You can add following into your XML

<VariationProductListingDetails>
    <EAN>$EAN</EAN>
</VariationProductListingDetails>   

这篇关于eBay SDK AddItem新产品详细信息EAN要求无法列出或修改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆