---
title: "memberInfo"
description: >
  Query the member asset information of a single member, including member level or paid membership information, available rewards and referral information, etc.
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/member-system/queries/member-info'
  md: 'https://developer.shopline.com/docs/storefront-api/member-system/queries/member-info.md'
---
# memberInfo

Query the member asset information of a single member, including member level or paid membership information, available rewards and referral information, etc.

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

## Type Signature

`MembershipInfo`

## Arguments

* `customerAccessToken`

  [String!](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  customer Access Token

## Returns

* `invitedSuccess`

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

  Number of customers successfully invited by the customer within the store. This refers to the total successful completions of invitation tasks set by the merchant.

* `levelCode`

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

  The code of current level or paid membership of the customer.

* `levelExpiryTime`

  [Date](https://developer.shopline.com/docs/storefront-api/common/scalars/date.md)

  The expiry time of current level or paid membership of the customer.  If the field is empty when membershipType = LEVEL, it means the membership is valid permanently.

* `levelIcon`

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

  The icon of current level or paid membership of the customer.

* `levelName`

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

  The name of current level or paid membership of the customer. Up to 25 characters.

* `levelOrder`

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

  Relevant only when membershipType = LEVEL. Higher the field indicates a higher level.

* `levelUpdatedTime`

  [Date](https://developer.shopline.com/docs/storefront-api/common/scalars/date.md)

  The start time of current level or paid membership of the customer.

* `membershipType`

  [MembershipType](https://developer.shopline.com/docs/storefront-api/member-system/enums/membership-type.md)

  The current active membership mechanism of the store.

* `rewardAvailable`

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

  Number of available rewards for the customer. Includes membership benefits issued, coupons redeemed through points, etc.

## Code Example

```graphql
 {
	memberInfo(customerAccessToken ) 
		 {
			# MembershipInfo fields
		}
}
```

## Error Handling

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

