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:
- GraphQL Storefront API Reference (xAPI)
- VirtoCommerce/vc-cli-module-template. It helps you create a new module with simple XAPI query and mutation.
- webinars/2022-12-XAPI-Basic/README.md at main · VirtoCommerce/webinars (github.com)
Then look in to VirtoCommerce/vc-module-quote: Quotes management module it contains XAPI, so you can use it as sample as well.