Products have a status, DRAFT, ACTIVE or ARCHIVED. Very handy.
GraphQL offers a productUpdate mutation that accepts ProductInput as valid fields. Documentation shows status is one of those fields. But the schema tells a different story, and in fact, one cannot update status using this mutation.
1. Why is the schema differing from the documentation?
2. If we cannot change a product's status to ARCHIVED from ACTIVE, what is the point?
Can someone shed some light on how to move a product to status ARCHIVED using GraphQL. Thanks
Never mind. I see a silly call to productChangeStatus will likely take care of that. Wow. I can imagine the Yak shaving champion being dethroned after realizing productUpdate was just not the right thing to be doing when changing status. Probably has to do with a concern about something else, so this is justified. Another beer in the cooler, who cares.
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022