Types > CustomerBalanceCreate
Commerce APITypesCustomerBalanceCreate
CustomerBalanceCreate

Description

Topic: Customer Balance

Fields

amount: Int!

Amount to add/subtract to customer balance

Example: 5000


comment: String

Comment describing the change

Example: "Loyalty credit"

Valid when: comment is not empty

Valid when: comment's length doesn't exceed 4096 characters


currency: String

Currency code of the amount to add/subtract (shop's primary by default)

Example: "USD"


Used By

Mutations

customerBalanceTransactionCreate

Preview (typescript)

Loading module