Update loyalty program
Updates loyalty program
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Path parameters
pid
Loyalty Program ID. A unique identifier for the loyalty program.
Request
Update Loyalty Program Payload
name
Loyalty Program name
description
Loyalty Program description
meta
Loyalty Program meta data
Response
Successfully updated loyalty program.
id
Loyalty Program unique identifier.
name
Loyalty Program name.
description
Loyalty Program description.
meta
Loyalty Program metadata.
state
Current state of the loyalty program.
Allowed values:
subscriptionPoolId
Loyalty Program subscription pool ID.
subscriptionGeneratorId
Loyalty Program subscription generator ID.
pattern
Subscription code pattern.
codeCount
Number of available subscription codes.
documentId
Associated document identifier.
birthdayAttribute
Contact attribute name used for birthday tracking.
createdAt
Timestamp when the loyalty program was created.
updatedAt
Timestamp when the loyalty program was last modified.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
500
Internal Server Error