Coupon Data JSON Structure
6 min
wildfire coupon data json feed available coupon data is located at the wildfire coupon json feed \<font color="#a855f7">`https //www wildlink me/data/application id/coupon/version` \</font> \<font color="#e9d5ff">\</font> expected fields id and merchant id id is the unique identifier for the coupon or promotion, and the merchant id is the associated merchant reference for the coupon/promo description contains details about the offer or promotion in some cases, the coupon code may also appear in this field some merchants do not provide structured or consistent descriptions, especially for coupon based offers for wildfire built products wildfire handles this on behalf of our partners for partner built products partners may need to normalize or clean up descriptions before displaying them in the ui code when provided, this field contains the coupon code entered at checkout to apply the discount note this field may sometimes be blank or show null for wildfire built products wildfire handles this on behalf of our partners for partner built products use the table below to determine how to interpret offer data scenario code field description field action required code only in description blank or null contains code extract code from description code in both fields contains code contains code use code field (preferred source) no code provided blank or null no code listed no code required; discount applies automatically (e g free shiping or sitewide sale) countries list of country codes where the merchant indicates the coupon can be used may include "international" may be null if not specified important notes the wildfire coupon feed is not filtered by country the json feed does not include a direct coupon to country relationship for wildfire built products wildfire manages country filtering for partner built products partners must control which coupons are displayed by count languages while network merchants sets the applicable countries for offer codes, they can still pass coupons available for that country in different languages for partner built products, partners must manage the display of applicable language i e a network merchant can pass us coupons & promos, but that does not mean eligible coupons are exclusively in english the eligible us coupons can be in french or spanish, etc exclusions some merchants explicitly list restrictions or exclusions (e g , brands, categories, regions) more commonly, eligibility details are included within the description field start date / end date defines when the coupon is valid may include future start dates (“coming soon” promotions) may include expired promotions some merchants use very long end dates (e g , year 3000) to indicate no expiration for wildfire built products wildfire manages validity filtering for partner built products partners must display only currently valid coupon feed regeneration cadence wildfire regenerates coupon data approximately every 6 hours plan caching and refresh logic accordingly to ensure accurate and timely offers json structure example below is an example of the json structure { "id" 4772901, "description" "simplycodes website exclusive 15% off discount for all products, which already began and will be permanent ", "code" "simplycodes15", "merchantid" 98124, "countries" null, "exclusions" "do not bid our brand keywords for ppc", "startdate" "2023 09 05t00 00 00z", "enddate" "2050 12 31t00 00 00z", "disabled" false }, { "id" 4772896, "description" "bestrealdoll influencer promotion 12% off for all products, which already began and will be permanent ", "code" "alec", "merchantid" 98124, "countries" null, "exclusions" "do not bid our brand keywords for ppc", "startdate" "2023 03 30t00 00 00z", "enddate" "2050 12 31t00 00 00z", "disabled" false }, { "id" 4772893, "description" "bestrealdoll influencer promotion 10% off for all products, which already began and will be permanent ", "code" "lara", "merchantid" 98124, "countries" null, "exclusions" "do not bid our brand keywords for ppc", "startdate" "2023 03 28t00 00 00z", "enddate" "2050 12 31t00 00 00z", "disabled" false }, { "id" 4772890, "description" "theporndata website exclusive 15% off discount ", "code" "tpd15", "merchantid" 98124, "countries" null, "exclusions" "do not bid our brand keywords for ppc", "startdate" "2023 09 05t00 00 00z", "enddate" "2050 12 31t00 00 00z", "disabled" false }, { "id" 4772889, "description" "kotag discount website exclusive 15% off discount for all products, which already began and will be permanent ", "code" "kbrdx1", "merchantid" 98124, "countries" null, "exclusions" "do not bid our brand keywords for ppc", "startdate" "2024 04 12t00 00 00z", "enddate" "2050 12 31t00 00 00z", "disabled" false }, code section the codes section for each merchant domain contains an array of coupon objects each coupon object consists of id a unique identifier for the coupon code the actual coupon code note this json structure is adaptable and can be extended to accommodate additional merchant domains as needed it is essential to keep this json file updated with the latest coupon codes and target selectors to ensure proper functionality across various merchant websites summary wildfire's coupon data feed is raw data and may contain expected anomalies this raw data provides all wildfire partners with the maximum number of savings opportunities to present to their users for wildfire built products, these nuances are handled on behalf of our partners for partner built products, partners must manage the following extract specific coupon code patterns from descriptions refine dates shown to users; specifically for the no expiration date codes and promos handling countries; specifically, the translation of eligible coupons from non official languages to the official language, if desired