Getting session details with the order api

New Member
5 0 0

Is there a way to get sessiondetails/conversiondetails with the Shopify api
its not in the order details / conversion details


        API_KEY = "xxxx"
        PASSWORD = "xxx"
        shop_url = "https://{}:{}".format(API_KEY, PASSWORD)

        orders = shopify.Order.find(status='closed') # open, closed, cancelled, any
        for order in orders:


Screenshot 2021-07-21 at 19.50.01.png Screenshot 2021-07-21 at 19.56.06.png

Replies 3 (3)
New Member
5 0 0

on the order data there is a field landing_site that will hold the referrals u send like  ?ref=xxx

Shopify Staff
Shopify Staff
267 40 43

Hi @GerdiGeni 

Session and conversion data is not currently available via the API. The Orders API does contain a "referring_site" field, but there is no other analytics data exposed via the API.



CS | API Support @ 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 or the Shopify Web Design and Development Blog