0

I'm using the REST api and believe that we can't update the value of an option of a product attribute: we only have the POST method and no PUT.

So, what would be the best way to do it in code?

In fact, I would like to create a custom API endpoint to do that.

Thanks a lot!

2
  • which API end point you are referring ?
    – Pawan
    Commented Dec 30, 2020 at 4:46
  • @Pawan Thanks, is products/attributes/{attributeCode}/options Commented Dec 30, 2020 at 10:13

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.