Update a Landing page
HTTP method
End Point
POST
/campaign/lpages/{CampaignID}/{LandingPageId}

Request Fields

Field
Type
Description
Nullable
title
string
Title of landing page
Yes
preview_url
string
Preview url to be displayed
Yes
url
string
Landing page redirect URL
Yes

Example Request

1
curl -X POST \
2
http://api.trackier.com/campaign/lpages/{CampaignID}/{LandingPageId} \
3
-H 'Content-Type: application/json' \
4
-H 'Postman-Token: 016750c4-c098-440b-88c9-167cdad22b63' \
5
-H 'X-Api-Key: {API-KEY}' \
6
-H 'cache-control: no-cache' \
7
-d '{
8
"title": "Test URL",
9
"preview_url": "http://www.fac.com",
10
"url": "http://www.fac.com"
11
}'Response body
Copied!
1
{
2
"success": true,
3
"message": "Landing page updated Successfully",
4
"data": {
5
"landing_pages": [
6
{
7
"_id": "5b7e9972b6920d55f25a6ec7",
8
"modified": null,
9
"int_id": 2,
10
"title": "Testing 2",
11
"preview_url": "http://www.fakingnews.com/vids/sweet-life-atta-boys-ac-repair-s01e01-27217",
12
"url": "http://www.fakingnews.com/vids/sweet-life-atta-boys-ac-repair-s01e01-27217"
13
},
14
{
15
"_id": "5c18ca3f89d446551f622074",
16
"modified": {
17
"date": "2018-12-18 10:26:51.860000",
18
"timezone_type": 1,
19
"timezone": "+00:00"
20
},
21
"int_id": 5,
22
"title": "Test URL",
23
"preview_url": "http://www.fac.com",
24
"url": "http://www.fac.com"
25
}
26
]
27
}
28
}
Copied!
Last modified 1yr ago