我尝试为每个订单获取退回的商品,但不幸的是,它似乎并未提供来自亚马逊网络服务的此类信息。
public GetOrderResponse InvokeGetOrder()
{
// Create a request.
GetOrderRequest request = new GetOrderRequest();
request.SellerId = sellerId;
string mwsAuthToken = "";
request.MWSAuthToken = mwsAuthToken;
List<string> amazonOrderId = new List<string>();
amazonOrderId.Add("106-5297482-5403402");
request.AmazonOrderId = amazonOrderId;
return this.client.GetOrder(request);
}
上面的代码是获取特定亚马逊订单ID的订单信息。
结果如下
<GetOrderResponse xmlns="https://mws.amazonservices.com/Orders/2013-09-01">
<GetOrderResult>
<Orders>
<Order>
<AmazonOrderId>asdfasdf</AmazonOrderId>
<SellerOrderId>asdfasdfas</SellerOrderId>
<PurchaseDate>07/17/2014 10:39:34</PurchaseDate>
<LastUpdateDate>07/17/2014 22:17:37</LastUpdateDate>
<OrderStatus>Shipped</OrderStatus>
<FulfillmentChannel>AFN</FulfillmentChannel>
<SalesChannel>Amazon.com</SalesChannel>
<ShipServiceLevel>SecondDay</ShipServiceLevel>
<ShippingAddress>
</ShippingAddress>
<OrderTotal>
<CurrencyCode>USD</CurrencyCode>
<Amount>53.18</Amount>
</OrderTotal>
<NumberOfItemsShipped>2</NumberOfItemsShipped>
<NumberOfItemsUnshipped>0</NumberOfItemsUnshipped>
<PaymentExecutionDetail />
<PaymentMethod>Other</PaymentMethod>
<MarketplaceId></MarketplaceId>
<BuyerEmail></BuyerEmail>
<BuyerName></BuyerName>
<ShipmentServiceLevelCategory>SecondDay</ShipmentServiceLevelCategory>
<OrderType>StandardOrder</OrderType>
<EarliestShipDate>07/17/2014 18:50:15</EarliestShipDate>
<LatestShipDate>07/17/2014 18:50:15</LatestShipDate>
</Order>
</Orders>
</GetOrderResult>
<ResponseMetadata>
<RequestId>asdfsadfasdfasdf</RequestId>
</ResponseMetadata>
</GetOrderResponse>
我知道此订单包含退回的商品。
非常感谢。
答案 0 :(得分:3)
您可以尝试从卖家中心安排交易报告,因为您无法请求使用MWS,只要此报告准备就绪,您就可以使用“_GET_DATE_RANGE_FINANCIAL_TRANSACTION_DATA_
”检索它,其中包括已退回或已退款的订单。