Request Payload for creating a new loyalty program.
name string Required <=128 characters
Required name of the loyalty program (max 128 chars).
description string Optional <=256 characters
Optional description of the loyalty program (max 256 chars).
documentId string Optional
Optional unique document ID.
meta map from strings to any Optional
Optional metadata related to the loyalty program.
Response Successfully created loyalty program.
id string format: "uuid"
Loyalty Program unique identifier.
name string
Loyalty Program name.
description string
Loyalty Program description.
meta map from strings to any
Loyalty Program metadata.
state enum
Current state of the loyalty program.
Allowed values: inactive active draft
subscriptionPoolId string format: "uuid"
Loyalty Program subscription pool ID.
subscriptionGeneratorId string format: "uuid"
Loyalty Program subscription generator ID.
pattern string
Subscription code pattern.
codeCount long
Number of available subscription codes.
documentId string format: "uuid"
Associated document identifier.
birthdayAttribute string
Contact attribute name used for birthday tracking.
createdAt datetime
Timestamp when the loyalty program was created.
updatedAt datetime
Timestamp when the loyalty program was last modified.