Help with OrderAdjustment XML


Hey, I am wanting to use the feeds api (XML) to cancel an order and also issue a restocking fee, the XML passes when tested against the XSD files, but fails after submission with a ResultMessageCode: 18028 and a ResultDescription: The data you submitted with this item is incomplete or invalid. Please resubmit the item with all required fields completed with valid data.

<?xml version='1.0'?>
<AmazonEnvelope xmlns:xsi='' xsi:noNamespaceSchemaLocation='amzn-envelope.xsd'>
    <MerchantIdentifier>valid merchant id</MerchantIdentifier>
        <AmazonOrderID>valid order id</AmazonOrderID>
            <AmazonOrderItemCode>valid order item code</AmazonOrderItemCode>
                    <Amount currency='USD'>0</Amount>
                    <Amount currency='USD'>0.00</Amount>
                    <Amount currency='USD'>3.00</Amount>

Any help would be greatly appreciated, I am not sure what is missing or wrong with my XML file, and not sure if I am even doing the price adjustments correctly.



Why are you charging a restocking fee on a cancelled order. You can only cancel unshipped orders so a restocking fee would not apply.


You can’t cancel an order if you confirmed shipment. You can only refund less restocking.