Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Where are my customers??

Where are my customers??

ftballguy45
Shopify Partner
32 0 12

Adding customers through the GraphQL API, and the calls succeed - however they never show up in the Admin UI?? If I request the customers from the API then they are returned - so they are IN THE SYSTEM but they just dont show up in the Shopify Customers Admin section. Whats the deal?

Replies 5 (5)

Liam
Community Manager
3108 342 884

Hi Ftballguy45,

 

This does sound like an unusual issue. It could be due to a few reasons:

  1. Data Sync issue: There might be a delay in syncing the data between the GraphQL API and the Admin UI. Wait for some time and then check again.

  2. Filter/View issue: Make sure there are no active filters/views in the Customers section of the Admin UI that might be hiding the new customers.

  3. API issue: If you're using a specific version of the API, it might have some bugs. Try using a different version of the API.

  4. Cache issue: It might be that the Admin UI is showing a cached version of your customer data. Try clearing your browser cache or check the Admin UI on a different browser or device.
  5. Different environments: If you're using separate development and product environments the customers may not be syncing together as expected.

Try testing out the above and seeing if you can determine / fix the issue. Hope this helps.

Liam | Developer Advocate @ 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

ftballguy45
Shopify Partner
32 0 12

Thank you for the quick reply! I tried all of those things last night and nothing worked - it must have been something on the Shopify backend. I just now tried again, creating new customers and they are showing up in the Admin UI. Just for your bug tracking team - this seemed to happen after I used the segment filter in the Admin UI alot, alongside making alot of deletes from the Admin UI and API adds/deletes. I am testing an import of customer accounts using the API. Something seems to get hung up where the Admin UI is not in sync with data from the API

ftballguy45
Shopify Partner
32 0 12

Heres some of the weirdness. After adding ~5K customers via the API, then using the bulk delete in the Admin UI, it starts doing weird stuff

 

ftballguy45_1-1695323004786.png

 

ftballguy45_0-1695323135471.png

 

 

Liam
Community Manager
3108 342 884

Glad to hear they're appear now as expected - if I had to guess it's possible some caching issues might be at play due to deletes happening through both the admin and API - and perhaps some conflicts from both methods being used. Will inform our dev team about this however. 

Liam | Developer Advocate @ 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

Ben310
Astronaut
810 114 185

Hey @Liam 

 

Is it possible to delete a bunch of existing customers via the API?