Pulling customer level metafields using API endpoint

Shopify Partner
5 0 2



We are not able to pull the customer metafields using the API endpoint mentioned in the dev docs... here is the endpoint i am using:




If you click it you will see the response, it contains no customer metafields, and this customer definitely has them.


In the dev docs it shows that metafield is part of the response... is there something i need to include in the body of the request that allows these to come through?




Thanks in advance for anyones help!



Reply 1 (1)

Shopify Staff
42 8 13

Hi @jkatz-23 👋



As long as your access token has appropriate scopes, the `/customer/{customer_id}.json` endpoint should return the customer resource. In order to investigate this, we would need a request from an authenticated account with permissions to this store. I'd recommend logging into the store, then reaching out from your authenticated account so that we can take a closer look.


Hope that helps!

Umiko | 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 Shopify.dev or the Shopify Web Design and Development Blog