Replies: 20 comments 15 replies
-
Yes, plans to have support for GraphQL in Commerce in 3.0 this year - mutation support coming to the GraphQL API after that. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
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! |
Beta Was this translation helpful? Give feedback.
-
@nitech Read only support for products. Will extend that to variants and orders when we can. |
Beta Was this translation helpful? Give feedback.
-
@lukeholder any update on variants/orders? |
Beta Was this translation helpful? Give feedback.
-
@timkelty Variant support coming in 3.1, orders after that. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
+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. |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
That's a really nice feature! 2 questions:
|
Beta Was this translation helpful? Give feedback.
-
What would be the best way to get orders out of Craft. As I understand the orders are not part of GraphQL yet. |
Beta Was this translation helpful? Give feedback.
-
Any updates on this? Will you also enable mutations to create a checkout etc? |
Beta Was this translation helpful? Give feedback.
-
Anything at all to report here @lukeholder ? |
Beta Was this translation helpful? Give feedback.
-
@smockensturm @andreasottosson It's on the list but we don't have a timeline on GraphQL support for checkout. We could look to get read/query support for orders sooner, but again we can't commit to a timeline sorry. |
Beta Was this translation helpful? Give feedback.
-
Hi all, how come commerce costs 999$ but you even don't have default crud for products, variants, orders, checkout and so on... Nowdays all is headless, so in my opinion all these factors are a must ! @lukeholder am I wrong? |
Beta Was this translation helpful? Give feedback.
-
We are sorry that mutations for Orders over the GraphQL API has not yet arrived. The cart and checkout controllers all support JSON requests/responses to modify the cart, and can be used from a headless setup, although we know that is not ideal. I have placed it officially on the public roadmap for Commerce 5, which will be out in beta later this year. |
Beta Was this translation helpful? Give feedback.
-
@vitalijalbu To clarify, the core of this issue is not really a Commerce issue at heart. The current state of Craft's GQL API uses static API keys to grant schema access. For something like cart mutations to make sense, we need the ability to authenticate via GQL instead of a public token. Craft 5 has some big improvements in the works around authentication, which should get this going in the right direction, so stay tuned. Discussion: #2350 (reply in thread) |
Beta Was this translation helpful? Give feedback.
-
@lukeholder any news on this? I don't understand why the default authentication mechanism is insufficient. What I and a lot of the posters here want is the ability to communicate between the ERP or CRM-system and Craft, so that when an order gets a tracking number or a status update from the ERP system (or elsewhere), we can update the order in Craft - or when we do changes to available items in storage for a product in the Warehouse Management System, we can update the availability in Craft Commerce. So I am not after a headless Craft Commerce - I just want to communicate between my systems. |
Beta Was this translation helpful? Give feedback.
-
news guys about commerce cart mutations?? |
Beta Was this translation helpful? Give feedback.
-
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 craftcms/cms#4835 at the 4.0 milestone. I hope that also includes mutations on Craft Commerce.
Beta Was this translation helpful? Give feedback.
All reactions