Basic Usage
This guide covers the most common SDK operations for Shop API integration.Initialization
Shops
List Partner Shops
Get Single Shop
Loyalty Cards
List Cards
Get Card Details
Points & Transactions
Create Transaction (Award Points)
Get Points Balance
Transaction History
Offers
List Available Offers
Get Featured Offers
Claim Offer
Coupons
List Customer Coupons
Redeem Coupon
Error Handling
The SDK uses custom error types for better error handling:Points Calculator
The SDK includes utility functions for points calculations:TypeScript Support
The SDK is written in TypeScript and includes full type definitions:Debug Mode
Enable debug mode to see detailed request/response logs:Next Steps
QR Login
Implement QR code authentication
QR Card Scan
POS customer identification