Create loyalty program
Creates loyalty program
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Request
Payload for creating a new loyalty program.
name
Required name of the loyalty program (max 128 chars).
description
Optional description of the loyalty program (max 256 chars).
documentId
Optional unique document ID.
meta
Optional metadata related to the loyalty program.
Response
Successfully created loyalty program.
codeCount
Loyalty Program code count
createdAt
Loyalty Program creation date
description
Loyalty Program description
documentId
string
id
Loyalty Program ID
meta
Loyalty Program meta data
name
Loyalty Program name
pattern
string
state
Loyalty Program state
Allowed values:
subscriptionGeneratorId
Loyalty Program subscription generator ID
subscriptionPoolId
Loyalty Program subscription pool ID
updatedAt
Loyalty Program last modification date