Loyalty API

Type

CustomerSubscriptionStatus3

Describes how long the customer been subscribed, and which milestone benefits they are receiving.

Kind Type
Used in CustomerBalance3, LoggedOutBalance1

Properties

  • active boolean required

    Whether 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.

  • cycle integer required

    The 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.

  • cur_milestone MilestoneStatus3 required but can be null

    Describes the milestone corresponding to the current number of cycles. Null if no milestone is defined for the current cycle.

  • next_milestone MilestoneStatus3 required but can be null

    Describes the next milestone that can be reached after the current subscription cycles. Null if there are no further milestones to reach.

Previous
CustomerRollingPointExpiration3