---
title: "StoreCreditUpdateScene"
description: "Store credit change scenario type"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/member-system/enums/store-credit-update-scene'
  md: 'https://developer.shopline.com/docs/storefront-api/member-system/enums/store-credit-update-scene.md'
---
# StoreCreditUpdateScene

Store credit change scenario type

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

## Type Signature

`StoreCreditUpdateScene`

## Values

* `ORDER_PLACED`

  The customer successfully places an order and gets store credits.

* `MANUALLY_RESET`

  The merchant manually resets the purchase amount and the original card number can no longer be used.

* `SPEND_HISTORY`

  Store credits is issued according to the historical consumption amount of the customer.

* `FIRST_ALLOCATION`

  The merchant issues store credits to the customer for the first time.

* `FIRST_ORDER`

  The customer gets store credits when placing an order for the first time.

* `MANUALLY_DECREASE`

  The merchant manually deducts store credits.

* `MANUALLY_INCREASE`

  The merchant manually issues store credits.

* `ORDER_HISTORY`

  Store credits is issued according to the number of historical orders of the customer.

* `RETURN_INCREASE_ADMIN`

  The merchant refunds the order by issuing store credits in the order.

* `RETURN_INCREASE_APP`

  The merchant refunds the order by issuing store credits in the membership system.

* `SUCCESSFUL_REGISTRATION`

  The customer successfully registers and gets store credits.

* `PURCHASE_PAYMENT`

  The customer uses store credits to pay for shopping.

* `RETURN_DECREASE`

  The merchant deducts the issued store credits when refunding the order.

* `SYSTEM_EXPIRED`

  Store credits expires.

## Schema Definition

```graphql
enum StoreCreditUpdateScene { 
	ORDER_PLACED 
	MANUALLY_RESET 
	SPEND_HISTORY 
	FIRST_ALLOCATION 
	FIRST_ORDER 
	MANUALLY_DECREASE 
	MANUALLY_INCREASE 
	ORDER_HISTORY 
	RETURN_INCREASE_ADMIN 
	RETURN_INCREASE_APP 
	SUCCESSFUL_REGISTRATION 
	PURCHASE_PAYMENT 
	RETURN_DECREASE 
	SYSTEM_EXPIRED  
}
```

## Field from

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

  Store credit change scenario type

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

