Seller Central
Seller Forums

Amazon Seller Forums » Amazon Marketplace Web Service (MWS) » Marketplace Web Service (Amazon MWS) Questions

Thread: Including Battery and Hazard info in XML feeds for FBA
This question is answered.


Permlink Replies: 3 - Pages: 1 - Last Post: 13 Jan, 2018 8:40 AM by: BoomResolved
Media Moguls

Posts: 4
Registered: 19 Feb, 13 3:54 AM
Posted on: 12 Jan, 2018 2:03 PM  
Click to report abuse...   Click to reply to this thread Reply
Hello,

I just recently realized that my code to add products to my catalog and then change them to FBA is failing due to the battery and hazardous information not being supplied in my product feed when i submit the inventory feed to update fulfillment. Wondering if someone can look at my template below and tell me what I need to add to say "Not Applicable" for hazardous and "No" to battery (like i would from the UI):

<?xml version="1.0" encoding="utf-8" ?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier></MerchantIdentifier>
</Header>

<MessageType>Product</MessageType>
<PurgeAndReplace>false</PurgeAndReplace>

{% for message in FeedMessages %}
<Message>
<MessageID>{{ loop.index }}</MessageID>
<OperationType>PartialUpdate</OperationType>
<Product>
<SKU>{{ message[0] }}</SKU>
<StandardProductID>
<Type>ASIN</Type>
<Value>{{ message[1]}}</Value>
</StandardProductID>
<Condition>
<ConditionType>New</ConditionType>
</Condition>
</Product>
</Message>
{% endfor %}

</AmazonEnvelope>
Is this a helpful question? Yes 0   No
3 Replies
Sort replies by:
Media Moguls

Posts: 4
Registered: 19 Feb, 13 3:54 AM
Posted on: 12 Jan, 2018 7:08 PM   in response to: Media Moguls in response to: Media Moguls  
Click to report abuse...   Click to reply to this thread Reply
I found this from another post, but even this doesn't work and just gives even more errors:

<?xml version="1.0" encoding="iso-8859-1"?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>XXXXXXXXX</MerchantIdentifier>
</Header>
<MessageType>Product</MessageType>
<PurgeAndReplace>false</PurgeAndReplace>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Product>
<SKU>XXXXXXXXXX</SKU>
<StandardProductID>
<Type>ASIN</Type>
<Value>XXXXXXXXX</Value>
</StandardProductID>
<Condition>
<ConditionType>New</ConditionType>
</Condition>
<DescriptionData>
<Battery>
<AreBatteriesIncluded>false</AreBatteriesIncluded>
</Battery>
<Brand>XXXXXXXX</Brand>
<SupplierDeclaredDGHZRegulation>not_applicable</SupplierDeclaredDGHZRegulation>
<Title>XXXXXXXXXXX</Title>
</DescriptionData>
<LaunchDate>2017-10-18T14:24:17.589745Z</LaunchDate>
</Product>
</Message>
</AmazonEnvelope>
Was this reply helpful? Yes 0   No 0
Media Moguls

Posts: 4
Registered: 19 Feb, 13 3:54 AM
Posted on: 13 Jan, 2018 8:35 AM   in response to: Media Moguls in response to: Media Moguls  
Click to report abuse...   Click to reply to this thread Reply
Stuck with it, and got this solved. I also sent a request to Seller Support to get them to update the XSD because there's no mention of this in it. Make sure you CDATA the title because things like & will crash the XML.

<DescriptionData>
<Title>{{ message[2] }}</Title>
<Battery>
<AreBatteriesRequired>false</AreBatteriesRequired>
</Battery>
<SupplierDeclaredDGHZRegulation>not_applicable</SupplierDeclaredDGHZRegulation>
</DescriptionData>
Was this reply helpful? Yes 0   No 0
BoomResolved

Posts: 2
Registered: 16 Nov, 15 5:18 PM
Posted on: 13 Jan, 2018 8:40 AM   in response to: Media Moguls in response to: Media Moguls  
Click to report abuse...   Click to reply to this thread Reply
So after doing that, your inventory feed finished without providing the error that you were missing the information and allowed you to flip it to FBA?
Was this reply helpful? Yes 0   No 0