亚马逊 MWS 将订单标记为已发货

标签 amazon amazon-mws

我已经在我的网站上列出了我所有的亚马逊订单。
现在,我希望能够将订单标记为从我的网站发货,并且状态将在亚马逊上立即更新。
我看过亚马逊提要 api,但不清楚提要 xml 的格式。
我只想要一个用于更新订单状态的示例提要 xml。
(实际上我想知道我应该发送 xml 提要中的哪些参数来将订单状态标记为已发货。)
提前致谢。

最佳答案

如果您在卖家平台上搜索 Ship and Confirm Shipment (and get paid) - Order Fulfillment,它会将您带到一个页面,该页面提供此提要的 XSD 和示例 XML 文件。

XML 根据您的要求提供如下:

<?xml version="1.0" encoding="UTF-8"?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
    <Header>
        <DocumentVersion>1.01</DocumentVersion>
        <MerchantIdentifier>My Store</MerchantIdentifier>
    </Header>
    <MessageType>OrderFulfillment</MessageType>
    <Message>
        <MessageID>1</MessageID>
        <OrderFulfillment>
           <MerchantOrderID>1234567</MerchantOrderID>
           <MerchantFulfillmentID>1234567</MerchantFulfillmentID>
           <FulfillmentDate>2002-05-01T15:36:33-08:00</FulfillmentDate>
           <FulfillmentData>
               <CarrierCode>UPS</CarrierCode>
               <ShippingMethod>Second Day</ShippingMethod>
               <ShipperTrackingNumber>1234567890</ShipperTrackingNumber>
           </FulfillmentData>
            <Item>
               <MerchantOrderItemID>1234567</MerchantOrderItemID>
               <MerchantFulfillmentItemID>1234567</MerchantFulfillmentItemID>
               <Quantity>2</Quantity>
           </Item>
        </OrderFulfillment>
    </Message>
</AmazonEnvelope>

从文档:

Once you've shipped the order, send Amazon a shipping confirmation with fulfillment information

关于亚马逊 MWS 将订单标记为已发货,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16842515/

相关文章:

php - 亚马逊短网址正则表达式...为什么我不能让它工作

python - 在 Amazon EMR 上为 Pig UDF 加载外部 python 模块

css - Amazon.com的中间栏是如何做到的?

php - 我们应该在 Amazon MWS PHP SDK 的 APPLICATION_NAME 和 APPLICATION_VERSION 字段中输入什么?

c# - 如何使用 C# 包含来自不同文件夹的命名空间

report - 如何在亚马逊 MWS 订单报告中包含已取消的订单

php - 如何使用 PHP cURL 登录亚马逊

amazon-web-services - S3 静态网站仅显示 Index.html(但不显示其他依赖文件)

java - 亚马逊 MWS:报告和订单列表之间的区别

amazon-mws - 亚马逊MWS : how can I update my orders status without throttling?