【问题标题】:How to send multiple products to Amazon Marketplace?如何将多个产品发送到亚马逊商城?
【发布时间】:2015-04-14 09:33:26
【问题描述】:

我正在开发一个库存控制系统,客户希望将他们的商品导出到他们的亚马逊商城账户。到目前为止,我遇到了 SubmitFeed 端点。但是,我看到的所有示例都只显示了提交单个产品的示例。

正如亚马逊的文档所述,您一次只能有这么多活动提要,我原以为您可以在一个提要中发送多个产品,这样您就不会耗尽提要限制,就像我想象的那样卖家会希望一次列出数十种甚至数百种产品。

我目前正在发送包含一个 <Message> 元素的 XML 文档,即

<Message>
    <MessageID>1</MessageID>
    <OperationType>Update</OperationType>
    <Product>
        <SKU>56789</SKU>
        <StandardProductID>
            <Type>ASIN</Type>
            <Value>B0EXAMPLEG</Value>
        </StandardProductID>
        <ProductTaxCode>A_GEN_NOTAX</ProductTaxCode>
        <DescriptionData>
            <Title>Example Product Title</Title>
            <Brand>Example Product Brand</Brand>
            <Description>This is an example product description.</Description>
            <BulletPoint>Example Bullet Point 1</BulletPoint>
            <BulletPoint>Example Bullet Point 2</BulletPoint>
            <MSRP currency="USD">25.19</MSRP>
            <Manufacturer>Example Product Manufacturer</Manufacturer>
            <ItemType>example-item-type</ItemType>
        </DescriptionData>
        <ProductData>
            <Health>
                <ProductType>
                    <HealthMisc>
                        <Ingredients>Example Ingredients</Ingredients>
                        <Directions>Example Directions</Directions>
                    </HealthMisc>
                </ProductType>
            </Health>
        </ProductData>
    </Product>
</Message>

&lt;MessageID&gt; 元素表明我可以在提要中指定多个“消息”,但我不确定语法,因为我希望 &lt;Message&gt; 位于 &lt;Messages&gt; 元素中,在我可以指定多条消息。

如何指定附加消息和附加产品?还是我走错了路?

【问题讨论】:

    标签: amazon amazon-mws


    【解决方案1】:

    你需要在一个AmazonEnvelope中发送多个Messages:

    <?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>MERCHANTID</MerchantIdentifier>
        </Header>
        <MessageType>Product</MessageType>
        <Message>
            <MessageID>1</MessageID>
            <OperationType>Update</OperationType>
            <Product>
                ....
            </Product>
        </Message>
        <Message>
            <MessageID>2</MessageID>
            <OperationType>Update</OperationType>
            <Product>
                ....
            </Product>
        </Message>
    </AmazonEnvelope>
    

    一个供稿中的所有消息都必须是相同的MessageType(例如,您不能将产品消息与库存数据混合)并且具有此供稿独有的MessageID

    【讨论】:

    • 刚刚好。谢谢!
    猜你喜欢
    • 2011-12-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多