Deals Provider API

Method
Description

POST

Create Deals

https://api.stb.gov.sg/content-management/deals/v2

Allow the creation of a Deal listing. To create successfully, the following input parameters are mandatory: name, category, classification, type, tags, body, poiuuid, promotionStartDate, promotionEndDate, validStartDate, validEndDate and termsConditions.

PUT

Suspend Deals

https://api.stb.gov.sg/content-management/deals/v2/suspend/{deal_uuid}

Allow the suspension of an existing Deal listing through the use of a unique identifier. The acronym for the unique identifier is uuid. This uuid is created when you submit a content. If you have not documented the uuid, you can fetch it by using Search Deals By Keyword or UUIDs API.

PUT

Update Deals

https://api.stb.gov.sg/content-management/deals/v2/{deal_uuid}

Allow an existing Deal listing to be localised by adding the content in other languages, through the use of a unique identifier. The acronym for the unique identifier is uuid. This uuid is created when you submit a content. If you have not documented the uuid, you can fetch it by using Search Deals By Keyword or UUIDs API.

Deals User API

Method
Description

GET

Get Deal Types

https://api.stb.gov.sg/content/deals/v2/types

Retrieve a list of deal types available, for example buy 1 get 1 free, discount and bundle.

GET

Search Deals By Keyword or UUIDs

https://api.stb.gov.sg/content/deals/v2/search

Perform a search on all Deals using keyword or uuids as searchType parameter. For search by keyword, the keyword will match with names, descriptions and tags, returning you the most relevant Deals.

GET

Search Deals By POI

https://api.stb.gov.sg/content/deals/v2/{poi_category}/{poi_uuid}

Retrieve the full list of deals associated with a Place of Interest (POI) by providing the POI’s unique identifier. The acronym for the unique identifier is uuid. The uuid is generated while creating new POI using APIs from content provider API, such as Create Accommodation and Create Attractions. You can retrieve uuids from Search Multiple Dataset By Keyword API.