Update Advertisement
Production
https://api.salla.dev/admin/v2
Production
https://api.salla.dev/admin/v2
PUT
https://api.salla.dev/admin/v2
Advertisements
Last modified:2025-04-16 10:24:08
advertisement_id
as a path parameter.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.salla.dev/admin/v2/advertisements/' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "Adv Title",
"description": "Adv Description",
"type": {
"name": "product",
"id": 1261174103,
"link": null
},
"expire_date": "2022-12-31",
"pages": [
"all"
]
}'
Response Response Example
200 - Example
{
"status": 200,
"success": true,
"data": {
"id": 1549230938,
"title": "Adv Title",
"description": "Adv Description",
"type": {
"id": 1261174103,
"name": "product",
"link": "https://linkforproduct"
},
"style": {
"icon": "sicon-bell",
"font_color": "#ffffff",
"background_color": "#9d8383"
},
"expire_date": {
"date": "2022-12-12 00:00:00.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
},
"pages": [
"all"
]
}
}
Request
Path Params
advertisements_id
string
required
Body Params application/json
Responses
Modified at 2025-04-16 10:24:08