【问题标题】:Amazon MWS: Issue with OrderAdjustment Feed, Partial Cancellation亚马逊 MWS:OrderAdjustment Feed 问题、部分取消
【发布时间】:2015-10-12 03:47:27
【问题描述】:

为了部分取消亚马逊上的订单,我正在使用 OrderAdjustmentFeed,如此处所述

https://images-na.ssl-images-amazon.com/images/G/02/rainier/help/XML_Documentation_Intl.V158772716.pdf

我的 XML 提要看起来像这样

<?xml version="1.0" encoding="UTF-8"?>
<AmazonEnvelope>
    <Header>
        <DocumentVersion>1.01</DocumentVersion>
        <MerchantIdentifier>******##******</MerchantIdentifier>
    </Header>
    <MessageType>OrderAdjustment</MessageType>
    <Message>
        <MessageID>1</MessageID>
        <OrderAdjustment>
            <AmazonOrderID>*****************</AmazonOrderID>
            <AdjustedItem>
                <AmazonOrderItemCode>*********</AmazonOrderItemCode>
                <AdjustmentReason>NoInventory</AdjustmentReason>
                <ItemPriceAdjustments>
                    <Component>
                        <Type>Principal</Type>
                        <Amount currency="INR">0.05</Amount>
                    </Component>
                    <Component>
                        <Type>Tax</Type>
                        <Amount currency="INR">0.00</Amount>
                    </Component>
                </ItemPriceAdjustments>
                <QuantityCancelled>1</QuantityCancelled>
            </AdjustedItem>
        </OrderAdjustment>
    </Message>
</AmazonEnvelope>

Feed 有效,它会在卖家面板中更新所述商品的退款金额。

但是,问题是商品的状态没有从“未发货”变为“已取消”。

如果我使用 OrderAcknowledgement 提要,那么正如预期的那样,它会取消订单中的所有商品,这通过状态更改来确认。

任何人都可以帮助我理解为什么即使发起退款,卖家面板中的状态也不会变为“已取消”?

PS:我正在使用沙盒帐户进行测试。

【问题讨论】:

    标签: xml amazon-web-services amazon-mws


    【解决方案1】:

    您在问题中提到的链接中的第 46 页有一个 XML 提要示例,其中有这一行来定义亚马逊 xml 架构:

    <AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amznenvelope.xsd">
    

    并且在您的 XML 提要中,您没有在标记中定义架构,这可能是原因(根据我的个人经验)。

    【讨论】:

    • 事实并非如此,因为亚马逊正在成功更新退款金额。如果 XML 格式不正确,那么暂存器会显示错误,而它目前没有显示。
    猜你喜欢
    • 2013-09-22
    • 2020-10-14
    • 1970-01-01
    • 2019-04-28
    • 2013-05-27
    • 1970-01-01
    • 2011-08-30
    • 2015-06-15
    相关资源
    最近更新 更多