Przejdź do głównej zawartości

LoyaltyTransaction

Loyalty points transaction

type LoyaltyTransaction {
balanceAfter: Int!
createdAt: DateTime!
description: String
expiresAt: DateTime
id: ID!
orderId: String
points: Int!
type: LoyaltyTransactionType!
}

Fields

LoyaltyTransaction.balanceAfter ● Int! non-null scalar

Balance after transaction

LoyaltyTransaction.createdAt ● DateTime! non-null scalar

Transaction date

LoyaltyTransaction.description ● String scalar

Description

LoyaltyTransaction.expiresAt ● DateTime scalar

Expiry date for earned points

LoyaltyTransaction.id ● ID! non-null scalar

Transaction ID

LoyaltyTransaction.orderId ● String scalar

Related order ID

LoyaltyTransaction.points ● Int! non-null scalar

Points (positive = earn, negative = spend)

LoyaltyTransaction.type ● LoyaltyTransactionType! non-null enum

Transaction type

Member Of

LoyaltyTransactionEdge object