Error
titlestatusThe http status code.
messageThe main error message.
correlationIdThe unique correlation id for the request.
detailThe main error message.
Validation error on a specific field.
Member
idcreatedAtcustomerIdCustomer id
organisationIdThe organisation this member belongs to
Metadata needed for the processing of events
updatedAtProgram
idnameThe name of the program
activeIf program is active. Inactive programs are excluded from triggering effects.
presetcreatedAtorganisationIdId of organisation owning the program
programVersionIdorganisationsWithAccessA list of organisations that can consume the program
administratorOrganisationsA list of organisations that can administrate the program
infoLinkA link to information about the program
referenceUnique reference for the program. Meant to be used to identify which program this is, across different environments where the id might be different. This enables clients of the api to more easily identify the program, for example to enrich the presentation, beyond what this api delivers (for example with an icon, or more descriptive text).
updatedAtPageMember
All items for this page
totalItemsTotal items which could be returned
totalPagesTotal number of pages
LevelStatus
levelIdId of the level in the reward ladder
Rewards for this level
PointPeriod
idThe ID of the point period
endAtThe end time of the point period
startAtThe start time of the point period
Metadata for a point period. Example:
Code
PointsGiven
amountThe amount of points given
pointDefinitionReferenceReference to the point definition given point for
pointPeriodIdThe ID of the point period the points were given in, if applicable
transactionIdThe ID of the transaction for the given points. Null if the points given amount is 0.
Transaction
idGenerated identifier
amountThe number of points of the definition this transaction gives
createdAtThe date and time when the transaction was created
programIdThe id of the program this transaction belongs to
validFromThe date and time the transaction is valid from.
pointDefinitionIdThe id of the point definition this transaction gives points of
expireAtThe date and time when the transaction expires. If null, the transaction never expires.
Metadata for the transaction
updatedAtThe date and time when the transaction was last updated
cancelledAtThe date and time when the transaction was cancelled. If not null, the transaction is valid until this time.
referenceIdUnique reference for this transaction. Populated from the event that created the transaction, based on the effect configuration.
pointDefinitionReferenceThe reference of the point definition this transaction gives points of
MemberPoints
idamountmemberIdsourceIdcreatedAtprogramIdpointDefinitionReferenceupdatedAtMemberReward
@typerewardIddescriptionCappingStatus
isReachedWhether the capping amount has been reached by the member
cappingAmountThe amount that this point definition is capped at
CurrentReward
@typerewardIddescriptionPagePointPeriod
All items for this page
totalItemsTotal items which could be returned
totalPagesTotal number of pages
PageTransaction
All items for this page
totalItemsTotal items which could be returned
totalPagesTotal number of pages
PageMemberPoints
All items for this page
totalItemsTotal items which could be returned
totalPagesTotal number of pages
SuspensionPeriod
idGenerated identifier
@typeendAtWhen the suspension period ends
startAtWhen the suspension period starts
createdAtThe date and time when the period was created
referenceIdCode
Metadata for the suspension period
updatedAtThe date and time when the period was last updated
cancelledAtWhen the suspension period was cancelled from.
SuspensionStatus
endAtWhen the suspension will end
startAtWhen the suspension started
referenceIdThe reference id of the suspension
suspensionTypeCode
LevelStatusReward
@typerewardIddescriptionPointsGivenResult
List of points given per point definition
RewardRequirement
requiredAmountRequired amount to reach a program level
pointDefinitionIdId of the point definition
pointDefinitionReferencePoint definition reference
CustomerMembership
memberIdThe ID for the customer's membership in the program
programIdMetadata about the member
programReferenceUnique reference for the program.
MemberLevelSummary
nameLevel name
Rewards when the level is reached
requirementsNeededWhether any or all requirements need to be fulfilled
Requirements for reaching the level
MemberRewardLadder
Program level details, including the specific requirements and rewards for each level in the program
TransactionByOrder
idGenerated identifier
amountThe number of points of the definition this transaction gives
memberIdThe ID of the member in the program this transaction belongs to
createdAtThe date and time when the transaction was created
programIdThe id of the program this transaction belongs to
validFromThe date and time the transaction is valid from.
pointDefinitionIdThe id of the point definition this transaction gives points of
expireAtThe date and time when the transaction expires. If null, the transaction never expires.
Metadata for the transaction
updatedAtThe date and time when the transaction was last updated
cancelledAtThe date and time when the transaction was cancelled. If not null, the transaction is valid until this time.
pointPeriodIdThe id of the point period this transaction belongs to, if applicable
pointDefinitionReferenceThe reference of the point definition this transaction gives points of
CurrentLevelSummary
memberIdId of the member within the program. Can be used to look up more information about the member.
programIdId of the program. WARNING: Don't use this for matching with a specific program, since it may vary across environments. Use "programReference" instead.
The current rewards the member has achieved in the program
The current status of each point definition in the program
The current level in the reward ladder the member has achieved
programReferenceReference to the program. This is a unique reference that is the same in all environments, and can be used to identify the program. Nullable for backwards compatibility reasons. Should be filled out in most cases.
CurrentPointsPeriod
startOfPeriodThe start of the period for which the current points are valid
endOfPeriodThe end of the period for which the current points are valid
MemberFeatureReward
@typerewardIddescriptionNoPointsGivenResult
titlereasonReason why no points were given
statusThe http status code.
CurrentFeatureReward
@typerewardIddescriptionDeferredRegistration
orderIdThe order ID for which to register
customerIdThe customer ID for which to register the order
orderLineIdThe order line ID for which to register
PageSuspensionPeriod
All items for this page
totalItemsTotal items which could be returned
totalPagesTotal number of pages
SuspensionStatusType
Code
PointDefinitionStatus
currentPointsThe amount of points the member currently has of this point definition
pendingPointsThe amount of points the member has received, but are not valid yet. If the point definition is periodic, this field will only contain the pending points in the current point period.
pointDefinitionIdId of the point definition
pointDefinitionReferenceUnique reference for the point. Meant to be used to identify what kind of point this is, across different environments where the id might be different. This enables clients of the api to enrich the presentation of the point definition, beyond what this api delivers (for example giving the point definition an icon, or more descriptive text).
pointDefinitionPluralNamePlural name of the point definition
pointDefinitionSingularNameSingular name of the point definition
The capping status for this point definition, if capping is enabled
The period for which the current points are valid. Only filled out if the point definition is periodic. Can return the first active period after the queried time if there is no period active at that point.
EffectSuspensionPeriod
idGenerated identifier
@typeendAtWhen the suspension period ends
startAtWhen the suspension period starts
createdAtThe date and time when the period was created
referenceIdCode
effectTypeThe type of effect that this period suspends
metadataMetadata for the suspension period
updatedAtThe date and time when the period was last updated
cancelledAtWhen the suspension period was cancelled from.
RewardsSuspensionPeriod
idGenerated identifier
@typeendAtWhen the suspension period ends
startAtWhen the suspension period starts
createdAtThe date and time when the period was created
referenceIdCode
metadataMetadata for the suspension period
updatedAtThe date and time when the period was last updated
cancelledAtWhen the suspension period was cancelled from.
CurrentLevelSummaryQuery
customerIdCustomer id of the member
statusAtGet current level summary at a given date and time. Defaults to now if not set.
programIdId of the program to query. If null, will return summary of all programs the customer is enrolled in.
programReferenceReference to the program to query. Better to use than programId, since programId might vary in different environments.
programReferencesList of reference to the programs to query. If given then it overrides the programReference parameter.
CustomerMembershipsQuery
customerIdCustomer id of the member
programReferencesList of reference to the programs to query.
LevelStatusFeatureReward
@typerewardIddescriptionMemberPointsEarnedResponse
idamountmemberIdsourceIdcreatedAtprogramIdpointDefinitionReferencevalidFromupdatedAtexpireAtcancelledAtMemberPointsConsumedResponse
idamountmemberIdsourceIdcreatedAtprogramIdpointDefinitionReferenceconsumedAtupdatedAtrefundedAtMemberPercentDiscountedProductReward
@typerewardIddescriptionpercentDiscountThe percentage discount this reward gives