Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1.35 KB

LoyaltiesMembersBalanceUpdateResponseBody.md

File metadata and controls

46 lines (26 loc) · 1.35 KB

LoyaltiesMembersBalanceUpdateResponseBody

Response schema for POST v1/loyalties/members/{memberId}/balance and for POST v1/loyalties/{campaignId}/members/{memberId}/balance.

Properties

Name Type Description
points Integer The incremental points removed or added to the current balance on the loyalty card.
total Integer The total of points accrued over the lifetime of the loyalty card.
balance Integer The balance after adding/removing points.
type TypeEnum The type of voucher being modified.
_object ObjectEnum The type of the object represented by JSON. Default is balance.
relatedObject LoyaltiesMembersBalanceUpdateResponseBodyRelatedObject
operationType OperationTypeEnum The type of operation being performed.

Enum: TypeEnum

Name Value
LOYALTY_CARD "loyalty_card"
GIFT_VOUCHER "gift_voucher"

Enum: ObjectEnum

Name Value
BALANCE "balance"

Enum: OperationTypeEnum

Name Value
MANUAL "MANUAL"
AUTOMATIC "AUTOMATIC"