Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon MWS Marking order as shipped

I have listed all of my Amazon orders to my site.
Now, i want to have ability to mark order as shipped from my site and the status will be instantly updated on amazon.
I have looked at amazon feed api but not clear about the format of feed xml.
I just want an example feed xml for updating order status.
( actually i want to know which parameters in xml feed should i send to mark order status as shipped.)
Thanks in advance.

like image 212
Waqas Malik Avatar asked May 30 '13 17:05

Waqas Malik


2 Answers

If you search for Ship and Confirm Shipment (and get paid) - Order Fulfillment on Seller Central it will bring you to a page that provides the XSD and a sample XML file for this feed.

The XML is provided below per your request:

<?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>My Store</MerchantIdentifier>
    </Header>
    <MessageType>OrderFulfillment</MessageType>
    <Message>
        <MessageID>1</MessageID>
        <OrderFulfillment>
           <MerchantOrderID>1234567</MerchantOrderID>
           <MerchantFulfillmentID>1234567</MerchantFulfillmentID>
           <FulfillmentDate>2002-05-01T15:36:33-08:00</FulfillmentDate>
           <FulfillmentData>
               <CarrierCode>UPS</CarrierCode>
               <ShippingMethod>Second Day</ShippingMethod>
               <ShipperTrackingNumber>1234567890</ShipperTrackingNumber>
           </FulfillmentData>
            <Item>
               <MerchantOrderItemID>1234567</MerchantOrderItemID>
               <MerchantFulfillmentItemID>1234567</MerchantFulfillmentItemID>
               <Quantity>2</Quantity>
           </Item>
        </OrderFulfillment>
    </Message>
</AmazonEnvelope>

From the documentation:

Once you've shipped the order, send Amazon a shipping confirmation with fulfillment information

like image 66
Robert H Avatar answered Sep 30 '22 17:09

Robert H


The MWS documentation is spead over a number of PDF documents. The XML feed formats are described in depth in Selling on Amazon: Guide to XML.

like image 37
Hazzit Avatar answered Sep 30 '22 16:09

Hazzit