How to create a mutation in graphql?

Hey Virto Community !
I wanted to create a mutation in graphql that updates the dynamic properties as well as the price of a product, I can only find how to create a graphql endpoint of type query in the documentation, Can someone please guide me on how to create a mutation ?
Thanks in advance.

1 Like

I recommend to start with vc-module-xapi followingl links:

Then look in to VirtoCommerce/vc-module-quote: Quotes management module it contains XAPI, so you can use it as sample as well.