ParameterSubscriptionRewardsByPid: Brevo Subscription Information Rewards by Programme ID
read only REST
- Catalog:
Brevo - Schema:
Program - Label: Subscription Information Rewards by Programme ID
Get Subscription Data Get Information of balances, tiers, rewards and subscription members for a subscription
Can only retrieve data.
Summary
Get Information of balances, tiers, rewards and subscription members for a subscription
API Source
- Endpoint:
/loyalty/config/programs/{pid}/account-info - Operation:
get /loyalty/config/programs/{pid}/account-info
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 |
|---|---|---|---|---|
contact |
`` | The contact ID to filter by. | ||
include |
`` | Include balances tied to internal definitions. | ||
loyalty |
`` | The loyalty subscription ID to filter by. | ||
params |
`` | A list of filter parameters for querying the subscription info. | ||
pid |
`` | Loyalty Program ID. A unique identifier for the loyalty program. |
Table Columns
The columns of the table ParameterSubscriptionRewardsByPid 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 |
|---|---|---|---|---|---|
balance_ |
int64 |
itgen_sib_balance_contactid | filters on the platform, writable, ::ancestor. |
Unique identifier of the contact. | |
balance_ |
varchar2 |
itgen_sib_balance_loyaltyprogramid | filters on the platform, writable, ::ancestor. |
Unique identifier of the loyalty program. | |
code |
varchar2 |
itgen_sib_code | writable, code |
Reward code assigned to the contact. | |
contact |
int64 |
itgen_sib_contactid | writable, contact |
Unique identifier of the contact. | |
created |
varchar2 |
Creation Date | writable, created |
Timestamp when the reward was created. | |
expiration |
varchar2 |
itgen_sib_expirationdate | writable, expiration |
Expiration date of the reward. | |
id |
varchar2 |
ID | writable, id |
Unique identifier of the reward. | |
loyalty |
varchar2 |
itgen_sib_loyaltyprogramid | writable, loyalty |
Unique identifier of the loyalty program. | |
loyalty |
varchar2 |
itgen_sib_loyaltyprogramname | filters on the platform, writable, ::ancestor. |
Name of the loyalty program. | |
membership_ |
datetime |
itgen_sib_membership_createdat | filters on the platform, writable, ::ancestor. |
Timestamp when the subscription was created. | |
membership_ |
varchar2 |
itgen_sib_membership_loyaltysubscriptionid | filters on the platform, writable, ::ancestor. |
Unique identifier of the loyalty subscription. | |
membership_ |
datetime |
itgen_sib_membership_updatedat | filters on the platform, writable, ::ancestor. |
Timestamp when the subscription was last updated. | |
meta |
varchar2 |
itgen_sib_meta | writable | Additional metadata related to the reward. The JSON text of the nested object. | |
public |
varchar2 |
itgen_sib_publicdescription | writable, public |
Customer-facing description of the reward, as configured on the reward definition. | |
reward |
varchar2 |
itgen_sib_rewardid | writable, reward |
Unique identifier of the reward definition. | |
reward |
varchar2 |
itgen_sib_rewardname | writable, reward |
Customer-facing name of the reward. Falls back to the internal reward name when no public name is set. | |
unit |
varchar2 |
itgen_sib_unit | writable, unit |
Unit the reward's value is expressed in — one of the currency codes listed below, or PERCENT. Omitted when the reward has no unit (e.g. free-product rewards). | |
updated |
datetime |
itgen_sib_updatedat | writable, updated |
Timestamp when the reward was last updated. | |
valid |
datetime |
itgen_sib_validfrom | writable, valid |
Date from which the voucher becomes valid. | |
value |
double |
Value | writable, value |
The value recorded when this reward was attributed to the contact — a snapshot, not necessarily the reward's current configured value. Omitted when not set. |
Release Notes
What changed per release in the tables, columns, attributes and capabilities of the driver: