我已准备好用于提交已发货订单的提要。
它可以完美地处理一个订单,但不知何故它不适用于多个订单和错误后的状态。
<Result>
<MessageID>9223372036854775807</MessageID>
<ResultCode>Error</ResultCode>
<ResultMessageCode>50001</ResultMessageCode>
<ResultDescription>The XML you submitted is ill-formed at the Amazon Envelope XML level at (or near) line 24, column 23.</ResultDescription>
</Result>
我的饲料在下面。
<?xml version="1.0" encoding="UTF-8"?>
<AmazonEnvelope xsi:noNamespaceSchemaLocation="amzn-envelope.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>xxxxxxxxxxxx</MerchantIdentifier>
</Header>
<MessageType>OrderFulfillment</MessageType>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<OrderFulfillment>
<AmazonOrderID>123-4567-78965</AmazonOrderID>
<FulfillmentDate>2018-05-21T06:58:20Z</FulfillmentDate>
<FulfillmentData>
<CarrierName>xxxxx</CarrierName>
<ShippingMethod>xxxx</ShippingMethod>
<ShipperTrackingNumber>xxxxxx</ShipperTrackingNumber>
</FulfillmentData>
<Item>
<AmazonOrderItemCode>1233</AmazonOrderItemCode>
<Quantity>1</Quantity>
</Item>
</OrderFulfillment>
<OrderFulfillment>
<AmazonOrderID>123-4567-78966</AmazonOrderID>
<FulfillmentDate>2018-05-22T06:58:18Z</FulfillmentDate>
<FulfillmentData>
<CarrierName>xxxx</CarrierName>
<ShippingMethod>xxxx</ShippingMethod>
<ShipperTrackingNumber>xxxxxx</ShipperTrackingNumber>
</FulfillmentData>
<Item>
<AmazonOrderItemCode>xxxxxxxxx</AmazonOrderItemCode>
<Quantity>1</Quantity>
</Item>
</OrderFulfillment>
</Message>
</AmazonEnvelope>
让我知道我是否遗漏了什么。谢谢