Troubleshooting Missing Customer Details in Shopify Order API Responses

When fetching order details from Shopify’s API, you always receive incomplete or blank customer information, such as "Unknown Customer" or missing address fields.

{
“customer”: {
“id”: “789546544421”,
“name”: “Unknown Customer”,
“email”: “”,
“phone”: “”
},
“address”: {
“name”: “Not provided”,
“address1”: “Not provided”,
“city”: “Not provided”,
“state”: “Uttar Pradesh”,
“country”: “India”,
“pincode”: “Not provided”
}
}

however api permission is enabled

Hi @raman12

I’m David from SearchPie SEO, Speed & Schema

To clarify, the API request is functioning as expected. The customer records you’re seeing are users who have registered or logged into your website but have not yet completed a purchase.

As a result, certain information such as name, address, and city remains blank, since those details are typically collected during the checkout process.

If you find this answer helpful, please let me know by giving PieLab a ‘Like’ or marking it as a ‘Solution’

Cheers,
David
SearchPie: SEO, Speed & Schema