The Affimation Affiliate Marketing API documentation provides details of two primary endpoints: the Search Endpoint for broad Amazon product searches, and the Items Endpoint for retrieving specific Amazon product details using ASINs.
The documentation covers essential aspects such as authentication, request parameters, response formats, and error handling, enabling users to effectively integrate into their applications.
The Search API endpoint is used to search for products on Amazon and generate affiliate links using your own tracking id.
The base URL for all API requests is:
https://api.affimation.com
POST /searchReturns a list of all products matching the input criteria (like keywords, artists etc)
Content-Type (mandatory): application/jsonx-api-key (mandatory): API license keyaccess_key (mandatory): The access key from your Amazon Product Affiliate API pagesecret_key (mandatory): The secret key from your Amazon Product Affiliate API pagepartner_tag (mandatory): The tracking id / store id you want to use in the affiliate links.Following are optional parameters to send in the payload. For more details of each parameter, please take a look here
- Keywords
- SearchIndex - (Default 'All')
- ItemCount - (Default 10)
- Resources - (Default ["Images.Primary.Large", "ItemInfo.Title", "Offers.Listings.Price"])
- Actor
- Artist
- Author
- Availability
- Brand
- BrowseNodeId
- Condition - (Default 'Any')
- CurrencyOfPreference
- DeliveryFlags
- ItemPage
- LanguagesOfPreference
- MaxPrice
- MinPrice
- Merchant
- MinReviewsRating
- MinSavingPercent
- OfferCount
- Properties
- SortBy - (Default 'Relevance')
- Title