ruby on rails - I am creating shopify app,and i need to filter the customers from particular customergroup
I am using the following API to get Customer group. ShopifyAPI::CustomerGroup. I got customer group names and id but i am not able to retrive the customers for particular customer group.Kindly suggest some ideas.
Answer
Solution:
You can't. Customer groups is not a valid Shopify API resource or an endpoint. Instead, try to get the customers based on field values listed here - Customer API (https://docs.shopify.com/api/reference/customer).
It'd help much if your grouping is based on certain conditions that are easy to extract from API endpoints.
Source
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.