I need to be able to CRUD products in Craft Commerce via an API. Either REST or GraphQL. Are there any plans for implementing this?
I see Craft CMS has an issue https://github.com/craftcms/cms/issues/4835 at the 4.0 milestone. I hope that also includes mutations on Craft Commerce.
Yes, plans to have support for GraphQL in Commerce in 3.0 this year - mutation support coming to the GraphQL API after that.
Great work guys. So if I understand this correctly, Craft Commerce 3.0 has GraphQL read-only support for all Commerce-entities?
If then, do you have any plans for when mutations will come?
Keep up the good work!
@nitech Read only support for products. Will extend that to variants and orders very soon.
@lukeholder any update on variants/orders?
@timkelty Variant support coming in 3.1, orders after that.
we need to know how to load the products and update the order status. Was hoping that the mutation support would be possible to add the product/variants and update the orders from the erp.
Is this in the works?
Mutations just landed in craft core in 3.5 a couple weeks ago. We need to first add mutation support for Products and Variants.
Then when Craft's core GraphQL supports gets per-session/user permissions we will look to add Order support.
+1 for GraphQL support for orders. Would love to try and integrate this with clients accounting system to pull received orders, update order status. Our current system is a bit clumsy.
Is there an expected timeline on Products mutations? I'd love to be able to use Craft for an upcoming project but need some way to automate managing products. There's no REST API is there?
That's a really nice feature!
2 questions:
Most helpful comment
Yes, plans to have support for GraphQL in Commerce in 3.0 this year - mutation support coming to the GraphQL API after that.