CurrentReward
descriptionrewardId@typeLevelStatusReward
descriptionrewardId@typeMemberPoints
idsourceIdprogramIdmemberIdamountpointDefinitionReferencecreatedAtupdatedAtMemberReward
descriptionrewardId@typeSuspensionPeriod
idGenerated identifier
endAtWhen the suspension period ends
startAtWhen the suspension period starts
createdAtThe date and time when the period was created
referenceIdCode
@typeMetadata for the suspension period
cancelledAtWhen the suspension period was cancelled from.
updatedAtThe date and time when the period was last updated
CappingStatus
cappingAmountThe amount that this point definition is capped at
isReachedWhether the capping amount has been reached by the member
CurrentFeatureReward
descriptionrewardId@typeCurrentLevelSummary
programIdId of the program. WARNING: Don't use this for matching with a specific program, since it may vary across environments. Use "programReference" instead.
memberIdId of the member within the program. Can be used to look up more information about the member.
The current rewards the member has achieved in the program
The current status of each point definition in the program
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.
CurrentLevelSummaryQuery
customerIdCustomer id of the member
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.
statusAtGet current level summary at a given date and time. Defaults to now if not set.
CurrentPercentDiscountedProductReward
descriptionrewardId@typepercentDiscountThe percentage discount this reward gives
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
CustomerMembership
programIdmemberIdThe ID for the customer's membership in the program
programReferenceUnique reference for the program.
Metadata about the member
CustomerMembershipsQuery
customerIdCustomer id of the member
programReferencesList of reference to the programs to query.
DeferredRegistration
customerIdThe customer ID for which to register the order
orderIdThe order ID for which to register
orderLineIdThe order line ID for which to register
EffectSuspensionPeriod
idGenerated identifier
endAtWhen the suspension period ends
startAtWhen the suspension period starts
createdAtThe date and time when the period was created
referenceIdCode
@typeeffectTypeThe type of effect that this period suspends
metadataMetadata for the suspension period
cancelledAtWhen the suspension period was cancelled from.
updatedAtThe date and time when the period was last updated
Error
statusThe http status code.
titlemessageThe main error message.
correlationIdThe unique correlation id for the request.
detailThe main error message.
Validation error on a specific field.
LevelStatus
levelIdId of the level in the reward ladder
Rewards for this level
LevelStatusFeatureReward
descriptionrewardId@typeLevelStatusPercentDiscountedProductReward
descriptionrewardId@typepercentDiscountThe percentage discount this reward gives
Member
idcustomerIdCustomer id
organisationIdThe organisation this member belongs to
createdAtMetadata needed for the processing of events
updatedAtMemberFeatureReward
descriptionrewardId@typeMemberLevelSummary
nameLevel name
Requirements for reaching the level
requirementsNeededWhether any or all requirements need to be fulfilled
Rewards when the level is reached
MemberPercentDiscountedProductReward
descriptionrewardId@typepercentDiscountThe percentage discount this reward gives
MemberPointsConsumedResponse
idsourceIdprogramIdmemberIdamountpointDefinitionReferencecreatedAtconsumedAtupdatedAtrefundedAtMemberPointsEarnedResponse
idsourceIdprogramIdmemberIdamountpointDefinitionReferencecreatedAtvalidFromupdatedAtexpireAtcancelledAtMemberRewardLadder
Program level details, including the specific requirements and rewards for each level in the program
NoPointsGivenResult
reasonReason why no points were given
statusThe http status code.
titlePageMember
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
PagePointPeriod
All items for this page
totalItemsTotal items which could be returned
totalPagesTotal number of pages
PageSuspensionPeriod
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
PointDefinitionStatus
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).
pointDefinitionSingularNameSingular name of the point definition
pointDefinitionPluralNamePlural name of the point definition
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.
PointPeriod
idThe ID of the point period
startAtThe start time of the point period
endAtThe end 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
transactionIdThe ID of the transaction for the given points. Null if the points given amount is 0.
pointPeriodIdThe ID of the point period the points were given in, if applicable
PointsGivenResult
List of points given per point definition
Program
idorganisationIdId of organisation owning the program
presetnameThe name of the program
organisationsWithAccessA list of organisations that can consume the program
administratorOrganisationsA list of organisations that can administrate the program
activeIf program is active. Inactive programs are excluded from triggering effects.
createdAtprogramVersionIdreferenceUnique 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).
infoLinkA link to information about the program
updatedAtRewardRequirement
requiredAmountRequired amount to reach a program level
pointDefinitionIdId of the point definition
pointDefinitionReferencePoint definition reference
RewardsSuspensionPeriod
idGenerated identifier
endAtWhen the suspension period ends
startAtWhen the suspension period starts
createdAtThe date and time when the period was created
referenceIdCode
@typemetadataMetadata for the suspension period
cancelledAtWhen the suspension period was cancelled from.
updatedAtThe date and time when the period was last updated
SuspensionStatus
referenceIdThe reference id of the suspension
suspensionTypeCode
startAtWhen the suspension started
endAtWhen the suspension will end
SuspensionStatusType
Code
Transaction
idGenerated identifier
programIdThe id of the program this transaction belongs to
amountThe number of points of the definition this transaction gives
pointDefinitionIdThe id of the point definition this transaction gives points of
createdAtThe date and time when the transaction was created
validFromThe date and time the transaction is valid from.
pointDefinitionReferenceThe reference of the point definition this transaction gives points of
referenceIdUnique reference for this transaction. Populated from the event that created the transaction, based on the effect configuration.
updatedAtThe date and time when the transaction was last updated
expireAtThe date and time when the transaction expires. If null, the transaction never expires.
cancelledAtThe date and time when the transaction was cancelled. If not null, the transaction is valid until this time.
Metadata for the transaction
TransactionByOrder
idGenerated identifier
programIdThe id of the program this transaction belongs to
memberIdThe ID of the member in the program this transaction belongs to
amountThe number of points of the definition this transaction gives
pointDefinitionIdThe id of the point definition this transaction gives points of
createdAtThe date and time when the transaction was created
validFromThe date and time the transaction is valid from.
pointDefinitionReferenceThe reference of the point definition this transaction gives points of
pointPeriodIdThe id of the point period this transaction belongs to, if applicable
updatedAtThe date and time when the transaction was last updated
expireAtThe date and time when the transaction expires. If null, the transaction never expires.
cancelledAtThe date and time when the transaction was cancelled. If not null, the transaction is valid until this time.
Metadata for the transaction