Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
minLevel1
maxLevel6
outlinefalse
styledefault
typelist
printablefalse

...

Deal Count Differences

In the upgraded API system for the deals endpoint, you may notice differences in the total deal counts compared to the previous system. These variations are due to a combination of fixes addressing earlier system errors and the introduction of new validation rules that ensure all deals are properly verified before being returned. Additionally, we've changed how deleted deals are handled; they are no longer returned by default and will only be included if the incremental or sincedate parameters are used in the API call. This means that the deal counts in the new system are more accurate and reliable than those from the legacy system, providing a clearer and more up-to-date view of available deals.

...

URL Structure

FMTC offers access to seven Deal API Endpoints. The URL structure and access methods for each endpoint are detailed below, along with their alignment. Two distinct URLs are utilized; the services.fmtc.co endpoint encompasses Versions 1 and 2, whereas the s3.fmtc.co endpoint contains the latest Version 3 endpoints."

...

Deals - v2 (Legacy)

Deals - v3 (Beta)3.0.0

Deals

Input Parameters

Name

Description

Version 1 Field

Version 2 Field

Version 3 Field

** The field has the same name, but is handled differently. See the New Fields section.

API Key

API key for authentication.

key

key

api_token

Incremental

Will download only deals added, modified, or deleted since your last download/call.

Not Available

incremental

**incremental

Feed Format

Choose the feed format you would like returned.

Not Available

format

format

Incremental Testing Parameter

Testing Parameter for incremental.

Not Available

nosave

Deprecated

Local Only Deals

Return only local deals from your selected merchants

local

local

local

Deals Since the Provided Date

The date from which data will be retrieved. The data returned will include all new data, modified data, deleted data, and expired data since the provided date.

sincedate

sincedate

sincedate

Deals Active Start Date

Display deals after this start after this date

activedatestart

activedatestart

activedatestart

Deals Active End Date

Display deals that start before this date

activedateend

activedateend

activedateend

Deals Expire Start Date

Display deals that end after this date

expiredatestart

expiredatestart

expiredatestart

Deals Expire End Date

Display deals that end before this date

expiredateend

expiredateend

expiredateend

Local Deals Zip Code

Display only local deals in this zip code.

zipcode

zipcode

zipcode

Merchant Deals

Return only deals from a particular merchant.

merchantids

merchantids

merchantids

Category Deals

Return only deals from a particular category or categories.

categoryids

categoryids

categoryids

Field Sorting

Field to order the results by.

sortorder

sortby

sortby

Deal Types

Return only deals from of a particular type.

dealtype

dealtype

**dealtypeid

Deal Countries

Return only deals from merchants with a particular Primary Country.

country

country

country

Network Deals

Return only deals from a particular network.

network

network

**networkid

Deleted Deals

Include deleted deals

deleted

deleted

Deprecated

Historical Deals

This option will return expired coupons and deals since your subscription began or up to two years worth of data.

Not Available

historical

historical

Single Deal

Return only a single couponID.

couponid

couponid

couponid

Active Deals for Today

Retrieve deals that are active today (AKA they expire after today and begin before today)

activetoday

activetoday

activetoday

Active Deals

Display only active deals.

active

active

active

Deal Limit

Limit the number of deals returned.

count

count

Deprecated

Print

Print results to the screen rather than forcing a download

view

view

Deprecated

Coupon Code Deals

Limit to only deals with coupon codes

codes

codes

codesonly

Apply Different Affiliate ID

Provide a placeholder value to replace with your affiliate ID

idplaceholder

idplaceholder

Deprecated

Deal Pods

ID of the Pod.

Not Available

pod

Deprecated

Enable New Categories

This option is used to enable v2 categories on a per call basis.

Not Available

v2categories

Deprecated

...

Merchants - v2 (Legacy)

Merchants - v3 (Beta)3.0.0

Input Parameters

Name

Description

Version 1 Field

Version 2 Field

Version 3 Field

** The field has the same name, but is handled differently. See the New Fields section.

API Key

API key for authentication.

key

key

api_token

Incremental

Will download only deals added, modified, or deleted since your last download/call.

incremental

incremental

incremental

Feed Format

Choose the feed format you would like returned.

format

format

format

Merchant Deals

Return only specific merchants .

merchantids

merchantids

merchantids

Merchant Countries

Return only merchants with a particular Primary Country.

Not Available

country

country

Premium Merchants

Return selected premium merchants.

Not Available

preferred

premium

All Merchants

Return all merchants

all

all

Deprecated

Print

Print results to the screen rather than forcing a download

view

view

Deprecated

Deactivated Merchants

Include deactivated merchants

Not Available

deactivated

Deprecated

Apply Different Affiliate ID

Provide a placeholder value to replace with your affiliate ID

idplaceholder

idplaceholder

Deprecated

Print Format

Same as view, except for JSON and CSV

Not Available

plain-text

Deprecated

Incremental Testing Parameter

Testing Parameter for incremental.

nosave

nosave

Deprecated

Network Merchants

Return only deals from a particular network.

network

network

**networkid

Merchant Network ID

Return only merchants from a particular network.

Not Available

programid

programid

Deals Since the Provided Date

The date from which data will be retrieved. The data returned will include all new data, modified data, deleted data, and expired data since the provided date.

Not Available

sincedate

sincedate

Deleted Merchants

Include deleted merchants

Not Available

deleted

Deprecated

Version 2 Categories

This option is used to enable v2 categories on a per call basis.

Not Available

v2categories

Deprecated

...

Categories - v2 (Legacy)

Categories - v3 (Beta)3.0.0

Input Parameters

Name

Description

Version 1 Field

Version 2 Field

Version 3 Field

API Key

API key for authentication.

key

key

api_token

Feed Format

Choose the feed format you would like returned.

format

format

format

New Categories

Whether to return the v1 Categories or v2.

Not Available

v2

Deprecated

Print

Print results to the screen rather than forcing a download

Not Available

view

Deprecated

...

Types - v2 (Legacy)

Types - v3 (Beta)3.0.0

Input Parameters

Name

Description

Version 1 Field

Version 2 Field

Version 3 Field

API Key

API key for authentication.

key

key

api_token

Feed Format

Choose the feed format you would like returned.

format

format

format

New Deal Types

Whether to return the v1 Deal Types or v2.

Not Avialable

v2

Deprecated

...

Network - v2 (Legacy)

Networks - v3 (Beta)3.0.0

Input Parameters

Name

Description

Version 1 Field

Version 2 Field

Version 3 Field

API Key

API key for authentication.

key

key

api_token

Incremental

Will download only deals added, modified, or deleted since your last download/call.

incremental

incremental

Deprecated

Feed Format

Choose the feed format you would like returned.

format

format

format

...