Snapdeal affiliate api in C#,Asp.net - CsharpMagic.com

Snapdeal affiliate api in C#,Asp.net

As we know that snapdel is India’s largest online shopping portal. snapdeal also providing nowadays Affiliate API for its affiliate and affiliate marketer online. Here in this article, I am going to show you “How to Integrate snapdeal affiliate API in C#,Asp.net” or even snapdeal affiliate API in ASP.NET MVC.

SEMrush

Useful Links

  1. Flipkart Affiliate API Integration in ASP.NET

Infomation provided by Snapdeal for Snapdeal affiliate apisnapdeal affiiate Revoew @smartonpay.com

Format for XML results
curl -H “Snapdeal-Affiliate-Id:<your affiliate ID>” -H “Snapdeal-Token-Id:<your affiliate Token>” “<URL for the chosen category>” -H “Accept:application/xml”
Example: For affiliate ID ‘aaaaa’ and affiliate token ‘bbbbb’, a sample request may look like this:
curl -H “Snapdeal-Affiliate-Id:aaaaa” -H “Snapdeal-Token-Id:bbbbb” “affiliate-feeds.snapdeal.com/feed/api/category/v1:586:1461823?expiresAt=1441751400001&signature=cvtwgjgrrbozmumlaalg” -H “Accept:application/xml”
OR

Format for JSON results

curl -H “Snapdeal-Affiliate-Id:<your affiliate ID>” -H “Snapdeal-Token-Id:<your affiliate Token>” “<URL for the chosen category>” -H “Accept:application/json”

Example: For affiliate ID ‘aaaaa’ and affiliate token ‘bbbbb’, a sample request may look like this:
curl -H “Snapdeal-Affiliate-Id:aaaaa” -H “Snapdeal-Token-Id:bbbbb” “affiliate-feeds.snapdeal.com/feed/api/category/v1:586:1461823?expiresAt=1441751400001&signature=cvtwgjgrrbozmumlaalg” -H “Accept:application/json”

So friends, now question arise how we can utilize this information and get prodcut details and info for product gathering.

How To:  

How to get affiliate id : To get affiliate id need to register with the snapdeal affiliate link.

https://affiliate.snapdeal.com

Once you will get affiliate ID need to generate Snapdeal-Affiliate-Id from Affiliate Dashboard.

-H : In above detail, you will see -H this means this section will be in Header of your API request

for Live Demo

if facing any issues in Snapdeal affiliate API you can drop the message in a comment box.

Anand Kumar
@anandkumarv

Anand Kumar

Sr.Tech Lead at CsharpMagic
I am founder of csharpmagic.com and by profession Sr.Tech Lead. I like to explore New Technologies, New Business idea and many more
Anand Kumar
@anandkumarv

Anand Kumar

I am founder of csharpmagic.com and by profession Sr.Tech Lead. I like to explore New Technologies, New Business idea and many more

2 thoughts on “Snapdeal affiliate api in C#,Asp.net

  • April 22, 2017 at 9:44 pm
    Permalink

    I want to search product using keyword like laptop, mobile etc.
    Does snapdeal provide api for IT

    Reply
    • August 23, 2017 at 1:44 am
      Permalink

      Not like that, Snapdeal provide only common API of Deals not categorywise

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *