Your cart is currently empty!
If you are creating a affiliate website using WordPress or core PHP here is something for you. We have created and tested flipkart affiliate API which fetch products.
Steps to Create PHP Get Product Code
- You need Fk-Affiliate-Id and Fk-Affiliate-Token to proceed from Flipkart Website
- Check your API status here

PHP code here
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://affiliate-api.flipkart.net/affiliate/1.0/search.json?query=sony+mobiles&resultCount=5",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"Fk-Affiliate-Id: sa******",
"Fk-Affiliate-Token: d********************8"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
As you can see I have passed two search queries in code “Sony mobile” and Result “5” you can customize it as well.
Comments
-
Grabber Pro
Original price was: $59.$39Current price is: $39. -
Custom WooCommerce Checkbox Ultimate
Original price was: $39.$19Current price is: $19. -
Android App for Your Website
Original price was: $49.$35Current price is: $35. -
Abnomize Pro
Original price was: $30.$24Current price is: $24. -
Medical Portfolio Pro
Original price was: $31.$24Current price is: $24.
Latest Posts
- How to Create a PHP Remote File Downloader with Live Progress Bar

- How to Connect AWS CloudFront URL with a Cloudflare Subdomain

- Android Developer Interview Questions Categorized by Topic

- When Data Must be Sanitized, Escaped, and Validated in WordPress

- Alternative to WordPress for High Traffic News Websites: Node.js & Other Scalable Solutions







Leave a Reply