---
title: "LoyaltyProgramsByPid (Brevo)"
description: "Loyalty Programme by Programme ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/sendinblue/Brevo.Program.LoyaltyProgramsByPid
original: https://documentation.invantive.eu/en/datamodels/sendinblue/Brevo.Program.LoyaltyProgramsByPid
updated: 2026-11-01T16:23:13Z
license: https://documentation.invantive.eu/en/
---

# LoyaltyProgramsByPid: Brevo Loyalty Programme by Programme ID

`read only` `REST`

- Catalog: `Brevo`
- Schema: `Program`
- Label: Loyalty Programme by Programme ID

Get loyalty program Info
Returns loyalty program

Can only retrieve data.

## Summary

Returns loyalty program

## API Source

- Endpoint: `/loyalty/config/programs/{pid}`
- Operation: `get /loyalty/config/programs/{pid}`

## 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 |
|---|---|:---:|---|---|
| `pid` | `` | [x] |  | Loyalty Program ID. A unique identifier for the loyalty program. |

## Table Columns

The columns of the table `LoyaltyProgramsByPid` 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 |
|---|---|---|:---:|---|---|
| `birthdayAttribute` | `varchar2` | itgen_sib_birthdayattribute | [ ] | filters on the platform, writable, `birthdayAttribute` | Contact attribute name used for birthday tracking. |
| `codeCount` | `int64` | itgen_sib_codecount | [ ] | filters on the platform, writable, `codeCount` | Number of available subscription codes. |
| `createdAt` | `datetime` | Creation Date | [ ] | filters on the platform, writable, `createdAt` | Timestamp when the loyalty program was created. |
| `description` | `varchar2` | Description | [ ] | filters on the platform, writable, `description` | Loyalty Program description. |
| `documentId` | `guid` | itgen_sib_documentid | [ ] | filters on the platform, writable, `documentId` | Associated document identifier. |
| `id` | `guid` | ID | [ ] | filters on the platform, writable, `id` | Loyalty Program unique identifier. |
| `meta` | `varchar2` | itgen_sib_meta | [ ] | writable | Loyalty Program metadata. The JSON text of the nested object. |
| `name` | `varchar2` | Name | [ ] | filters on the platform, writable, `name` | Loyalty Program name. |
| `pattern` | `varchar2` | itgen_sib_pattern | [ ] | filters on the platform, writable, `pattern` | Subscription code pattern. |
| `state` | `varchar2` | itgen_sib_state | [ ] | filters on the platform, writable, `state` | Current state of the loyalty program. |
| `subscriptionGeneratorId` | `guid` | itgen_sib_subscriptiongeneratorid | [ ] | filters on the platform, writable, `subscriptionGeneratorId` | Loyalty Program subscription generator ID. |
| `subscriptionPoolId` | `guid` | itgen_sib_subscriptionpoolid | [ ] | filters on the platform, writable, `subscriptionPoolId` | Loyalty Program subscription pool ID. |
| `updatedAt` | `datetime` | itgen_sib_updatedat | [ ] | filters on the platform, writable, `updatedAt` | Timestamp when the loyalty program was last modified. |



## Release Notes

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

- [Brevo](/en/release-notes/drivers/brevo)

