---
title: "storeCreditHistory"
description: >
  Query the details of a single customer's store credits increase and decrease, including the increase and decrease value of store credits, update scenarios and remarks to customers.
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/member-system/queries/store-credit-history'
  md: 'https://developer.shopline.com/docs/storefront-api/member-system/queries/store-credit-history.md'
---
# storeCreditHistory

Query the details of a single customer's store credits increase and decrease, including the increase and decrease value of store credits, update scenarios and remarks to customers.

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

## Type Signature

`StoreCreditHistoryConnection`

## Arguments

* `customerAccessToken`

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

  customer Access Token

* `after`

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

  Returns elements following the specified cursor. The `first` argument must also be specified when using this argument.

* `before`

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

  Returns elements preceding the specified cursor. The `last` argument must also be specified when using this argument.

* `first`

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

  Returns the first n elements in the list. 

* `last`

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

  Returns the last n elements in the list. 

* `reverse`

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

  Whether to reverse the order of the list. 
  
  ● true: reverse
  
  ● false: do not reverse
  
  Default value: false

## Returns

* `edges`

  [[StoreCreditHistoryEdge!]](https://developer.shopline.com/docs/storefront-api/member-system/objects/store-credit-history-edge.md)

  edges list

* `nodes`

  [[HistoryOfStoreCredits]](https://developer.shopline.com/docs/storefront-api/member-system/objects/history-of-store-credits.md)

  node list

* `pageInfo`

  [PageInfo!](https://developer.shopline.com/docs/storefront-api/online-store/objects/page-info.md)

  Information to aid in pagination.

## Code Example

```graphql
 {
	storeCreditHistory(customerAccessToken, after, before, first, last, reverse ) 
		 {
			# StoreCreditHistoryConnection fields
		}
}
```

## Examples

### query storeCredit History

Query the details of a single customer's store credits increase and decrease, including the increase and decrease value of store credits, update scenarios and remarks to customers.

**Request:**

```json
query {
  storeCreditHistory(customerAccessToken: "#A01#SID0000107BFtXMBlyur1bUgz8HQ7Vi9lQOkT4kXELZOkxlc67dSOPxelgAPrqJh6ksFYHK2D59u9Rk87uTVEY06k4wsOtqd5qxpM8LQ8rcz9RkKQv3aSVwcBzDbhohwVN0sHHLP/3IhqZLhQEQ099BsUc/isnWOUFu9mufoeOIuJFADGqBLnqomPq6osfQsGev0VLZpD6Aw" first:20) {
    edges{
      cursor
      node{
        balanceAfterUpdate
        updateScene
        updateValue
        balanceBeforeUpdate
        remarksCustomers
        updatedAt
      }
    }
    pageInfo{
      hasNextPage
      hasPreviousPage
      startCursor 
      endCursor
    }
    nodes {
        balanceAfterUpdate
        updateScene
        updateValue
        balanceBeforeUpdate
        remarksCustomers
        updatedAt
    }
  }
}
```

**Response:**

```json
{
  "data": {
    "data": {
      "storeCreditHistory": {
        "edges": [
          {
            "cursor": "AE248490BDD604657EFB920B13A773ED20FAC3F86BD0B14CBEF654E79E53A875",
            "node": {
              "balanceAfterUpdate": "0",
              "balanceBeforeUpdate": "0",
              "remarksCustomers": null,
              "updateScene": "FIRST_ALLOCATION",
              "updateValue": "0",
              "updatedAt": "2024-07-25T04:26:26.783Z"
            }
          },
          {
            "cursor": "D894E60EF9ECC1D754BDF8FEA5A77DC9C3FEFDECFEBA69AC66275779692298A6",
            "node": {
              "balanceAfterUpdate": "10000",
              "balanceBeforeUpdate": "0",
              "remarksCustomers": null,
              "updateScene": "MANUALLY_INCREASE",
              "updateValue": "10000",
              "updatedAt": "2024-07-25T04:26:26.916Z"
            }
          },
          {
            "cursor": "F1DEE218539F110247DDFB38CBC4D16E8D534C83A69F05A9BC26FE4C63BF02FC",
            "node": {
              "remarksCustomers": null,
              "updateScene": "ORDER_PLACED",
              "updateValue": "30000",
              "updatedAt": "2024-07-25T05:23:53.168Z",
              "balanceAfterUpdate": "40000",
              "balanceBeforeUpdate": "10000"
            }
          },
          {
            "cursor": "211DF3551EDF9CBDE39BBB158DF57DC0E182B525A005BC205C5A78A5F5C55270",
            "node": {
              "updatedAt": "2024-07-25T05:24:24.523Z",
              "balanceAfterUpdate": "41200",
              "balanceBeforeUpdate": "40000",
              "remarksCustomers": null,
              "updateScene": "FIRST_ORDER",
              "updateValue": "1200"
            }
          },
          {
            "cursor": "417B033E63F42BF9B3594722D2915055B1D35E6B2683B7855773B69D54E60BF4",
            "node": {
              "balanceAfterUpdate": "71200",
              "balanceBeforeUpdate": "41200",
              "remarksCustomers": null,
              "updateScene": "ORDER_PLACED",
              "updateValue": "30000",
              "updatedAt": "2024-07-25T05:25:38.884Z"
            }
          }
        ],
        "nodes": [
          {
            "balanceBeforeUpdate": "0",
            "remarksCustomers": null,
            "updateScene": "FIRST_ALLOCATION",
            "updateValue": "0",
            "updatedAt": "2024-07-25T04:26:26.783Z",
            "balanceAfterUpdate": "0"
          },
          {
            "balanceAfterUpdate": "10000",
            "balanceBeforeUpdate": "0",
            "remarksCustomers": null,
            "updateScene": "MANUALLY_INCREASE",
            "updateValue": "10000",
            "updatedAt": "2024-07-25T04:26:26.916Z"
          },
          {
            "updatedAt": "2024-07-25T05:23:53.168Z",
            "balanceAfterUpdate": "40000",
            "balanceBeforeUpdate": "10000",
            "remarksCustomers": null,
            "updateScene": "ORDER_PLACED",
            "updateValue": "30000"
          },
          {
            "balanceAfterUpdate": "41200",
            "balanceBeforeUpdate": "40000",
            "remarksCustomers": null,
            "updateScene": "FIRST_ORDER",
            "updateValue": "1200",
            "updatedAt": "2024-07-25T05:24:24.523Z"
          },
          {
            "remarksCustomers": null,
            "updateScene": "ORDER_PLACED",
            "updateValue": "30000",
            "updatedAt": "2024-07-25T05:25:38.884Z",
            "balanceAfterUpdate": "71200",
            "balanceBeforeUpdate": "41200"
          }
        ],
        "pageInfo": {
          "endCursor": "417B033E63F42BF9B3594722D2915055B1D35E6B2683B7855773B69D54E60BF4",
          "hasNextPage": false,
          "hasPreviousPage": false,
          "startCursor": "AE248490BDD604657EFB920B13A773ED20FAC3F86BD0B14CBEF654E79E53A875"
        }
      }
    },
    "extensions": {
      "dataloader": {
        "individual-statistics": {
          "LD-com.shopline.pixiu.pcq.storefront.api.CollectionStorefrontQueryService-onlineStoreUrl": {
            "batchLoadCount": 0,
            "batchLoadExceptionRatio": 0,
            "cacheHitCount": 0,
            "loadCount": 0,
            "loadErrorCount": 0,
            "loadErrorRatio": 0,
            "batchInvokeCount": 0,
            "batchLoadExceptionCount": 0,
            "batchLoadRatio": 0,
            "cacheHitRatio": 0
          },
          "LD-com.shopline.pixiu.pcq.storefront.api.CollectionStorefrontQueryService-queryCollectionByProduct": {
            "batchLoadRatio": 0,
            "loadErrorRatio": 0,
            "batchLoadCount": 0,
            "cacheHitCount": 0,
            "cacheHitRatio": 0,
            "loadCount": 0,
            "loadErrorCount": 0,
            "batchInvokeCount": 0,
            "batchLoadExceptionCount": 0,
            "batchLoadExceptionRatio": 0
          },
          "LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-images": {
            "batchLoadExceptionCount": 0,
            "batchLoadExceptionRatio": 0,
            "loadErrorCount": 0,
            "loadErrorRatio": 0,
            "batchInvokeCount": 0,
            "batchLoadCount": 0,
            "batchLoadRatio": 0,
            "cacheHitCount": 0,
            "cacheHitRatio": 0,
            "loadCount": 0
          },
          "LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-onlineStoreUrl": {
            "batchInvokeCount": 0,
            "batchLoadCount": 0,
            "batchLoadExceptionRatio": 0,
            "batchLoadRatio": 0,
            "cacheHitCount": 0,
            "cacheHitRatio": 0,
            "loadCount": 0,
            "batchLoadExceptionCount": 0,
            "loadErrorCount": 0,
            "loadErrorRatio": 0
          },
          "LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-options": {
            "batchInvokeCount": 0,
            "cacheHitCount": 0,
            "cacheHitRatio": 0,
            "loadErrorCount": 0,
            "loadErrorRatio": 0,
            "batchLoadCount": 0,
            "batchLoadExceptionCount": 0,
            "batchLoadExceptionRatio": 0,
            "batchLoadRatio": 0,
            "loadCount": 0
          },
          "LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-publishedAtForLoader": {
            "loadErrorRatio": 0,
            "batchInvokeCount": 0,
            "batchLoadCount": 0,
            "batchLoadExceptionCount": 0,
            "cacheHitCount": 0,
            "batchLoadExceptionRatio": 0,
            "batchLoadRatio": 0,
            "cacheHitRatio": 0,
            "loadCount": 0,
            "loadErrorCount": 0
          },
          "LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-template": {
            "batchInvokeCount": 0,
            "batchLoadCount": 0,
            "batchLoadExceptionCount": 0,
            "batchLoadRatio": 0,
            "cacheHitRatio": 0,
            "loadErrorCount": 0,
            "loadErrorRatio": 0,
            "batchLoadExceptionRatio": 0,
            "cacheHitCount": 0,
            "loadCount": 0
          },
          "LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-variantsForLoader": {
            "loadCount": 0,
            "batchInvokeCount": 0,
            "batchLoadExceptionCount": 0,
            "batchLoadRatio": 0,
            "loadErrorCount": 0,
            "loadErrorRatio": 0,
            "batchLoadCount": 0,
            "batchLoadExceptionRatio": 0,
            "cacheHitCount": 0,
            "cacheHitRatio": 0
          },
          "LD-com.shopline.merchant.website.openapi.interfaces.OnlineStorefrontApi-commentsQuery": {
            "loadErrorRatio": 0,
            "batchInvokeCount": 0,
            "batchLoadCount": 0,
            "batchLoadExceptionRatio": 0,
            "cacheHitCount": 0,
            "loadCount": 0,
            "batchLoadExceptionCount": 0,
            "batchLoadRatio": 0,
            "cacheHitRatio": 0,
            "loadErrorCount": 0
          },
          "LD-com.shopline.pixiu.pcq.storefront.api.DescriptionQueryService-query": {
            "batchInvokeCount": 0,
            "batchLoadCount": 0,
            "batchLoadExceptionRatio": 0,
            "cacheHitRatio": 0,
            "loadCount": 0,
            "loadErrorRatio": 0,
            "batchLoadExceptionCount": 0,
            "batchLoadRatio": 0,
            "cacheHitCount": 0,
            "loadErrorCount": 0
          },
          "LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-variants": {
            "batchInvokeCount": 0,
            "batchLoadCount": 0,
            "batchLoadExceptionCount": 0,
            "batchLoadRatio": 0,
            "cacheHitCount": 0,
            "loadCount": 0,
            "loadErrorRatio": 0,
            "batchLoadExceptionRatio": 0,
            "cacheHitRatio": 0,
            "loadErrorCount": 0
          }
        },
        "overall-statistics": {
          "loadErrorRatio": 0,
          "batchLoadExceptionCount": 0,
          "batchLoadRatio": 0,
          "batchInvokeCount": 0,
          "batchLoadCount": 0,
          "batchLoadExceptionRatio": 0,
          "cacheHitCount": 0,
          "cacheHitRatio": 0,
          "loadCount": 0,
          "loadErrorCount": 0
        }
      },
      "metrics": {
        "dataFetcherMetrics": [
          {
            "dfRt": 272,
            "dfServiceIdentity": "com.shopline.ec.openapi.interfaces.MemberStoreFrontApi@pageGoldFlowLog",
            "dfStartTime": 1721890087682,
            "dfErrorCode": null,
            "dfProtocol": "dubbo",
            "dfRootCoordinate": "/storeCreditHistory"
          }
        ],
        "graphQLMetrics": {
          "ratelimitRemaining": 1,
          "successType": "SUCCESS",
          "countryCode": null,
          "includeQuery": false,
          "traceId": "da1ba7f087928edb5afb30a87f5be4be",
          "tenant": "ec20",
          "deepLevel": 4,
          "ratelimitPermits": 1,
          "saleChannel": null,
          "startTimeMillis": 1721890087679,
          "version": "v20241201",
          "errorFieldsCount": 0,
          "fieldCount": 147,
          "languageCode": null,
          "startParseTimeMillis": 1721890087679,
          "storePlus": false,
          "clientIp": "218.253.130.212",
          "executionId": "c0915e2a-d703-43f4-995b-8d0353d0e426",
          "loaderCount": 0,
          "storeId": "1641993455937",
          "appId": "265337",
          "appKey": "936eda168305ed82cee702c6822354ee6de2e802",
          "customizedClientIp": "218.253.130.212",
          "rt": 277,
          "endParseTimeMillis": 1721890087680,
          "includeDeprecatedField": false,
          "merchantId": "4200114610",
          "operation": "QUERY",
          "namespace": "storefront",
          "parseRt": 1
        }
      },
      "tracing": {
        "duration": 276714211,
        "endTime": "2024-07-25T06:48:07.956Z",
        "execution": {
          "resolvers": [
            {
              "returnType": "StoreCreditHistoryConnection",
              "startOffset": 2524066,
              "duration": 272595018,
              "fieldName": "storeCreditHistory",
              "parentType": "Query",
              "path": [
                "storeCreditHistory"
              ]
            },
            {
              "parentType": "StoreCreditHistoryConnection",
              "path": [
                "storeCreditHistory",
                "edges"
              ],
              "returnType": "[StoreCreditHistoryEdge!]",
              "startOffset": 275313408,
              "duration": 8286,
              "fieldName": "edges"
            },
            {
              "returnType": "String!",
              "startOffset": 275357919,
              "duration": 3089,
              "fieldName": "cursor",
              "parentType": "StoreCreditHistoryEdge",
              "path": [
                "storeCreditHistory",
                "edges",
                0,
                "cursor"
              ]
            },
            {
              "duration": 2357,
              "fieldName": "node",
              "parentType": "StoreCreditHistoryEdge",
              "path": [
                "storeCreditHistory",
                "edges",
                0,
                "node"
              ],
              "returnType": "HistoryOfStoreCredits",
              "startOffset": 275391681
            },
            {
              "path": [
                "storeCreditHistory",
                "edges",
                0,
                "node",
                "balanceAfterUpdate"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 275410448,
              "duration": 2310,
              "fieldName": "balanceAfterUpdate",
              "parentType": "HistoryOfStoreCredits"
            },
            {
              "duration": 2452,
              "fieldName": "updateScene",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                0,
                "node",
                "updateScene"
              ],
              "returnType": "StoreCreditUpdateScene",
              "startOffset": 275433584
            },
            {
              "returnType": "UnsignedInt64",
              "startOffset": 275450868,
              "duration": 1850,
              "fieldName": "updateValue",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                0,
                "node",
                "updateValue"
              ]
            },
            {
              "path": [
                "storeCreditHistory",
                "edges",
                0,
                "node",
                "balanceBeforeUpdate"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 275463386,
              "duration": 1798,
              "fieldName": "balanceBeforeUpdate",
              "parentType": "HistoryOfStoreCredits"
            },
            {
              "duration": 1959,
              "fieldName": "remarksCustomers",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                0,
                "node",
                "remarksCustomers"
              ],
              "returnType": "String",
              "startOffset": 275478470
            },
            {
              "startOffset": 275491929,
              "duration": 2049,
              "fieldName": "updatedAt",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                0,
                "node",
                "updatedAt"
              ],
              "returnType": "Date"
            },
            {
              "returnType": "String!",
              "startOffset": 275566848,
              "duration": 2085,
              "fieldName": "cursor",
              "parentType": "StoreCreditHistoryEdge",
              "path": [
                "storeCreditHistory",
                "edges",
                1,
                "cursor"
              ]
            },
            {
              "duration": 1956,
              "fieldName": "node",
              "parentType": "StoreCreditHistoryEdge",
              "path": [
                "storeCreditHistory",
                "edges",
                1,
                "node"
              ],
              "returnType": "HistoryOfStoreCredits",
              "startOffset": 275593141
            },
            {
              "duration": 1943,
              "fieldName": "balanceAfterUpdate",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                1,
                "node",
                "balanceAfterUpdate"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 275609740
            },
            {
              "startOffset": 275623039,
              "duration": 2360,
              "fieldName": "updateScene",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                1,
                "node",
                "updateScene"
              ],
              "returnType": "StoreCreditUpdateScene"
            },
            {
              "duration": 1988,
              "fieldName": "updateValue",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                1,
                "node",
                "updateValue"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 275637214
            },
            {
              "duration": 1811,
              "fieldName": "balanceBeforeUpdate",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                1,
                "node",
                "balanceBeforeUpdate"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 275649995
            },
            {
              "duration": 1801,
              "fieldName": "remarksCustomers",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                1,
                "node",
                "remarksCustomers"
              ],
              "returnType": "String",
              "startOffset": 275662376
            },
            {
              "duration": 1964,
              "fieldName": "updatedAt",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                1,
                "node",
                "updatedAt"
              ],
              "returnType": "Date",
              "startOffset": 275674242
            },
            {
              "parentType": "StoreCreditHistoryEdge",
              "path": [
                "storeCreditHistory",
                "edges",
                2,
                "cursor"
              ],
              "returnType": "String!",
              "startOffset": 275703565,
              "duration": 1918,
              "fieldName": "cursor"
            },
            {
              "returnType": "HistoryOfStoreCredits",
              "startOffset": 275728917,
              "duration": 2020,
              "fieldName": "node",
              "parentType": "StoreCreditHistoryEdge",
              "path": [
                "storeCreditHistory",
                "edges",
                2,
                "node"
              ]
            },
            {
              "duration": 1945,
              "fieldName": "balanceAfterUpdate",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                2,
                "node",
                "balanceAfterUpdate"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 275745045
            },
            {
              "duration": 2163,
              "fieldName": "updateScene",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                2,
                "node",
                "updateScene"
              ],
              "returnType": "StoreCreditUpdateScene",
              "startOffset": 275757681
            },
            {
              "fieldName": "updateValue",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                2,
                "node",
                "updateValue"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 275771507,
              "duration": 1787
            },
            {
              "duration": 2067,
              "fieldName": "balanceBeforeUpdate",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                2,
                "node",
                "balanceBeforeUpdate"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 275804820
            },
            {
              "duration": 1804,
              "fieldName": "remarksCustomers",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                2,
                "node",
                "remarksCustomers"
              ],
              "returnType": "String",
              "startOffset": 275821201
            },
            {
              "duration": 1836,
              "fieldName": "updatedAt",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                2,
                "node",
                "updatedAt"
              ],
              "returnType": "Date",
              "startOffset": 275832963
            },
            {
              "duration": 1900,
              "fieldName": "cursor",
              "parentType": "StoreCreditHistoryEdge",
              "path": [
                "storeCreditHistory",
                "edges",
                3,
                "cursor"
              ],
              "returnType": "String!",
              "startOffset": 275861625
            },
            {
              "path": [
                "storeCreditHistory",
                "edges",
                3,
                "node"
              ],
              "returnType": "HistoryOfStoreCredits",
              "startOffset": 275884953,
              "duration": 1899,
              "fieldName": "node",
              "parentType": "StoreCreditHistoryEdge"
            },
            {
              "startOffset": 275900667,
              "duration": 1893,
              "fieldName": "balanceAfterUpdate",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                3,
                "node",
                "balanceAfterUpdate"
              ],
              "returnType": "UnsignedInt64"
            },
            {
              "startOffset": 275915168,
              "duration": 1983,
              "fieldName": "updateScene",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                3,
                "node",
                "updateScene"
              ],
              "returnType": "StoreCreditUpdateScene"
            },
            {
              "duration": 2220,
              "fieldName": "updateValue",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                3,
                "node",
                "updateValue"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 275927389
            },
            {
              "startOffset": 275940243,
              "duration": 1755,
              "fieldName": "balanceBeforeUpdate",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                3,
                "node",
                "balanceBeforeUpdate"
              ],
              "returnType": "UnsignedInt64"
            },
            {
              "duration": 1937,
              "fieldName": "remarksCustomers",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                3,
                "node",
                "remarksCustomers"
              ],
              "returnType": "String",
              "startOffset": 275952307
            },
            {
              "duration": 1965,
              "fieldName": "updatedAt",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                3,
                "node",
                "updatedAt"
              ],
              "returnType": "Date",
              "startOffset": 275964026
            },
            {
              "duration": 2054,
              "fieldName": "cursor",
              "parentType": "StoreCreditHistoryEdge",
              "path": [
                "storeCreditHistory",
                "edges",
                4,
                "cursor"
              ],
              "returnType": "String!",
              "startOffset": 275990306
            },
            {
              "duration": 1906,
              "fieldName": "node",
              "parentType": "StoreCreditHistoryEdge",
              "path": [
                "storeCreditHistory",
                "edges",
                4,
                "node"
              ],
              "returnType": "HistoryOfStoreCredits",
              "startOffset": 276012983
            },
            {
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                4,
                "node",
                "balanceAfterUpdate"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 276028773,
              "duration": 2016,
              "fieldName": "balanceAfterUpdate"
            },
            {
              "duration": 1946,
              "fieldName": "updateScene",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                4,
                "node",
                "updateScene"
              ],
              "returnType": "StoreCreditUpdateScene",
              "startOffset": 276041496
            },
            {
              "duration": 1940,
              "fieldName": "updateValue",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                4,
                "node",
                "updateValue"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 276053973
            },
            {
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                4,
                "node",
                "balanceBeforeUpdate"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 276066121,
              "duration": 1817,
              "fieldName": "balanceBeforeUpdate"
            },
            {
              "startOffset": 276078210,
              "duration": 1890,
              "fieldName": "remarksCustomers",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                4,
                "node",
                "remarksCustomers"
              ],
              "returnType": "String"
            },
            {
              "duration": 1945,
              "fieldName": "updatedAt",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "edges",
                4,
                "node",
                "updatedAt"
              ],
              "returnType": "Date",
              "startOffset": 276090927
            },
            {
              "startOffset": 276136579,
              "duration": 2373,
              "fieldName": "pageInfo",
              "parentType": "StoreCreditHistoryConnection",
              "path": [
                "storeCreditHistory",
                "pageInfo"
              ],
              "returnType": "PageInfo!"
            },
            {
              "parentType": "PageInfo",
              "path": [
                "storeCreditHistory",
                "pageInfo",
                "hasNextPage"
              ],
              "returnType": "Boolean!",
              "startOffset": 276154485,
              "duration": 2202,
              "fieldName": "hasNextPage"
            },
            {
              "fieldName": "hasPreviousPage",
              "parentType": "PageInfo",
              "path": [
                "storeCreditHistory",
                "pageInfo",
                "hasPreviousPage"
              ],
              "returnType": "Boolean!",
              "startOffset": 276169325,
              "duration": 1989
            },
            {
              "fieldName": "startCursor",
              "parentType": "PageInfo",
              "path": [
                "storeCreditHistory",
                "pageInfo",
                "startCursor"
              ],
              "returnType": "String",
              "startOffset": 276181842,
              "duration": 2103
            },
            {
              "duration": 1783,
              "fieldName": "endCursor",
              "parentType": "PageInfo",
              "path": [
                "storeCreditHistory",
                "pageInfo",
                "endCursor"
              ],
              "returnType": "String",
              "startOffset": 276193917
            },
            {
              "duration": 2239,
              "fieldName": "nodes",
              "parentType": "StoreCreditHistoryConnection",
              "path": [
                "storeCreditHistory",
                "nodes"
              ],
              "returnType": "[HistoryOfStoreCredits]",
              "startOffset": 276226644
            },
            {
              "duration": 2103,
              "fieldName": "balanceAfterUpdate",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                0,
                "balanceAfterUpdate"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 276249702
            },
            {
              "duration": 1990,
              "fieldName": "updateScene",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                0,
                "updateScene"
              ],
              "returnType": "StoreCreditUpdateScene",
              "startOffset": 276264104
            },
            {
              "fieldName": "updateValue",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                0,
                "updateValue"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 276276382,
              "duration": 1872
            },
            {
              "duration": 2828,
              "fieldName": "balanceBeforeUpdate",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                0,
                "balanceBeforeUpdate"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 276288508
            },
            {
              "duration": 2055,
              "fieldName": "remarksCustomers",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                0,
                "remarksCustomers"
              ],
              "returnType": "String",
              "startOffset": 276301775
            },
            {
              "duration": 1800,
              "fieldName": "updatedAt",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                0,
                "updatedAt"
              ],
              "returnType": "Date",
              "startOffset": 276313460
            },
            {
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                1,
                "balanceAfterUpdate"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 276338058,
              "duration": 1945,
              "fieldName": "balanceAfterUpdate"
            },
            {
              "returnType": "StoreCreditUpdateScene",
              "startOffset": 276350298,
              "duration": 1865,
              "fieldName": "updateScene",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                1,
                "updateScene"
              ]
            },
            {
              "duration": 1864,
              "fieldName": "updateValue",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                1,
                "updateValue"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 276362428
            },
            {
              "duration": 1927,
              "fieldName": "balanceBeforeUpdate",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                1,
                "balanceBeforeUpdate"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 276374594
            },
            {
              "startOffset": 276386728,
              "duration": 1772,
              "fieldName": "remarksCustomers",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                1,
                "remarksCustomers"
              ],
              "returnType": "String"
            },
            {
              "duration": 1745,
              "fieldName": "updatedAt",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                1,
                "updatedAt"
              ],
              "returnType": "Date",
              "startOffset": 276398203
            },
            {
              "fieldName": "balanceAfterUpdate",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                2,
                "balanceAfterUpdate"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 276420568,
              "duration": 2075
            },
            {
              "fieldName": "updateScene",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                2,
                "updateScene"
              ],
              "returnType": "StoreCreditUpdateScene",
              "startOffset": 276432891,
              "duration": 2157
            },
            {
              "duration": 1823,
              "fieldName": "updateValue",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                2,
                "updateValue"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 276445467
            },
            {
              "returnType": "UnsignedInt64",
              "startOffset": 276457565,
              "duration": 1909,
              "fieldName": "balanceBeforeUpdate",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                2,
                "balanceBeforeUpdate"
              ]
            },
            {
              "fieldName": "remarksCustomers",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                2,
                "remarksCustomers"
              ],
              "returnType": "String",
              "startOffset": 276470041,
              "duration": 1761
            },
            {
              "duration": 1836,
              "fieldName": "updatedAt",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                2,
                "updatedAt"
              ],
              "returnType": "Date",
              "startOffset": 276482658
            },
            {
              "duration": 1970,
              "fieldName": "balanceAfterUpdate",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                3,
                "balanceAfterUpdate"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 276504969
            },
            {
              "duration": 2210,
              "fieldName": "updateScene",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                3,
                "updateScene"
              ],
              "returnType": "StoreCreditUpdateScene",
              "startOffset": 276517187
            },
            {
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                3,
                "updateValue"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 276529306,
              "duration": 1791,
              "fieldName": "updateValue"
            },
            {
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                3,
                "balanceBeforeUpdate"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 276541574,
              "duration": 1922,
              "fieldName": "balanceBeforeUpdate"
            },
            {
              "duration": 1771,
              "fieldName": "remarksCustomers",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                3,
                "remarksCustomers"
              ],
              "returnType": "String",
              "startOffset": 276553611
            },
            {
              "duration": 1812,
              "fieldName": "updatedAt",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                3,
                "updatedAt"
              ],
              "returnType": "Date",
              "startOffset": 276565040
            },
            {
              "returnType": "UnsignedInt64",
              "startOffset": 276587487,
              "duration": 2069,
              "fieldName": "balanceAfterUpdate",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                4,
                "balanceAfterUpdate"
              ]
            },
            {
              "duration": 2118,
              "fieldName": "updateScene",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                4,
                "updateScene"
              ],
              "returnType": "StoreCreditUpdateScene",
              "startOffset": 276599919
            },
            {
              "startOffset": 276612479,
              "duration": 1811,
              "fieldName": "updateValue",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                4,
                "updateValue"
              ],
              "returnType": "UnsignedInt64"
            },
            {
              "duration": 2040,
              "fieldName": "balanceBeforeUpdate",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                4,
                "balanceBeforeUpdate"
              ],
              "returnType": "UnsignedInt64",
              "startOffset": 276624597
            },
            {
              "startOffset": 276636810,
              "duration": 1739,
              "fieldName": "remarksCustomers",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                4,
                "remarksCustomers"
              ],
              "returnType": "String"
            },
            {
              "duration": 1850,
              "fieldName": "updatedAt",
              "parentType": "HistoryOfStoreCredits",
              "path": [
                "storeCreditHistory",
                "nodes",
                4,
                "updatedAt"
              ],
              "returnType": "Date",
              "startOffset": 276648379
            }
          ]
        },
        "parsing": {
          "duration": 387854,
          "startOffset": 420752
        },
        "startTime": "2024-07-25T06:48:07.679Z",
        "validation": {
          "duration": 424465,
          "startOffset": 1018602
        },
        "version": 1
      }
    }
  }
}
```

## 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).

