-
|
I am trying to create a function that changes the active price of a SKU, the response says the body is accepted but my live listings are not changed. Here is the function I am using: The returned payload is: Is there a way to check the status using the submissionId? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
I checked and I have some function similar like you. The payload message you get looks good too, just be aware of:
|
Beta Was this translation helpful? Give feedback.
-
|
About your question: Is there a way to check the status using the submissionId? Do you know where I can find documentation on how to write the body, say for changing country of origin, tax code etc etc? What I did is use the ProductTypeDefinitions endpoint (from sp_api.api import ProductTypeDefinitions) if you use this endpoint it will lead you to a json with the property names by propertyGroups, I will post just a small portion as there quite long: 'product_details': And in the bottom of this endless json, there is a link to the json model, something like this: So if you download that json and use some kind of viewer to make it human readable you can find more or less the definition of the properties. Some tips I found using the patching:
then I build the dictionary:
As the way Amazon treat the listings, there is not an owner of a listing and different sellers can submit different updates, the most easy example is the Title, should be easy to change the title as is the kind of regular attribute you may need change but you will face this problem, the submission is accepted, in your inventory page it shows the new title, but the listing will not be reflected because Amazon is blocking that attribute to being modified. And not all, just some listings, so doing the same the result can be success or fail : ( So I am looking forward for that system that says, submitted successfully and "ACCEPTED" or "REJECTED" but...you know ... Amazon ... Kindest regards, |
Beta Was this translation helpful? Give feedback.

About your question: Is there a way to check the status using the submissionId?
I think I remember I read they will develop in the future some system to do that, think it will be like the reports in the Amazon Advertising API, you submit the submissionId in some endpoint and will get the payload "IN_PROGRESS", "DONE",...ETC but with Amazon api's you never know when or if finally will implement as they are very "particular" how they treat the "listings".
Do you know where I can find documentation on how to write the body, say for changing country of origin, tax code etc etc?
Well there is no official documentation or I couldn't find in the official documentation
What I did is use the Produ…