Add a new field to input.graphql to identify if the function is running in Draft Order context #582
                  
                    
                      AndreaMorone
                    
                  
                
                  started this conversation in
                Feedback: Delivery Customization API
              
            Replies: 2 comments
-
| I agree with @AndreaMorone | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| I recently received this request from a merchant: Being able to query whether a Shopify Function is running in a draft order context (without additional input query cost) would make this possible. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Would it be possible to add a new field in the input.graphql schema to indicate if a function is running on a draft order or a normal checkout? This would provide greater control for customizations.
Should be a 0-cost field, ensuring no impact on existing logic builders or workflows.
This would allow precise logic targeting draft orders vs. normal checkouts (we are receiving a lot of requests from merchants that do not want run customizations in the Shopify admin).
Beta Was this translation helpful? Give feedback.
All reactions