What is Cuelinks?
Cuelinks is India's largest affiliate marketing platform. LootBazaar is built on top of Cuelinks as its affiliate network layer โ Cuelinks handles the relationship with stores like Amazon, Flipkart, and Myntra, and LootBazaar serves as the publisher interface.
The Link Conversion API
LootBazaar calls the Cuelinks API endpoint: GET https://www.cuelinks.com/api/v2/links?url={productUrl}&subid={publisherUUID} with a Bearer token in the header.
Cuelinks returns a tracking URL that encodes both the store destination and the publisher's identity. When a user follows this URL, clicks a buy button, and completes a purchase, the sale is automatically attributed to the publisher.
Fallback Tracking System
If the Cuelinks API is unavailable, LootBazaar generates a fallback deep link: https://linksredirect.com/?pub_id=206482&source=linkkit&url={encodedUrl}&subid={publisherUUID}. This ensures publisher tracking is never lost even during API downtime.
The Postback System
When a purchase is completed, Cuelinks notifies LootBazaar by sending a POST request to: /api/postback/cuelinks. This is called a "postback" or "server-to-server callback".
The postback contains: a secret token for authentication, the transaction_id, the publisher's sub_id (UUID), the sale amount, the commission earned, and the current status.
Security & Validation
- ๐ Secret token validation on every postback
- โ UUID format check โ test/preview postbacks with fake sub_ids are acknowledged but not recorded
- ๐ค Publisher profile check โ suspended accounts receive no commission
- ๐ Every postback (success or failure) is logged in the postback_logs table for auditing
See Your Commission Rates
Check the exact Cuelinks payout rates for every supported store.
View Rates โ