/** * @example * { * pid: "pid", * contactId: 1000000 * } */ export interface SubscribeToLoyaltyProgramRequest { /** Loyalty Program ID. A unique identifier for the loyalty program. */ pid: string; /** Required contact ID; must be greater than 0. */ contactId: number; /** Optional subscription ID (max length 64). */ loyaltySubscriptionId?: string; /** Optional creation date in ISO 8601 format (YYYY-MM-DDThh:mm:ss.ffffff+HH:MM). Must be in the past. */ creationDate?: string; /** Optional metadata associated with the subscription. */ meta?: Record; }