[英]Amazon MWS: Issue with OrderAdjustment Feed, Partial Cancellation
要部分取消亞馬遜的訂單,我正在使用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>
供稿有效,並且在賣方面板中更新了所提及商品的退款金額。
但是,問題在於該項目的狀態不會從“未發貨”更改為“已取消”。
而且,如果我使用OrderAcknowledgement feed,則按預期的方式,它將取消訂單中的所有項目,狀態會得到確認。
有人可以幫助我理解為什么即使退款開始后賣方面板中的狀態也不會更改為“已取消”嗎?
PS:我正在使用沙箱帳戶進行測試。
您在問題中提到的鏈接的第46頁上有一個XML提要示例,其中的這一行用於定義Amazon xml Schema:
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amznenvelope.xsd">
並且您沒有在XML Feed中定義標記中的架構,這可能就是原因(根據我的個人經驗)。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.