curl -X DELETE \
'https://api.appcharge.com/components/v1/offer-design/daily-bonus-design' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'x-publisher-token: <x-publisher-token>'
{
"id": "68cbf09967ba5ab776c2745e",
"offerUiType": "PopUp",
"offerUiSubType": "DailyBonus",
"name": "Daily Bonus Design",
"externalId": "daily-bonus-design",
"backgroundImageUrl": "https://media.appcharge.com/media/65cb7861ec8924a6b69a0f59/background.png",
"title": {
"text": "Your daily bonus!",
"fontColor": "#FFFFFF",
"fontSize": 20,
"fontWeight": "normal"
}
}
Delete Daily Bonus Design
Deletes a daily bonus design.
Note: You can’t delete an offer design while it’s in use by an offer.
curl -X DELETE \
'https://api.appcharge.com/components/v1/offer-design/daily-bonus-design' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'x-publisher-token: <x-publisher-token>'
{
"id": "68cbf09967ba5ab776c2745e",
"offerUiType": "PopUp",
"offerUiSubType": "DailyBonus",
"name": "Daily Bonus Design",
"externalId": "daily-bonus-design",
"backgroundImageUrl": "https://media.appcharge.com/media/65cb7861ec8924a6b69a0f59/background.png",
"title": {
"text": "Your daily bonus!",
"fontColor": "#FFFFFF",
"fontSize": 20,
"fontWeight": "normal"
}
}
curl -X DELETE \
'https://api.appcharge.com/components/v1/offer-design/daily-bonus-design' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'x-publisher-token: <x-publisher-token>'
{
"id": "68cbf09967ba5ab776c2745e",
"offerUiType": "PopUp",
"offerUiSubType": "DailyBonus",
"name": "Daily Bonus Design",
"externalId": "daily-bonus-design",
"backgroundImageUrl": "https://media.appcharge.com/media/65cb7861ec8924a6b69a0f59/background.png",
"title": {
"text": "Your daily bonus!",
"fontColor": "#FFFFFF",
"fontSize": 20,
"fontWeight": "normal"
}
}
Headers
Publisher token, as displayed in the Publisher Dashboard.
Path Parameters
Design ID that you defined.
Response
Daily bonus design deleted successfully.
Design ID.
"68cbf09967ba5ab776c2745e"
Type of offer design.
PopUp "PopUp"
Offer design name.
"Daily Bonus Design Updated"
Design ID that you defined.
"daily-bonus-design"
Background image URL. For uploaded files, this is the Appcharge-hosted CDN URL. For external image URLs, this is the original image URL served from the provided URL.
"https://media.appcharge.com/media/65cb7861ec8924a6b69a0f59/background-v2.png"
Show child attributes
Show child attributes
Original background image URL when the design uses an external image URL. This URL is used as provided to serve the image.
"https://cdn.example.com/assets/background.png"
Popup design subtype.
DailyBonus "DailyBonus"
Was this page helpful?
