banners
Update an existing banner
Update an existing banner with optional new image. Any authenticated user can update, but changes may require admin approval.
put/banner/{id}
Request
- Base URLhttps://api.tonewow.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.tonewow.com/banner/{id}
- AuthHTTP bearer
Path parameters
idstring required
Example:1
Banner ID
Request body multipart/form-data
Example request
{
"bannerUrl": "https://example.com/new-landing",
"startDate": "2024-01-01T00:00:00.000Z",
"endDate": "2024-12-31T23:59:59.000Z",
"status": "ACTIVE",
"languageType": "EN"
}Response
Banner updated successfully
Example response
{
"id": 1,
"bannerImageUrl": "https://example.com/banner.jpg",
"bannerUrl": "https://example.com/landing",
"status": "ACTIVE",
"order_id": "1",
"start_date": "2024-01-01T00:00:00.000Z",
"end_date": "2024-12-31T23:59:59.000Z",
"languageType": "EN"
}Changes
No recorded changes to this operation across all 6 revisions of this API.