次の XML を使用して、フィードを通じて追跡情報を受け取り、Amazon を更新しています。
<?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>**Commented Out**</MerchantIdentifier>
</Header>
<MessageType>OrderFulfillment</MessageType>
<Message>
<MessageID>1</MessageID>
<OrderFulfillment>
<AmazonOrderID>**Commented Out**</AmazonOrderID>
<MerchantFulfillmentID>123456</MerchantFulfillmentID>
<FulfillmentDate>2013-17-09T00:00:00</FulfillmentDate>
<FulfillmentData>
<CarrierName>UPS</CarrierName>
<ShippingMethod>UPS Ground</ShippingMethod>
<ShipperTrackingNumber>**Commented Out**</ShipperTrackingNumber>
</FulfillmentData>
<Item>
<AmazonOrderItemCode>**Commented Out**</AmazonOrderItemCode>
<MerchantFulfillmentID>1</MerchantFulfillmentID>
<Quantity>1</Quantity>
</Item>
</OrderFulfillment>
</Message>
</AmazonEnvelope>
次の応答を受け取りましたが、特定できません:
<Result>
<MessageID>1</MessageID>
<ResultCode>Error</ResultCode>
<ResultMessageCode>25</ResultMessageCode>
<ResultDescription>We are unable to process the XML feed because one or more items are invalid. Please re-submit the feed.</ResultDescription>
</Result>