Amazon MWS XML how to specify shipping template

Viewed 1643

Would appreciate some sample XML. I simply want to specify which shipping template should apply to any given product.

Amazon support pointed me to https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_4_1/Override.xsd but I fail to see how to specify the shipping template.

I was hoping there was something simple that could be included as part of _POST_PRODUCT_PRICING_DATA_ such as

<shipping_template>template1</shipping_template>

but I don't see that.

Thanks!

2 Answers

You should use the _POST_PRODUCT_DATA_

Here is the xml example that works for amazon.com:

    <AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
    <Header>
    <DocumentVersion>1.01</DocumentVersion><MerchantIdentifier>XYZ</MerchantIdentifier></Header>
    <MessageType>Product</MessageType>
    <Message>
    <MessageID>1</MessageID>
    <OperationType>PartialUpdate</OperationType>
    <Product><SKU>YOURSKUNAME</SKU>
    <DescriptionData>
    <Title>Sometitle</Title><MerchantShippingGroupName>SHIPPINGTEMPLATENAME</MerchantShippingGroupName></DescriptionData>
    </Product>
    </Message>
    </AmazonEnvelope>

Unfortunately it looks like the <Title> is mandatory even if you just want to change shipping template. If you want to change multiple skus at once just add more <Message> to the feed.

Related