Amazon MWS feed

Found that information about Amazon’s MWS is pretty hard to find and pretty scattered.  Took me awhile to even find a link to ORDER_ACKNOWLEDGEMENT, ORDER_FULFILLMENT sample that Amazon provides.

sellercentral.amazon.com/help/merchant_documents/XSD/samples/OrderAcknowledgement_sample.xml

If you are fulfilling multiple orders in one XML you want to repeat everything in the <Message>


<?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></MerchantIdentifier>
  </Header>
  <MessageType>OrderAcknowledgement</MessageType>
  <Message>
    <MessageID>1</MessageID>
    <OrderAcknowledgement>
      <AmazonOrderID></AmazonOrderID>
      <MerchantOrderID></MerchantOrderID>
      <StatusCode>Success</StatusCode>
      <Item>
        <AmazonOrderItemCode></AmazonOrderItemCode>
        <MerchantOrderItemID></MerchantOrderItemID>
      </Item>
    </OrderAcknowledgement>
  </Message>
  <Message>
    <MessageID>2</MessageID>
    <OrderAcknowledgement>
      <AmazonOrderID></AmazonOrderID>
      <MerchantOrderID></MerchantOrderID>
      <StatusCode>Success</StatusCode>
      <Item>
        <AmazonOrderItemCode></AmazonOrderItemCode>
        <MerchantOrderItemID></MerchantOrderItemID>
      </Item>
    </OrderAcknowledgement>
  </Message>
  <Message>
    <MessageID>3</MessageID>
    <OrderAcknowledgement>
      <AmazonOrderID></AmazonOrderID>
      <MerchantOrderID></MerchantOrderID>
      <StatusCode>Success</StatusCode>
      <Item>
        <AmazonOrderItemCode></AmazonOrderItemCode>
        <MerchantOrderItemID></MerchantOrderItemID>
      </Item>
      <Item>
        <AmazonOrderItemCode></AmazonOrderItemCode>
        <MerchantOrderItemID></MerchantOrderItemID>
      </Item>
    </OrderAcknowledgement>
  </Message>
</AmazonEnvelope>

 

Link to solution

Advertisements
This entry was posted in Uncategorized and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s