1.0.6 • Published 10 months ago

glowloyalty v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

glowloyalty

  • module get reward points information, customer's point history from glowloyalty linked to shopify.

How to use?

import module in typescript

import GlowLoyalty from 'glowloyalty'

let glow = new GlowLoyalty({
    apiKey: 'xx',
    apiSecret: 'xx'
})

// get list member point
let memberPoints = await glow.member.getList();
let memberPoint = await glow.member.find({ member_id });
let memberPointHistory = await glow.point.getHistory({ member_id });
let listRewards = await glow.reward.getList();
let reward = await glow.reward.find({ reward_id });
let discounts = await glow.discount.getList();
let discount = await glow.discount.find({ code });
1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago