C
C
camradee2021-02-11 10:53:08
Magento
camradee, 2021-02-11 10:53:08

How to change the price of a product in Magente when adding it to the cart via the API?

If you change the price not through the API, then this is done through the Observer, here it is analyzed in detail - https://store.magenest.com/blog/set-custom-price-p...
But the problem is that when using the Observer API does not work. Tell me how to be.
Endpoints rest/V1/guest-carts/..../items or /rest/V1/carts/mine/items

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question