Szukałem w dokumentacji zarysowania głowę zastanawiając się, w jaki sposób złożyć kanał XML, który zrobi coś tak prostego jak zmiana ceny zapasuAmazon MWS składania ustawienie cena paszy
Szukałem na przykładowym kodzie XML, który podają, jak pokazano na stronie 15, w tym link, ponieważ jest to jedyny przykład, który znalazłem, nie wiem, jak zrobić wstawianie lub edytowanie produktów w moim inwentarzu sprzedawców. Czy ktoś może dać mi jakieś wskazówki
przykładzie podanym
POST /?Marketplace=ATVExampleDER
& Action=SubmitFeed
&Merchant=A1XExample5E6
&FeedType=_POST_PRODUCT_DATA_
&AWSAccessKeyId=0PB842ExampleN4ZTR2
&Version=2009-01-01
&Signature=SvSExamplefZpSignaturex2cs%3D
&SignatureVersion=2
&SignatureMethod=HmacSHA256
&Timestamp=2009-01-26T23%3A51%3A31.315Z HTTP/1.1
Content-Type: text/xml; charset=iso-8859-1
Content-MD5: ExampleMd5HashOfHttpBodyAsPerRfc2616Example
User-Agent: MWSTestsuite/2009-03-05 (Language=Java/1.6.0_11/50.0/
Sun Microsystems Inc.; Platform=Linux/i386/2.4.21-50a6smp;
MWSClientVersion=2009-03-09)
Host: mws.amazonservices.com
Transfer-Encoding: chunked
FeedContent
<?xml version="1.0" encoding="iso-8859-1"?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>M_EXAMPLE_123456</MerchantIdentifier>
</Header>
<MessageType>Product</MessageType>
<PurgeAndReplace>false</PurgeAndReplace>
<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>
</AmazonEnvelope>
dobre wyjaśnienie. Chcę wiedzieć, że zakłada produkt już sprzedający w Amazon i chcę również sprzedać ten produkt, to muszę również wysłać ten sam xml AmazonEnvelope? i przekazać wartość ASIN ASIN B0EXAMPLEG StandardProductID>? i co jeśli produkt nie istnieje w Amazon? –
virender