Types > CustomerBalanceHistory
Storefront APITypesCustomerBalanceHistory
CustomerBalanceHistory

Description

Fields

amount: Int!

Amount that was added or subtracted from customer's balance in shop currency

Example: 5000


balance: Int!

Balance at the moment of submitting transaction (after transaction was applied)

Example: 53466


comment: String!

Arbitrary comment describing the transaction

Example: "Hello, world."


created_at: String!

Date and time change was performed and recorded

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


currency: String!

Currency code

Example: "USD"


id: String!

Unique customer balance history item identifier. See also: Unique Identifiers

Example: "cb_EQzGqWoY"


source: CustomerBalanceSource!

Source of the credit/debit

Example: "gift_card"


source_arg1: String!

First source argument, used for comment formatting

Example: "or_EQzGqWoY"


source_arg2: String!

Second source argument, used for comment formatting

Example: "HG67"


Used By

Types

CustomerBalanceHistoryPage

Preview (typescript)

Loading module