I am updating the code that generates XML for eBay lists, some of which add MPN.
For single ads, everything works fine, since the brand and MPN can be specified through the ItemSpecifics container. However, for variants with several variations, MPN must be specified for each variant.
According to the documentation, it should be specified in the VariationSpecifics.NameValueList container.
I have added code for this that generates XML:
<Variation> <SKU>CODE</SKU> <StartPrice>99.99</StartPrice> <Quantity>124</Quantity> <VariationSpecifics> <NameValueList> <Name>MPN</Name> <Value>000001</Value> </NameValueList> <NameValueList> <Name>Choose Colour</Name> <Value>Black</Value> </NameValueList> </VariationSpecifics> </Variation>
When sending a request for a reprint of the product, it fails, responding to the following errors:
[1] => Array ( [ShortMessage] => Variation Specifics Mismatch. [LongMessage] => Variation Specifics provided does not match with the variation specifics of the variations on the item. [ErrorCode] => 21916664 [SeverityCode] => Error [ErrorClassification] => RequestError ) [2] => Array ( [ShortMessage] => Missing name in name-value list. [LongMessage] => Missing name in the variation specifics or variation specifics set. [ErrorCode] => 21916587 [SeverityCode] => Error [ErrorClassification] => RequestError )
I suggested that I need to provide each MPN in the VariationSpecificsSet.NameValueList container, adding that the listing was successful, but then MPN appears as an option for selection in the listing itself, which is clearly wrong:

How to specify MPN for multiposition lists?
source share