Hello Shopify,
I’m trying to create a store on the Basic plan to retail my digital products. I already have an in-house automated delivery system and I’ve been playing around the order API to get order details however, contact_email is not returned, which is essential for this to work. This is my shortened code snippet:
access_token = os.getenv("SHOPIFY_ACCESS_TOKEN")
api_url = os.getenv("SHOPIFY_API_URL")
headers = {
"X-Shopify-Access-Token": access_token,
"Content-Type": "application/json",
}
endpoint = "orders.json?status=any&fields=order_number,created_at,total_price,financial_status,line_items,contact_email"
response = requests.get(f"{api_url}/{endpoint}", headers=headers)
I’m not intending to distribute this app on the App Store so am just wondering why I can’t access my own order data? Is this something reserved for higher plans?