今までにいただいたお問い合わせの中よりピックアップしまして、今回は返金に関連した運用方法をご案内したいと思います。
Q. 1つの注文に対して複数回の返金ができますか?
A. 可能です。返金は、全額返金の他に一部返金という方法があります。全額返金されていなければ、残額がある限り返金が可能です。
Q. 1つの注文に複数の商品があるとき、1回のリクエストで2商品の返金を同時に行うことができますか?
A. 可能です。各商品毎に注文商品IDが設定されていますので、その注文商品IDを設定ください。
例:以下のような注文に対する返金を実施します。
注文画面
返金用XML作成のための元情報は注文APIの中のListOrderItemsオペレーションか、レポートAPIのGetReportオペレーションで注文レポートを取得することにより、注文情報を取得ください。
ListOrderItemsのレスポンス例 <?xml version="1.0"?>
<ListOrderItemsResponse xmlns="https://mws.amazonservices.com/Orders/2011-01-01">
<ListOrderItemsResult>
<OrderItems>
<OrderItem>
<ItemTax>
<Amount>0.00</Amount>
<CurrencyCode>JPY</CurrencyCode>
</ItemTax>
<OrderItemId>13107199803150</OrderItemId>
<GiftWrapPrice>
<Amount>0.00</Amount>
<CurrencyCode>JPY</CurrencyCode>
</GiftWrapPrice>
<ItemPrice>
<Amount>10.00</Amount>
<CurrencyCode>JPY</CurrencyCode>
</ItemPrice>
<QuantityOrdered>1</QuantityOrdered>
<PromotionDiscount>
<Amount>0.00</Amount>
<CurrencyCode>JPY</CurrencyCode>
</PromotionDiscount>
<GiftWrapTax>
<Amount>0.00</Amount>
<CurrencyCode>JPY</CurrencyCode>
</GiftWrapTax>
<SellerSKU>201301291130_01</SellerSKU>
<Title>商品A 201301291130_01</Title>
<ASIN>B00B7B96VA</ASIN>
<ConditionId>New</ConditionId>
<QuantityShipped>0</QuantityShipped>
<ShippingTax>
<Amount>0.00</Amount>
<CurrencyCode>JPY</CurrencyCode>
</ShippingTax>
<ShippingPrice>
<Amount>33.00</Amount>
<CurrencyCode>JPY</CurrencyCode>
</ShippingPrice>
<ConditionSubtypeId>New</ConditionSubtypeId>
<ShippingDiscount>
<Amount>0.00</Amount>
<CurrencyCode>JPY</CurrencyCode>
</ShippingDiscount>
</OrderItem>
<OrderItem>
<ItemTax>
<Amount>0.00</Amount>
<CurrencyCode>JPY</CurrencyCode>
</ItemTax>
<OrderItemId>44034350561686</OrderItemId>
<GiftWrapPrice>
<Amount>0.00</Amount>
<CurrencyCode>JPY</CurrencyCode>
</GiftWrapPrice>
<ItemPrice>
<Amount>20.00</Amount>
<CurrencyCode>JPY</CurrencyCode>
</ItemPrice>
<QuantityOrdered>1</QuantityOrdered>
<PromotionDiscount>
<Amount>0.00</Amount>
<CurrencyCode>JPY</CurrencyCode>
</PromotionDiscount>
<GiftWrapTax>
<Amount>0.00</Amount>
<CurrencyCode>JPY</CurrencyCode>
</GiftWrapTax>
<SellerSKU>201301291130_02</SellerSKU>
<Title>商品B 201301291130_02</Title>
<ASIN>B00B7B97UU</ASIN>
<ConditionId>New</ConditionId>
<QuantityShipped>0</QuantityShipped>
<ShippingTax>
<Amount>0.00</Amount>
<CurrencyCode>JPY</CurrencyCode>
</ShippingTax>
<ShippingPrice>
<Amount>67.00</Amount>
<CurrencyCode>JPY</CurrencyCode>
</ShippingPrice>
<ConditionSubtypeId>New</ConditionSubtypeId>
<ShippingDiscount>
<Amount>0.00</Amount>
<CurrencyCode>JPY</CurrencyCode>
</ShippingDiscount>
</OrderItem>
</OrderItems>
<AmazonOrderId>503-6495075-9702206</AmazonOrderId>
</ListOrderItemsResult>
<ResponseMetadata>
<RequestId>12db064f-f529-442b-859d-abf189b6c1c0</RequestId>
</ResponseMetadata>
</ListOrderItemsResponse>
返金時にはフィードAPIのSubmitFeedオペレーションを使用します。パラメーターには_POST_PAYMENT_ADJUSTMENT_DATA_を使用ください。
返金リクエストのXmlサンプルは以下の通りです。
<?xml version="1.0"?>
<AmazonEnvelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>[セラー様のトークン]</MerchantIdentifier>
</Header>
<MessageType>OrderAdjustment</MessageType>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<OrderAdjustment>
<AmazonOrderID>503-6495075-9702206</AmazonOrderID>
<AdjustedItem>
<AmazonOrderItemCode>13107199803150</AmazonOrderItemCode>
<MerchantAdjustmentItemID>01</MerchantAdjustmentItemID>
<AdjustmentReason>CustomerReturn</AdjustmentReason>
<ItemPriceAdjustments>
<Component>
<Type>Principal</Type>
<Amount currency="JPY">10</Amount>
</Component>
<Component>
<Type>Shipping</Type>
<Amount currency="JPY">33</Amount>
</Component>
</ItemPriceAdjustments>
</AdjustedItem>
<AdjustedItem>
<AmazonOrderItemCode>44034350561686</AmazonOrderItemCode>
<MerchantAdjustmentItemID>02</MerchantAdjustmentItemID>
<AdjustmentReason>CustomerReturn</AdjustmentReason>
<ItemPriceAdjustments>
<Component>
<Type>Principal</Type>
<Amount currency="JPY">20</Amount>
</Component>
<Component>
<Type>Shipping</Type>
<Amount currency="JPY">67</Amount>
</Component>
</ItemPriceAdjustments>
</AdjustedItem>
</OrderAdjustment>
</Message>
</AmazonEnvelope>
返金後
今後も、皆様よりいただいたお問い合わせを利用しながら、皆様にMWSの機能を最大限にご活用いただければと思いますのでどうぞよろしくお願いいたします。