Skip to main content
PUT
Update Loyalty Program Details

Authorizations

Authorization
string
header
required

JWT access token obtained from POST /v2/token.

Headers

authorization
string | null

Path Parameters

programId
required
Required string length: 24
Pattern: ^[0-9a-f]{24}$
Example:

"5eb7cf5a86d9755df3a6c593"

Body

application/json
name
string | null
description
string | null
language
string | null
country
string | null
company
string | null
address
string | null
website
string<uri> | null
Required string length: 1 - 2083
email
phone
string | null
terms
string | null
pointsAddEmail
integer | null
pointsAddPhone
integer | null
pointsInstallPass
integer | null
pointsScanPass
integer | null
dynamicScanPoints
boolean | null
pointsReferral
integer | null
referralRequiredPoints
integer | null
scannerType
enum<string> | null
Available options:
Browser,
PassVerifier,
CodeReadr,
None
customPointsChangeMessage
string | null
disableCustomPointsChangeMessage
boolean | null
customPointName
string | null
customPointsName
string | null
customFields
TemplatePlaceholder · object[]
requiredFields
string[]
retention_period_days
integer | null

Days to retain deleted data (0-365)

Required range: 0 <= x <= 365

Response

Successful Response