We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Re: unable to find reference of id argument in customerSegmentMembersQuery shopify admin graphql

unable to find reference of id argument in customerSegmentMembersQuery shopify admin graphql

ranawaqarahmad
Shopify Partner
18 0 6

I want to run customerSegmentMembersQuery but am unable to find a reference of the id argument. If I provide the segments gid to the argument id it returns an invalid ID in response.

membersQuery.PNG

Replies 2 (2)

andyhsu
Shopify Partner
2 0 0

Hi, have you found the solution? I attempted it, but received an error message stating "something went wrong."
Screenshot from 2024-03-04 19-00-22.png

ranawaqarahmad
Shopify Partner
18 0 6

graphQl.PNG

 

Have a look at it probably it would help with your query.