updateDeal

put

updateDeal

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 searchDealsByKeyword API.

Resource URL

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

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 updated.

deal_uuid UUID of the existing Deal. Validation: valid deal uuid true

Request Attributes

Parameter Name Type Max Length Description Example

Response Error Details

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

Resource Summary

Security Content Type Category

application/json

Deals Provider API

Working...