Submit New Product Using Amazon Marketplace WebService - amazon-web-services

I am trying to add a new product using MWS, Here's the XML I am using:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<AmazonEnvelope>
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>my merchant id</MerchantIdentifier>
</Header>
<MessageType>Product</MessageType>
<Message>
<MessageID>1</MessageID>
<Product>
<SKU>SKU-TEST-123</SKU>
<StandardProductID>
<Type>ISBN</Type>
<Value>9781235467899</Value>
</StandardProductID>
<LaunchDate>2010-02-17T20:15:58.309+02:00</LaunchDate>
<ReleaseDate>2010-02-17T20:15:58.309+02:00</ReleaseDate>
<DescriptionData>
<Title>My Product</Title>
<Description>Product Description ...</Description>
</DescriptionData>
</Product>
</Message>
</AmazonEnvelope>
I got error in the processing report:
<Result>
<MessageID>1</MessageID>
<ResultCode>Error</ResultCode>
<ResultMessageCode>8060</ResultMessageCode>
<ResultDescription>The Product with SKU [SKU-TEST-123] cannot be matched to an existing product for the following reason: (NEW is not allowed; ). For more details, see http://sellercentral.amazon.com/gp/errorcode/8060</ResultDescription>
<AdditionalInfo>
<SKU>SKU-TEST-123</SKU>
</AdditionalInfo>
</Result>
I should be able to upload new products, no? Is there any restrictions to the SKU?

You should specify the OperationType immedately after the MessageID. For example:
<MessageID>1</MessageID>
<OperationType>PartialUpdate</OperationType>
<Product>
<SKU>SKU-TEST-123</SKU>
<StandardProductID>
<Type>ISBN</Type>
<Value>9781235467899</Value>
</StandardProductID>
<ProductTaxCode>A_GEN_TAX</ProductTaxCode>
<DescriptionData>
<Title>My product</Title>
<Brand>My brand</Brand>
<Description>My description</Description>
<MSRP currency="USD">24.03</MSRP>
<Manufacturer>blah</Manufacturer>
<SearchTerms>foo</SearchTerms>
<SearchTerms>bar</SearchTerms>
<SearchTerms>xyzzy</SearchTerms>
</DescriptionData>
</Product>
</Message>

I get the same error with a Text Tab Delimited file upload... all the ones that come back with that error seem to be sold books, or books that I am trying to remove from the database.. But they still seem to come off anyways. Try searching for your sku here https://sellercentral.amazon.com/myi/search/ItemSummary.amzn?ref_=sc_site_map_smless_ezdpc_gui_inv&refsrc=sm
Maybe the files have uploaded and amazon is just spittng out a strange error message at you?

Related

Authorize Customer profile creation failed error

i was working on charge transaction with create payment profile. but not sure why i am getting "Customer profile creation failed." error.
here is my request.
<createTransactionRequest xmlns='AnetApi/xml/v1/schema/AnetApiSchema.xsd'>
<merchantAuthentication>
<name>***</name>
<transactionKey>***</transactionKey>
</merchantAuthentication>
<transactionRequest>
<transactionType>authCaptureTransaction</transactionType>
<amount>16.0</amount>
<payment>
<creditCard>
<cardNumber>5424000000000015</cardNumber>
<expirationDate>1217</expirationDate>
<cardCode>123</cardCode>
</creditCard>
</payment>
<profile>
<createProfile>true</createProfile>
</profile>
<customer>
<id>1509041488071M1S4JO7</id>
</customer>
<billTo>
<firstName>first name</firstName>
<lastName>last name</lastName>
<address>test address</address>
<city>test city</city>
<state>TX</state>
<zip>12345</zip>
<country>USA</country>
</billTo>
</transactionRequest>
</createTransactionRequest>
here is the response i am receiving.
<?xml version="1.0" encoding="utf-8"?><createTransactionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<messages>
<resultCode>Ok</resultCode>
<message>
<code>I00001</code>
<text>Successful.</text>
</message>
</messages>
<transactionResponse>
<responseCode>4</responseCode>
<authCode />
<avsResultCode>P</avsResultCode>
<cvvResultCode />
<cavvResultCode />
<transId>60032849402</transId>
<refTransID />
<transHash>50548437B6AA41F3C509C37269336E3E</transHash>
<testRequest>0</testRequest>
<accountNumber>XXXX0015</accountNumber>
<accountType>MasterCard</accountType>
<messages>
<message>
<code>252</code>
<description>Your order has been received. Thank you for your business!</description>
</message>
</messages>
<transHashSha2 />
</transactionResponse>
<profileResponse>
<messages>
<resultCode>Error</resultCode>
<message>
<code>E00101</code>
<text>Customer profile creation failed.</text>
</message>
</messages>
</profileResponse>
</createTransactionResponse>
but not sure why i am getting "Customer profile creation failed." error.
transaction is creating successfully.
Response reason code 252 indicates that the transaction has been held for review because of the settings you have set in the Merchant Interface. Check your fraud screening settings in the Merchant Interface to see what it's set up to hold. Either send different test data to get around your screening filters you have set up, or change the filter settings.

POST SUBMIT FEED SKU & Quantity

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 14 hours ago.
Improve this question
I am trying to post SKU & Quantity of product on amazon mws,
My XML format is
<?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>XYZ</MerchantIdentifier> </Header>
<MessageType>Inventory</MessageType> <Message>
<MessageID>1</MessageID> <OperationType>Update</OperationType>
<Inventory> <SKU>F311020-CGDD-7.5</SKU> <Quantity>13</Quantity>
</Inventory> </Message> </AmazonEnvelope>
when i post the xml i get status with 200 ok & Submit successful in response but when i try those submitId on scratchpad i get error 25 as,
<?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.02</DocumentVersion>
<MerchantIdentifier>XYZ</MerchantIdentifier>
</Header>
<MessageType>ProcessingReport</MessageType>
<Message>
<MessageID>1</MessageID>
<ProcessingReport>
<DocumentTransactionID>64542017417</DocumentTransactionID>
<StatusCode>Complete</StatusCode>
<ProcessingSummary>
<MessagesProcessed>1</MessagesProcessed><MessagesSuccessful>0</MessagesSuccessful>
<MessagesWithError>1</MessagesWithError><MessagesWithWarning>0</MessagesWithWarning>
</ProcessingSummary>
<Result>
<MessageID>1</MessageID>
<ResultCode>Error</ResultCode>
<ResultMessageCode>25</ResultMessageCode>
<ResultDescription>We are unable to
process the XML feed because one or more items are invalid. Please re-submit
the feed.</ResultDescription>
</Result>
</ProcessingReport>
</Message>
</AmazonEnvelope>
Am I missing anything here? Here I am using JavaScript to post data.
I use very similar XML to update my stock on Amazon, and the only difference is "FulfillmentLatency", you can try this XML.
Are you using same XML feed in scratchPad?
<?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>$merchant_token</MerchantIdentifier>
</Header>
<MessageType>Inventory</MessageType>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Inventory>
<SKU>$sku</SKU>
<Quantity>$quantity</Quantity>
<FulfillmentLatency>1</FulfillmentLatency>
</Inventory>
</Message>
</AmazonEnvelope>

presta shop product features are not getting added through webservice

Am trying to add a product to prestashop through web service.Am able to add everything but the product feature value is not getting added. The feature label is getting selected in backend but the value is empty. The product xml is given below
<?xml version="1.0" encoding="UTF-8"?>
<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
<product>
<id></id>
<id_manufacturer>1</id_manufacturer>
<id_supplier>1</id_supplier>
<id_category_default>5</id_category_default>
<new>1</new>
<cache_default_attribute>1</cache_default_attribute>
<id_default_image>1</id_default_image>
<id_default_combination>1</id_default_combination>
<id_tax_rules_group>1</id_tax_rules_group>
<position_in_category>0</position_in_category>
<type>simple</type>
<id_shop_default>1</id_shop_default>
<reference>demo_1</reference>
<supplier_reference></supplier_reference>
<location></location>
<width>0.000000</width>
<height>0.000000</height>
<depth>0.000000</depth>
<weight>0.000000</weight>
<quantity_discount>0</quantity_discount>
<ean13>0</ean13>
<isbn></isbn>
<upc></upc>
<cache_is_pack>0</cache_is_pack>
<cache_has_attachments>0</cache_has_attachments>
<is_virtual>0</is_virtual>
<state>1</state>
<on_sale>0</on_sale>
<online_only>0</online_only>
<ecotax>0.000000</ecotax>
<minimal_quantity>1</minimal_quantity>
<price>12.00</price>
<wholesale_price>10.00</wholesale_price>
<unity></unity>
<unit_price_ratio>0.000000</unit_price_ratio>
<additional_shipping_cost>0</additional_shipping_cost>
<customizable>0</customizable>
<text_fields>0</text_fields>
<uploadable_files>0</uploadable_files>
<active>1</active>
<redirect_type>404</redirect_type>
<id_type_redirected>0</id_type_redirected>
<available_for_order>1</available_for_order>
<available_date>0000-00-00</available_date>
<show_condition>0</show_condition>
<condition>new</condition>
<show_price>1</show_price>
<indexed>1</indexed>
<visibility>both</visibility>
<advanced_stock_management>0</advanced_stock_management>
<date_add></date_add>
<date_upd></date_upd>
<pack_stock_type>3</pack_stock_type>
<meta_description><language id="1">dsgfdsgdf</language></meta_description>
<meta_keywords><language id="1">fgdgdfgdf</language></meta_keywords>
<meta_title><language id="1">dfgdfgdf</language></meta_title>
<link_rewrite><language id="1"></language></link_rewrite>
<name><language id="1">New Product</language></name>
<description><language id="1">kk descritption</language></description>
<description_short><language id="1">kk</language></description_short>
<available_now><language id="1"></language></available_now>
<available_later><language id="1"></language></available_later>
<associations>
<categories>
<category>
<id>2</id>
</category>
</categories>
<images>
<image>
<id></id>
</image>
</images>
<combinations>
<combination>
<id></id>
</combination>
</combinations>
<product_option_values>
<product_option_value>
<id></id>
</product_option_value>
</product_option_values>
<product_features>
<product_feature>
<id>8</id>
<custom>1</custom>
<id_feature_value>222</id_feature_value>
</product_feature>
</product_features>
<tags>
<tag>
<id></id>
</tag>
</tags>
<stock_availables>
<stock_available>
<id>1</id>
<id_product_attribute>0</id_product_attribute>
</stock_available>
</stock_availables>
<accessories>
<product>
<id></id>
</product>
</accessories>
<product_bundle>
<product>
<id></id>
<quantity></quantity>
</product>
</product_bundle>
</associations>
</product>
</prestashop>
below given the feature part of the xml
<product_features>
<product_feature>
<id>8</id>
<custom>1</custom>
<id_feature_value>222</id_feature_value>
</product_feature>
</product_features>
attaching the backend screen.

Amazon MWS API - SubmitFeed completed but quantity not updated

I need to update quantity for a single product via SubmitFeed API and "_POST_INVENTORY_AVAILABILITY_DATA_" feed type:
<?xml version=""1.0"" encoding=""utf-8"" ?>
<AmazonEnvelope xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xsi:noNamespaceSchemaLocation=""amznenvelope.xsd"">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>MERCHANT_ID</MerchantIdentifier>
</Header>
<MessageType>Inventory</MessageType>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Inventory>
<SKU>MY_SKU_CODE</SKU>
<Quantity>2</Quantity>
</Inventory>
</Message>
</AmazonEnvelope>
Submission was OK (checked from MWS Scratchpad):
<?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.02</DocumentVersion>
<MerchantIdentifier>...</MerchantIdentifier>
</Header>
<MessageType>ProcessingReport</MessageType>
<Message>
<MessageID>1</MessageID>
<ProcessingReport>
<DocumentTransactionID>...</DocumentTransactionID>
<StatusCode>Complete</StatusCode>
<ProcessingSummary>
<MessagesProcessed>1</MessagesProcessed>
<MessagesSuccessful>1</MessagesSuccessful>
<MessagesWithError>0</MessagesWithError>
<MessagesWithWarning>0</MessagesWithWarning>
</ProcessingSummary>
</ProcessingReport>
</Message>
</AmazonEnvelope>
but the quantity for that SKU hadn't changed in my inventory (as seen in my Amazon Seller Central back office). Amazon's forums did not help. Any suggestion?
When I run into issues where the SKU isn't updating, I include the ASIN which usually does the trick. You'd include it like this:
<SKU>MY_SKU</SKU>
<StandardProductID>
<Type>ASIN</Type>
<Value>MY_SKU'S_ASIN</Value>
</StandardProductID>
You can also use GCID, UPC, etc, just by changing the type in the Type field. This usually does the trick for me if fields aren't updating properly
I find the feeds api will sometimes silently fail. See my post here for more information.
https://sellercentral.amazon.com/forums/thread.jspa?threadID=347480&tstart=0
My solution (in my case tracking on orders is what I'm trying to update) is to periodically confirm that the action I took actually resulted in the change, and if the change did not happen, to just resend the feed exactly the same.

I'm using amazon mws to Product Feed Submission and returns id and success message,but i'm not able to find where its located in sellercentral?

I'm Submitting the below feed and geeting the submit feed id by getFeedSubmissionId().
But The product is not appearing in the sellers site. please help me in this regards.
feed :
<?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>**********</MerchantIdentifier>
</Header>
<MessageType>Product</MessageType>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Product>
<SKU>RO7WA11930KB1CASB</SKU>
<StandardProductID>
<Type>EAN</Type>
<Value>$ean</Value>
</StandardProductID>
<LaunchDate>$sDate</LaunchDate>
<DescriptionData>
<Title>$title</Title>
<Brand>$mid</Brand>
<Description>$desc</Description>
<MSRP currency="EUR">$price</MSRP>
<Manufacturer>$mid</Manufacturer>
<ItemType>stilhund</ItemType>
<ItemPackageQuantity>$stock</ItemPackageQuantity>
<RecommendedBrowseNode>12950661</RecommendedBrowseNode>
</DescriptionData>
<ProductData>
<Health>
<ProductType>
<HealthMisc>
<Material>Stilhund Products</Material>
</HealthMisc>
</ProductType>
</Health>
</ProductData>
</Product>
</Message>
</AmazonEnvelope>
Thanks in advance
You can find it with "GetFeedSubmissionResult" api where you pass your "FeedSubmissionId" and get the status of your submitted feed.