createDeal

post

createDeal

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.

Resource URL

https://api.stb.gov.sg/content /v1/admin/deals

Header Parameters

Name Values Description
Content-Language

Content language [en | zh-cn | zh-tw | ja | ko]
Validation: acceptable language code

Body Parameters

Name Values Description
Deal
(required)

Example

JSON which holds all the properties of the Deal to be created.

Request Attributes

Parameter Name Type Max Length Description Example

Response Error Details

HTTP Code Error Code Description
400 400 Bad Request
401 401 Unauthorized
500 500 Internal server error

Resource Summary

Security Content Type Category

application/json

Deals Provider API

Working...