I'm trying to add a product to eBay using the API.
Here's a snippet of the code:
<Item>
<Currency>GBP</Currency>
<Country>GB</Country>
<ListingDuration>Days_30</ListingDuration>
<PrimaryCategory>
<CategoryID>31413</CategoryID>
</PrimaryCategory>
<Location>GB</Location>
<StartPrice>42.79</StartPrice>
<Quantity>10</Quantity>
<ProductListingDetails>
<BrandMPN>
<Brand>Nourkrin</Brand>
<MPN>NRK-0033</MPN>
</BrandMPN>
<UPC>5707725100255</UPC>
<EAN>5707725100255</EAN>
<ListIfNoProduct>true</ListIfNoProduct>
</ProductListingDetails>
eBay now requires the Brand, MPN, EAN and UPC however when I add these to my code, I get the error:
<ShortMessage>No product found for ProductListingDetails.<EAN> <5707725100255>. </ShortMessage>
I think this is because eBay is looking up the EAN in it's product database to see if it exits and is a known product.
If I remove the EAN I get the error:
<ShortMessage>No product found for ProductListingDetails.<EAN> <5707725100255>. </ShortMessage>
I guess because it's using the UPC, if I remove EAN and UPC I get the error:
<ShortMessage>No product found for ProductListingDetails.<BrandMPN> <, NRK0033>. </ShortMessage>
and..
<LongMessage>Required field, EAN, is missing. Please add EAN to the listing and retry.</LongMessage>
I've tried changing EAN and UPC to 'Does not apply'
<UPC>Does not apply</UPC>
<EAN>Does not apply</EAN>
but I get the error:
<ShortMessage>No product found for ProductListingDetails.<UPC> <Does not apply>. </ShortMessage>
the AddItem
template on the sandbox API looks like this:
<ISBN> string </ISBN>
<UPC> string </UPC>
<EAN> string </EAN>
<BrandMPN><Brand> string </Brand>
<MPN> string </MPN>
</BrandMPN>
https://developer.ebay.com/devzone/xml/docs/Reference/ebay/AddItem.html
I've also tried removing <ListIfNoProduct>true</ListIfNoProduct>
but it doesn't seem to make any difference.
I looked at this post too:
eBay SDK AddItem new ProductDetails EAN Requirements CANNOT List Or Revise
How can i get this product to list? What am I doing wrong?