ParameterSubscriptionRewardsByPid: Brevo Subscription Information Rewards by Programme ID
read only REST
- Katalog:
Brevo - Schéma:
Program - Label: Subscription Information Rewards by Programme ID
Get Subscription Data Get Information of balances, tiers, rewards and subscription members for a subscription
Lze načítat pouze data.
Shrnutí
Get Information of balances, tiers, rewards and subscription members for a subscription
Zdroj API
- Koncový bod:
/loyalty/config/programs/{pid}/account-info - Operace:
get /loyalty/config/programs/{pid}/account-info
Provozní charakteristiky
| Charakteristika | Hodnota |
|---|---|
| Průměrná latence přístupu (ms) | 126 |
| Počet řádků při úplném skenování za minutu | 414,000 |
| Počet řádků Query za minutu | 476 |
| Počet řádků za minutu | 496 |
Výsledek lze uložit do mezipaměti na straně klienta.
Parametry
| Jméno | Datový typ | Vyžadováno | Výchozí | Dokumentace |
|---|---|---|---|---|
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. |
Sloupce tabulky
Sloupce tabulky ParameterSubscriptionRewardsByPid jsou uvedeny níže. Každý sloupec má datový typ SQL. Pro každý požadovaný sloupec musí být vždy během vkládání a aktualizace zadána nová hodnota, která není nulová (non-null).
| Jméno | Datový typ | Štítek | Vyžadováno | Značky | Dokumentace |
|---|---|---|---|---|---|
balance_ |
int64 |
itgen_sib_balance_contactid | filtry na platformě, zapisovatelné, ::ancestor. |
Unique identifier of the contact. | |
balance_ |
varchar2 |
itgen_sib_balance_loyaltyprogramid | filtry na platformě, zapisovatelné, ::ancestor. |
Unique identifier of the loyalty program. | |
code |
varchar2 |
itgen_sib_code | zapisovatelný, code |
Reward code assigned to the contact. | |
contact |
int64 |
itgen_sib_contactid | zapisovatelný, contact |
Unique identifier of the contact. | |
created |
varchar2 |
Datum vytvoření | zapisovatelný, created |
Timestamp when the reward was created. | |
expiration |
varchar2 |
itgen_sib_expirationdate | zapisovatelný, expiration |
Expiration date of the reward. | |
id |
varchar2 |
ID | zapisovatelný, id |
Unique identifier of the reward. | |
loyalty |
varchar2 |
itgen_sib_loyaltyprogramid | zapisovatelný, loyalty |
Unique identifier of the loyalty program. | |
loyalty |
varchar2 |
itgen_sib_loyaltyprogramname | filtry na platformě, zapisovatelné, ::ancestor. |
Name of the loyalty program. | |
membership_ |
datetime |
itgen_sib_membership_createdat | filtry na platformě, zapisovatelné, ::ancestor. |
Timestamp when the subscription was created. | |
membership_ |
varchar2 |
itgen_sib_membership_loyaltysubscriptionid | filtry na platformě, zapisovatelné, ::ancestor. |
Unique identifier of the loyalty subscription. | |
membership_ |
datetime |
itgen_sib_membership_updatedat | filtry na platformě, zapisovatelné, ::ancestor. |
Timestamp when the subscription was last updated. | |
meta |
varchar2 |
itgen_sib_meta | writable | Additional metadata related to the reward.Text JSON vnořeného objektu. | |
public |
varchar2 |
itgen_sib_publicdescription | zapisovatelný, public |
Customer-facing description of the reward, as configured on the reward definition. | |
reward |
varchar2 |
itgen_sib_rewardid | zapisovatelný, reward |
Unique identifier of the reward definition. | |
reward |
varchar2 |
itgen_sib_rewardname | zapisovatelný, 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 | zapisovatelný, 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 | zapisovatelný, updated |
Timestamp when the reward was last updated. | |
valid |
datetime |
itgen_sib_validfrom | zapisovatelný, valid |
Date from which the voucher becomes valid. | |
value |
double |
Hodnota | zapisovatelný, 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. |
Poznámky k Vydání
Jaké změny v tabulkách, sloupcích, atributech a funkcích ovladače nastaly v jednotlivých verzích: