Solved, how do I add a cart transformation function to my store via Graphql mutation

fwallace
Shopify Partner
37 0 3

Here is the mutation:

 

mutation { 
  cartTransformCreate( 
    blockOnFailure: true,
    functionId: "<YOUR ID HERE>" 
    
  )  {
     
     userErrors {
      field
      message
     }
  }
  
  
}

Hope this helps

Reply 1 (1)

Nick_Wesselman
Shopify Staff
156 39 60

For others , here's the relevant API Documentation.

 

Nick Wesselman | 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 the Shopify Help Center or the Shopify Blog