Listings API putListingsItem How To Update price and quantity? #3916
Replies: 66 comments 7 replies
-
I am keen to know the answer to this one too. |
Beta Was this translation helpful? Give feedback.
-
me toooo |
Beta Was this translation helpful? Give feedback.
-
Update the purchasable_offer attribute to update the price with patchListingItems, Ex:
|
Beta Was this translation helpful? Give feedback.
-
I rewrote my patchListingsItem call in the following way, based upon your suggestion:
The result looked very promising...
Unfortunately, after waiting, the price remained same. |
Beta Was this translation helpful? Give feedback.
-
It takes few minutes to reflect in the dashboard. |
Beta Was this translation helpful? Give feedback.
-
@tbrains YOU GENIUS!!!! Ok, it completely worked guys, he knows the way. Please, can you show how to do quantity next? |
Beta Was this translation helpful? Give feedback.
-
Quantity is similar, you have to patch the attribute fulfillment_availability,
|
Beta Was this translation helpful? Give feedback.
-
Is it possible to update "fulfillment_availability" only for "patchListingsItem"? (From Google Translate) |
Beta Was this translation helpful? Give feedback.
-
putListingsItem: This is used to Create or Fully Update Listings. If you are just updating price and quantity of an existing listing, then putListingItem is perfect, read more. If you are using python, then you can check this library. |
Beta Was this translation helpful? Give feedback.
-
@tbrains I couldn't do that. |
Beta Was this translation helpful? Give feedback.
-
@shirushi-dev, its possible for MFN listings. |
Beta Was this translation helpful? Give feedback.
-
@tbrains |
Beta Was this translation helpful? Give feedback.
-
is it possible to update business price via Listing API? |
Beta Was this translation helpful? Give feedback.
-
@xiaoyu-tamu, right now its not possible to update the business price via Listing API. |
Beta Was this translation helpful? Give feedback.
-
Just to be clear, the feeds Api is able to do that. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, I am not currently listing to those marketplaces in EU and if there are discrepancies from the USA version, I would not be giving the proper advice. However, tomorrow I will try and see if I can find a solution for you. |
Beta Was this translation helpful? Give feedback.
-
ok you can use the class from https://github.com/jlevers/selling-partner-api BUT... where do you get all the paths from ? ex: /attributes/item_name ??? ex: code:
|
Beta Was this translation helpful? Give feedback.
-
help!! request: response: |
Beta Was this translation helpful? Give feedback.
-
try using "replace" instead of "REPLACE" |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I know it's not relevant to this question, but may I ask how you guys extract these object structures from the schema? I mean programmatically? |
Beta Was this translation helpful? Give feedback.
-
I receive an accept but nothing changes on Amazon, it's been more than 2 hours |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thanks for sharing this find. Does anyone know if changing "List Price" through xml also works? I've tried changing MaximumRetailPrice through the feed but that didn't seem to work. |
Beta Was this translation helpful? Give feedback.
-
How to update maximum retail price (MRP) ? |
Beta Was this translation helpful? Give feedback.
-
@dialdhruv See this answer: #1289 |
Beta Was this translation helpful? Give feedback.
-
hi guys,
|
Beta Was this translation helpful? Give feedback.
-
Hello. How I can update the Recommended Retail Price (RRP) or a Manufacturer’s Suggested Retail Price (MSRP)? |
Beta Was this translation helpful? Give feedback.
-
Is this still the case? I've looked at the json schema trying to find anything that could be the business price (B2B), but I have been unsuccessful. It would be super useful if I could update the business price through patchListingsItem instead of the xml feed. |
Beta Was this translation helpful? Give feedback.
-
@ThanhLuan0932 hi Luan! I am PHP Developer and developing to putListingsItem from my website to Amazon store also. Can we discuss more further about this through email? Please pm me at [email protected]. |
Beta Was this translation helpful? Give feedback.
-
All I want to do is use the Amazon SP-API Listings API's putListingsItem call to update the price and quantity of an item I have listed.
productType
According to the ListingsItemPutRequest docs, productType and attributes are required for this call.
Firstly, to obtain the correct productType value, you are supposed to search for a product definitions type using the Product Type Definitions API. So, I do that, and call searchDefinitionsProductTypes, just to discover my product has no matching product type.
Ultimately, I gave the value
PRODUCT
forproductType
field. As a result, thegetDefinitionsProductType
call returned an object containing an array ofpropertyNames
, shown below:On seeing this, I decide
list_price
andfulfillment_availability
must be the price and quantity and then try using these in my code below.attributes
The attributes value is also required. However, their current docs show no clear example of what to put for these values, which are where I must put price and quantity somewhere.
I found this link about patchListingsItem and tried to implement that below but got an error.
code:
// trying to update quantity... failed.
error:
I also tried using list_price :
// list_price attempt... failed.
Error (this time seems I got warmer... maybe?):
How do you correctly specify the list_price or the quantity so this call will be successful?
Just tryin to update a single item's price and quantity.
Beta Was this translation helpful? Give feedback.
All reactions