How to Know stock value of any particular product ??

0

I got this below response from amazon product advertise "GetItems" api . From the below json how do i know what is stock quantity of this product . Means total number of this products available ??Which parameter is for that ??

{ "ItemsResult": { "Items": [ { "ASIN": "B016BJ2T0M", "BrowseNodeInfo": { "BrowseNodes": [ { "Ancestor": { "Ancestor": { "Ancestor": { "Ancestor": { "Ancestor": { "ContextFreeName": "Sports & Outdoors", "DisplayName": "Sports & Outdoors", "Id": "318949011" }, "ContextFreeName": "Sports & Outdoors", "DisplayName": "Categories", "Id": "319530011" }, "ContextFreeName": "Fitness", "DisplayName": "Fitness", "Id": "319535011" }, "ContextFreeName": "Strength Training Equipment", "DisplayName": "Strength Training Equipment", "Id": "458422031" }, "ContextFreeName": "Strength Training Weights & Accessories", "DisplayName": "Weights & Accessories", "Id": "26389539031" }, "ContextFreeName": "Dumbbells", "DisplayName": "Dumbbells", "Id": "458430031", "IsRoot": false }, { "Ancestor": { "Ancestor": { "Ancestor": { "Ancestor": { "Ancestor": { "Ancestor": { "ContextFreeName": "Sports & Outdoors", "DisplayName": "Sports & Outdoors", "Id": "318949011" }, "ContextFreeName": "Arborist Merchandising Root", "DisplayName": "Arborist Merchandising Root", "Id": "90324701031" }, "ContextFreeName": "Self Service", "DisplayName": "Self Service", "Id": "425633031" }, "ContextFreeName": "Special Features Stores", "DisplayName": "Special Features Stores", "Id": "425635031" }, "ContextFreeName": "ddff9909-bd3d-442b-ab3d-10df4d2eedd5_0", "DisplayName": "ddff9909-bd3d-442b-ab3d-10df4d2eedd5_0", "Id": "90324711031" }, "ContextFreeName": "ddff9909-bd3d-442b-ab3d-10df4d2eedd5_8501", "DisplayName": "ddff9909-bd3d-442b-ab3d-10df4d2eedd5_8501", "Id": "90325076031" }, "ContextFreeName": "Strength Training", "DisplayName": "Strength Training", "Id": "85120759031", "IsRoot": false } ] }, "DetailPageURL": "https://www.amazon.co.uk/dp/B016BJ2T0M?tag=madhurshome0d-21&linkCode=ogi&th=1&psc=1", "Images": { "Primary": { "Large": { "Height": 500, "URL": "https://m.media-amazon.com/images/I/41p7aM1UhPL.SL500.jpg", "Width": 500 }, "Medium": { "Height": 160, "URL": "https://m.media-amazon.com/images/I/41p7aM1UhPL.SL160.jpg", "Width": 160 }, "Small": { "Height": 75, "URL": "https://m.media-amazon.com/images/I/41p7aM1UhPL.SL75.jpg", "Width": 75 } }, "Variants": [ { "Large": { "Height": 500, "URL": "https://m.media-amazon.com/images/I/41OF5Kgc6nL.SL500.jpg", "Width": 500 }, "Medium": { "Height": 160, "URL": "https://m.media-amazon.com/images/I/41OF5Kgc6nL.SL160.jpg", "Width": 160 }, "Small": { "Height": 75, "URL": "https://m.media-amazon.com/images/I/41OF5Kgc6nL.SL75.jpg", "Width": 75 } }, { "Large": { "Height": 500, "URL": "https://m.media-amazon.com/images/I/415txY4kJ3L.SL500.jpg", "Width": 500 }, "Medium": { "Height": 160, "URL": "https://m.media-amazon.com/images/I/415txY4kJ3L.SL160.jpg", "Width": 160 }, "Small": { "Height": 75, "URL": "https://m.media-amazon.com/images/I/415txY4kJ3L.SL75.jpg", "Width": 75 } }, { "Large": { "Height": 500, "URL": "https://m.media-amazon.com/images/I/51sanhhSSaL.SL500.jpg", "Width": 500 }, "Medium": { "Height": 160, "URL": "https://m.media-amazon.com/images/I/51sanhhSSaL.SL160.jpg", "Width": 160 }, "Small": { "Height": 75, "URL": "https://m.media-amazon.com/images/I/51sanhhSSaL.SL75.jpg", "Width": 75 } }, { "Large": { "Height": 500, "URL": "https://m.media-amazon.com/images/I/51wwX5srN8L.SL500.jpg", "Width": 500 }, "Medium": { "Height": 160, "URL": "https://m.media-amazon.com/images/I/51wwX5srN8L.SL160.jpg", "Width": 160 }, "Small": { "Height": 75, "URL": "https://m.media-amazon.com/images/I/51wwX5srN8L.SL75.jpg", "Width": 75 } }, { "Large": { "Height": 500, "URL": "https://m.media-amazon.com/images/I/51-2ZJKvGYL.SL500.jpg", "Width": 500 }, "Medium": { "Height": 160, "URL": "https://m.media-amazon.com/images/I/51-2ZJKvGYL.SL160.jpg", "Width": 160 }, "Small": { "Height": 75, "URL": "https://m.media-amazon.com/images/I/51-2ZJKvGYL.SL75.jpg", "Width": 75 } }, { "Large": { "Height": 500, "URL": "https://m.media-amazon.com/images/I/51vURA70i-L.SL500.jpg", "Width": 500 }, "Medium": { "Height": 160, "URL": "https://m.media-amazon.com/images/I/51vURA70i-L.SL160.jpg", "Width": 160 }, "Small": { "Height": 75, "URL": "https://m.media-amazon.com/images/I/51vURA70i-L.SL75.jpg", "Width": 75 } }, { "Large": { "Height": 500, "URL": "https://m.media-amazon.com/images/I/41uTAcJCBtL.SL500.jpg", "Width": 500 }, "Medium": { "Height": 160, "URL": "https://m.media-amazon.com/images/I/41uTAcJCBtL.SL160.jpg", "Width": 160 }, "Small": { "Height": 75, "URL": "https://m.media-amazon.com/images/I/41uTAcJCBtL.SL75.jpg", "Width": 75 } } ] }, "ItemInfo": { "ByLineInfo": { "Brand": { "DisplayValue": "POWRX", "Label": "Brand", "Locale": "en_GB" }, "Manufacturer": { "DisplayValue": "POWRX", "Label": "Manufacturer", "Locale": "en_GB" } }, "Classifications": { "Binding": { "DisplayValue": "Sports", "Label": "Binding", "Locale": "en_GB" }, "ProductGroup": { "DisplayValue": "Sports", "Label": "ProductGroup", "Locale": "en_GB" } }, "ExternalIds": { "EANs": { "DisplayValues": [ "4250508510266" ], "Label": "EAN", "Locale": "en_US" } }, "Features": { "DisplayValues": [ "2x POWRX hexagon barbells | colour: black.", "Training options – with the correct use, the dumbbells allow you to train the entire body wherever you want. Thanks to the different weight classes you can choose from, you can always increase the weight.", "Training effect/success – whether you want to strengthen the top and bottom musculoskeletal system or to improve endurance performance, the hexagon dumbbells from POWRX know no limits.", "Product features – the product has a casting core coated by floor-friendly rubber. The chrome handles are ribbed to ensure a safe and effective workout.", "Quality tested – all POWRX products are subject to quality tests during production. We use the best materials and process them to produce a premium finish." ], "Label": "Features", "Locale": "en_GB" }, "ProductInfo": { "Color": { "DisplayValue": "Black", "Label": "Color", "Locale": "en_GB" }, "IsAdultProduct": { "DisplayValue": false, "Label": "IsAdultProduct", "Locale": "en_US" }, "ItemDimensions": { "Height": { "DisplayValue": 0.00393700787, "Label": "Height", "Locale": "en_GB", "Unit": "Inches" }, "Length": { "DisplayValue": 1.968503935, "Label": "Length", "Locale": "en_GB", "Unit": "Inches" }, "Weight": { "DisplayValue": 11.0231131, "Label": "Weight", "Locale": "en_GB", "Unit": "pounds" }, "Width": { "DisplayValue": 0.787401574, "Label": "Width", "Locale": "en_GB", "Unit": "Inches" } }, "Size": { "DisplayValue": "5kg", "Label": "Size", "Locale": "en_GB" } }, "Title": { "DisplayValue": "POWRX Hexagon Dumbbell Set of 2 | Rubber Dumbbells Coated 5-30 kg | Knurled Chrome Handle, 2 x 5 kg", "Label": "Title", "Locale": "en_GB" } }, "ParentASIN": "B01IDYZ0UO" } ] } }

  • Please provide more context around what you are trying to do, the call that you are making and perhaps expected response vs response received. Thanks

asked 4 months ago136 views
1 Answer
0

Unfortunately, The Amazon Product Advertising API (PA API) you're using does not provide information on the remaining stock of a product.

The JSON snippet you provided from the "GetItems" request only contains details about the product itself, such as its title, brand, descriptions, and dimensions. There is no parameter within the PA API to specifically query for inventory levels.

Consider using Amazon Seller APIs:

If you are a seller on Amazon, you can leverage the Amazon Seller APIs (specifically the Reports API) to access your inventory data. These APIs allow you to request reports like "GET_MERCHANT_LISTINGS_DATA" or "GET_AFN_INVENTORY_DATA" which include information on your product stock.

profile pictureAWS
cloudyy
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions