eBay API EAN for Variation Listing
<p>I am using eBay API to revise a product on eBay that has variations of <code>Size</code> and <code>Colour</code>. </p>

<p>I have used the <a href="http://developer.ebay.com/devzone/xml/docs/reference/ebay/revisefixedpriceitem.html" rel="nofollow noreferrer">documentation</a> to configure my XML file.</p>

<p>However the request returns below error message:</p>

<blockquote>
  <p>21919420: For multiple-variation listings, GTIN values are specified
  at the variation level. Please remove the GTIN value from the listing
  level and provide a GTIN value for each variation within the listing.</p>
</blockquote>

<p>My Code:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;ReviseFixedPriceItemRequest xmlns="urn:ebay:apis:eBLBaseComponents"&gt;
&lt;RequesterCredentials&gt;&lt;eBayAuthToken&gt;'.USERTOKEN.'&lt;/eBayAuthToken&gt;&lt;/RequesterCredentials&gt;
&lt;WarningLevel&gt;High&lt;/WarningLevel&gt;
&lt;Item&gt;
&lt;ItemID&gt;'.$param['itemID'].'&lt;/ItemID&gt;'.$xmlpriceandquantity.'
&lt;Title&gt;'.$itemTitle.'&lt;/Title&gt;
&lt;ProductListingDetails&gt; 
&lt;BrandMPN&gt; 
&lt;Brand&gt; Navdari &lt;/Brand&gt;
&lt;MPN&gt; 2016 &lt;/MPN&gt;
&lt;/BrandMPN&gt;
&lt;EAN&gt; ".$param['EAN']." &lt;/EAN&gt;
&lt;/ProductListingDetails&gt; 
&lt;Variations&gt;
&lt;Variation&gt;
&lt;SKU&gt;".$stockdetail['id'].$stockdetail['itemref']."&lt;/SKU&gt;
&lt;StartPrice&gt;".$stockdetail['price']."&lt;/StartPrice&gt;
&lt;Quantity&gt;".$stockdetail['qty']."&lt;/Quantity&gt;
&lt;VariationProductListingDetails&gt; &lt;EAN&gt;".$param['EAN']."&lt;/EAN&gt; &lt;/VariationProductListingDetails&gt;
&lt;VariationSpecifics&gt;
&lt;NameValueList&gt;
&lt;Name&gt;Size&lt;/Name&gt;
&lt;Value&gt;".$stockdetail['size']."&lt;/Value&gt;
&lt;/NameValueList&gt;
&lt;NameValueList&gt;
&lt;Name&gt;Color&lt;/Name&gt;
&lt;Value&gt;".$stockdetail['colour']."&lt;/Value&gt;
&lt;/NameValueList&gt;
&lt;/VariationSpecifics&gt;

&lt;/Variation&gt;
&lt;/Variations&gt;
&lt;/Item&gt;
&lt;/ReviseFixedPriceItemRequest&gt;
</code></pre>