Versions Compared

Key

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

...

New Fields

Deals

Input Parameters

networkid replaces network, moving from an string to an IDIf you are using the network parameter, you will not want to use the networkid. The Networks are now done by ID instead of name. You can get the ID for the network through the Networks API call.

Output Parameters

New Field Name

Description

coupon_code_on_page

Automated FMTC has found the coupon code on the deal’s landing page.

code_verified_at

...

The date that the code was verified by FMTC.

cascading_full_url

This will direct to the same location as the FMTC URL. The difference is that this URL is not shortened.

link_verified_at

meta

Merchants

Input Parameters

Output Parameters

premium

The date that the link was verified by FMTC.

meta

The information about the current endpoint call.

Categories

Input Parameters

slug

Output Parameters

parameter has been introduced to return only the corresponding categories instead of all the categories.

Types

Input Parameters

slug

...

String

...

parameter has been introduced to return only the corresponding deal types instead of all the categories.

Output Parameters

id

Logos

Input Parameters

Output Parameters

Networks

Input Parameters

networkid

Output Parameters

id

Changes

Input Parameters

Output Parameters

has been added for each Deal Type. You can use these as references in other API calls so you do not need to rely on the name.

Networks

Input Parameters

networkidhas been added for each network. You can use these as references in other API calls so you do not need the rely on the name.

Output Parameters

id for the network to be used across other FMTC API calls.

...

Pagination

Offset pagination is a method used in software development to manage and navigate through large datasets efficiently. It works by dividing the data into discrete chunks or 'pages', which can be loaded separately. This technique allows users to view a subset of results at a time, reducing the load on the database and improving response times. The process involves two key parameters: 'page_size' which specifies the number of records to return in a single page, and 'page' which indicates the starting point from which to return records. By adjusting these parameters, users can navigate through data in a controlled and scalable manner.page_size is a new field

Code Block
"links": {
    "first": URL + "&page=1",
    "last": URL + "&page=16",
    "prev": null,
    "next": URL + "&page=2"
    },
    "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 16,
    "path": "http://s3.fmtc.co/api/v3/deals",
    "per_page": 100,
    "to": 100,
    "total": 1518
    },

...