Discussing Shopify Functions development, deployment, and usage in Shopify apps.
I am implementing the functionality with delivery customisation function and I need Shopify store domain to identify the request. is there anyway to get shop domain in Shopify functions.
like using graphql of function dont have option
query RunInput { cart { deliveryGroups { deliveryAddress { provinceCode } deliveryOptions { handle title } } } shop { __typename localTime { date } } }
Hi @devPramod --
This is not possible today, can I ask more about your use case? You might also post a feature request here describing it.
As a workaround, you could use a shop metafield instead.
-Nick
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