GraphQL, how to get multiple customer based on their ID

Highlighted
New Member
7 0 0

Hi, I want to get data of customers with ID. I see an example like below code but its same code repeting multiple time, is there any way to call like `Customers(ids: [graphqlid, graphqqlid]){ ...}`

customer1: customer(id:"gid://shopify/Customer/1310260264982") {
displayName
}
customer2: customer(id:"gid://shopify/Customer/1310260789270") {
displayName
}
customer3: customer(id: "gid://shopify/Customer/1310260854806") {
displayName
}
}
 

0 Likes