Skip to main content
PUT

Headers

x-publisher-token
string
required

Publisher token, as displayed in the Publisher Dashboard.

Path Parameters

externalId
string
required

Offer Design ID that you defined.

Body

application/json

Updates a progress bar design.

progressBar
object
required

Progress bar configuration for update requests.

offerUiType
enum<string>

Offer design type.

Available options:
ProgressBar
Example:

"ProgressBar"

name
string

Offer design name.

Example:

"Classic Progress Bar Design"

externalId
string

External identifier for the offer design.

Example:

"progress-bar-design-classic"

backgroundImageUrl
string<url>

Background image URL of the progress bar frame. Required if backgroundColor isn't provided.

Example:

"https://media.appcharge.com/defaults/background.png"

backgroundColor
object

Background color of the progress bar frame. Required if backgroundImageUrl isn't provided.

To use a solid color, pass the same value for colorOne and colorTwo.

backgroundOpacity
number

Opacity of the progress bar frame's backgroundColor (0 to 100). If you use backgroundImageUrl for the frame background, this value has no effect but must still be passed.

Example:

100

frameRadius
number

Radius of the progress bar frame.

Example:

8

headerImageUrl
string<url>

Header image URL.

Example:

"https://cdn.example.com/header.png"

title
object

Progress bar title.

subtitle
object

Progress bar subtitle.

Response

Offer design updated successfully.

id
string

Offer Design ID.

Example:

"6909e7684f11e8957afd5d53"

offerUiType
enum<string>

Offer design type.

Available options:
ProgressBar
Example:

"ProgressBar"

name
string

Offer design name.

Example:

"Classic Progress Bar Design"

externalId
string

External identifier for the offer design.

Example:

"progress-bar-design-classic"

backgroundImageUrl
string<url>

Background image URL of the progress bar frame.

Example:

"https://media.appcharge.com/defaults/background.png"

backgroundColor
object

Background color of the progress bar frame. Required if backgroundImageUrl isn't provided.

To use a solid color, pass the same value for colorOne and colorTwo.

backgroundOpacity
number

Opacity of the progress bar frame's backgroundColor (0 to 100).

Example:

100

frameRadius
number

Radius of the progress bar frame.

Example:

8

headerImageUrl
string<url>

Header image URL.

Example:

"https://cdn.example.com/header.png"

title
object

Progress bar title.

subtitle
object

Progress bar subtitle.

progressBar
object

Progress bar configuration.