-
Hi, I want to update the price of the products I have in my inventory but I am not clear which endpoint I should use, can you help me please? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
try this for a single product by sku: from sp_api.api import ListingsItems
While your dictionary should look like this: {'productType': 'PRODUCT', 'patches': [{'op': 'replace', 'path': '/attributes/purchasable_offer', 'value': [{'marketplace_id': 'A1RKKUPIHCS9HS', 'currency': 'EUR', 'our_price': [{'schedule': [{'value_with_tax': 2359.0}]}]}]}]} |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help @denisneuf is what I was looking for. |
Beta Was this translation helpful? Give feedback.
try this for a single product by sku:
from sp_api.api import ListingsItems
While your dictionary should look like this:
{'productType': 'PRODUCT', 'patches': [{'op': 'replace', 'path': '/attributes/purchasable_offer', 'value': [{'marketplace_id': 'A1RKKUPIHCS9HS', 'currency': 'EUR', 'our_price': [{'schedule': [{'value_with_tax': 2359.0}]}]}]}]}