/** * Provides metadata when the event `type` is `ACCUMULATE_POINTS`. */ export interface LoyaltyEventAccumulatePoints { /** The ID of the [loyalty program](entity:LoyaltyProgram). */ loyaltyProgramId?: string; /** The number of points accumulated by the event. */ points?: number | null; /** * The ID of the [order](entity:Order) for which the buyer accumulated the points. * This field is returned only if the Orders API is used to process orders. */ orderId?: string | null; }