---
title: "memberInfoInBatch"
description: >
  Batch query the membership asset information of all customers in the store, including current membership level, remaining available points, shopping balance, gift card balance, number of successfully invited customers, etc.
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/queries/member-info-in-batch'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/queries/member-info-in-batch.md'
---
# memberInfoInBatch

Batch query the membership asset information of all customers in the store, including current membership level, remaining available points, shopping balance, gift card balance, number of successfully invited customers, etc.

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Query

## Type Signature

`MembershipBasicInfo`

## Arguments

* `size`

  [Int](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/int.md)

  size, maximum 20 items per page

* `sinceId`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  The buyerId of the last entry that can be used to retrieve the next page of data. If no buyerId is returned, it means that there are no more pages of data. 

## Returns

* `customerCount`

  [UnsignedInt64](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/unsigned-int-64.md)

  Customer total number

* `memberBasicInfo`

  [[MemberBasicInfo]](https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/objects/member-basic-info.md)

  Customers' basic membership asset information, including current membership level, remaining available points, store credits balance, gift card balance, number of successfully invited customers, etc.

## Code Example

```graphql
 {
	memberInfoInBatch(size, sinceId ) 
		 {
			# MembershipBasicInfo fields
		}
}
```

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

