For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
I created a cart_transform function and am now trying to remove it. I tried removing the code from my extensions folder and redeploying the app as well as uninstalled the app and reinstalled with the code not under the extensions folder but I still see it when I run
shopifyFunctions(apiType: "cart_transform", first: 2) {
nodes {
apiType
id
title
}
}
I am not seeing a way to delete the function using graphQL. Is this possible to delete a function?
Hi Bbalmer,
That should be what you need to do to fully remove the function - I've connected with our team now to see why this may be happening.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Have you tried running cartTransformDelete?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
What is the type of gid that it is expecting?
I got same question as well, did you manage to find it out?
Same question. I also tried gid://shopify/ShopifyFunction/d35b68f0-9db3-435b-b123-4d26e924aa1e since the __typename for the function is ShopifyFunction. Neither worked.