I am trying to add a new product to inventory (new ASIN, new SKU, entirely new product) using MWS.
I am able to add the product using POST_PRODUCT_DATA
However, my calls to POST_PRODUCT_PRICING_DATA, POST_INVENTORY_AVAILABILITY_DATA, and POST_PRODUCT_IMAGE_DATA are failing.
I say they are failing because the products in my inventory in sellercentral show up, but the price is 0, the inventory quantity is 0, and there are no images for the products. I’ve waited for an hour or longer and still those values aren’t showing up for the products.
I get back a SUBMITTED status on the calls, so at least the XML isn’t being rejected immediately. But something isn’t working.
I also use a third party app that lists products to my store. I’m using the same MWS developer ID for my new app as I do for the third party app. But other than that, they are completely separate things.
However…ever since I started submitting new products using my new app that I’m working on, the submissions from the third party app are also having the same problem. Which is, the products are listed, but the price is 0, the quantity is 0, and there are no images.
That never happened before in two years using the third party app.
There are two likely possibilities that I see:
-
Coincidentally, at the same time I started building my new app, MWS started having problems with setting inventory, price, and images. And my new code has nothing whatsoever to do with the problem.
-
Somehow, something that my new code did is breaking inventory, price, and image submission to the other, third party app that is connected to the same MWS account.
I can provide my XML if that helps. Here’s the XML for the product:
<?xml version="1.0" encoding="iso-8859-1"?>\n
<AmazonEnvelope xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”\n
xsi:noNamespaceSchemaLocation=“amzn-envelope.xsd”>\n
\n
1.01\n
\n
\n
Product\n
false\n
\n
1\n
Update\n
\n
SE-5b7365bb04010\n
A_GEN_NOTAX\n
\n
This Is A Sample Title for a Sample Product - Example Goes Here - More Title Goes Here\n
*\n
This is a product description\n
Example Bullet Point 1\n
Example Bullet Point 2\n
25.19\n
Example Product Manufacturer\n
example-item-type\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Here’s the price:
<?xml version="1.0" encoding="utf-8"?>\n
\n
\n
1.01\n
*************\n
\n
Price\n
\n
id\n
\n
SE-5b7365bb04010\n
20.95\n
\n
\n
Here’s the inventory:
<?xml version="1.0" encoding="iso-8859-1"?>\n
\n
\n
1.01\n
************************\n
\n
Inventory\n
\n
1\n
Update\n
\n
SE-5b7365bb04010\n
999\n
14 \n
\n
Here’s the images:
<?xml version="1.0" encoding="iso-8859-1"?>\n
<AmazonEnvelope xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”\n
xsi:noNamespaceSchemaLocation=“amzn-envelope.xsd”>\n
\n
1.01\n
>**************\n
\n
ProductImage\n
false \n
\n
1 \n
Update \n
\n
SE-5b7365bb04010 \n
Main\n
url to image 1\n
\n
\n
\n
2 \n
Update \n
\n
SE-5b7365bb04010 \n
Swatch\n
url to image 2\n
\n