invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

LoyaltyBalanceProgramsByPid_TransactionHistoryTransactionHistory: Brevo Loyalty Balance Programme Transaction History Items by Programme ID

read only REST

  • Catalog: Brevo
  • Schema: Balance
  • Label: Loyalty Balance Programme Transaction History Items by Programme ID

Get Transaction History API Returns transaction history

Can only retrieve data.

Summary

Returns transaction history

API Source

  • Endpoint: /loyalty/balance/programs/{pid}/transaction-history
  • Operation: get /loyalty/balance/programs/{pid}/transaction-history

Performance Characteristics

Characteristic Value
Average access latency (ms) 126
Full scan rows per minute 414,000
Point query rows per minute 476
Write rows per minute 496

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
balanceDefinitionId `` Balance Definition ID
contactId `` Contact ID
loyaltySubscriptionId `` Loyalty Subscription ID filter
pid `` Loyalty Program Id
sortField `` Field to sort by (Values: createdAt)
status `` Transaction status filter (Values: draft, completed, rejected, cancelled, expired)
transactionType `` Transaction type filter (Values: credit, debit)

Table Columns

The columns of the table LoyaltyBalanceProgramsByPid_TransactionHistoryTransactionHistory are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
amount double itgen_sib_amount writable, amount The transaction amount.
balanceDefinitionId varchar2 itgen_sib_balancedefinitionid filters on the platform, writable, ::ancestor.balanceDefinitionId Unique identifier of the associated balance definition.
balanceExpirationDate varchar2 itgen_sib_balanceexpirationdate writable, balanceExpirationDate Expiration date of the balance associated with this transaction.
cancelledAt varchar2 itgen_sib_cancelledat writable, cancelledAt Timestamp when the transaction was canceled, if applicable.
completedAt varchar2 itgen_sib_completedat writable, completedAt Timestamp when the transaction was successfully completed.
contactId int64 itgen_sib_contactid filters on the platform, writable, ::ancestor.contactId Unique identifier of the contact related to the transactions.
count int64 Count filters on the platform, writable, ::ancestor.count Total number of transactions in the history.
createdAt varchar2 Creation Date writable, createdAt Timestamp when the transaction was initiated.
id varchar2 ID writable, id Unique identifier of the transaction.
loyaltyProgramId varchar2 itgen_sib_loyaltyprogramid filters on the platform, writable, ::ancestor.loyaltyProgramId Unique identifier of the associated loyalty program.
meta varchar2 itgen_sib_meta writable Optional metadata associated with the transaction. The JSON text of the nested object.
rejectReason varchar2 itgen_sib_rejectreason writable, rejectReason Reason for rejection, if the transaction was declined.
rejectedAt varchar2 itgen_sib_rejectedat writable, rejectedAt Timestamp when the transaction was rejected.
status varchar2 Status writable, status Current status of the transaction (e.g., pending, completed, rejected).
transactionType varchar2 itgen_sib_transactiontype writable, transactionType The type of the transaction.

Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver: