我提交的客户退款请求的XML:
<?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>A24MUCS*****</MerchantIdentifier>
</Header>
<MessageType>OrderAdjustment</MessageType>
<Message>
<MessageID>1</MessageID>
<OrderAdjustment>
<AmazonOrderID>105-3616276-******</AmazonOrderID>
<AdjustedItem>
<AdjustmentReason>CustomerCancel</AdjustmentReason>
<ItemPriceAdjustments>
<Component>
<Type>Principal</Type>
<Amount currency="USD">0.09</Amount>
</Component>
<Component>
<Type>Shipping</Type>
<Amount currency="USD">4.87</Amount>
</Component>
</ItemPriceAdjustments>
</AdjustedItem>
</OrderAdjustment>
</Message>
</AmazonEnvelope>
在提交XML时,亚马逊返回的错误是: 错误5000:这是格式错误或无效的XML文档。
答案 0 :(得分:1)
您的XML似乎没有格式错误或无效。但是,它缺少需要在AmazonOrderItemCode
之前声明的MerchantOrderItemID
或AdjustmentReason
,这就是它无法验证的原因。