Loyalty API
TypeCustomerSubscriptionStatus3
Describes how long the customer been subscribed, and which milestone benefits they are receiving.
| Kind | Type |
|---|---|
| Used in | CustomerBalance3, LoggedOutBalance1 |
Properties
-
activeboolean requiredWhether the customer has at least one active subscription.
The specific definition of active varies depending on the shop's configuration and the configuration of the subscription integration.
-
cycleinteger requiredThe number of cycles the customer has been subscribed for, as used by Bubblehouse to determine a milestone.
The specific way multiple subscriptions are combined to produce a cycle count varies depending on the shop's configuration. Often, this is the length of the longest-running subscription.
-
Describes the milestone corresponding to the current number of cycles. Null if no milestone is defined for the current cycle.
-
Describes the next milestone that can be reached after the current subscription cycles. Null if there are no further milestones to reach.