curl -X PUT \
'https://api.appcharge.com/v2/offer/progressBar-single-1' \
-H 'Content-Type: application/json' \
-H 'x-publisher-token: <x-publisher-token>' \
-d '{
"name": "My Classic Progress Bar Updated",
"type": "ProgressBar",
"active": false
}'
curl -X PUT \
'https://api.appcharge.com/v2/offer/progressBar-milestones-1' \
-H 'Content-Type: application/json' \
-H 'x-publisher-token: <x-publisher-token>' \
-d '{
"name": "My Milestone Progress Bar Updated",
"type": "ProgressBar",
"active": true,
"productsSequence": [
{
"index": 1,
"products": [
{
"publisherProductId": "coins",
"priority": "Main",
"quantity": 400
},
{
"publisherProductId": "gems",
"priority": "Sub",
"quantity": 75
}
],
"priceInUsdCents": 0,
"barSize": 15
},
{
"index": 2,
"products": [
{
"publisherProductId": "coins",
"priority": "Main",
"quantity": 600
},
{
"publisherProductId": "gems",
"priority": "Sub",
"quantity": 150
}
],
"priceInUsdCents": 0,
"barSize": 25
},
{
"index": 3,
"products": [
{
"publisherProductId": "coins",
"priority": "Main",
"quantity": 1200
},
{
"publisherProductId": "gems",
"priority": "Sub",
"quantity": 300
},
{
"publisherProductId": "energy",
"priority": "Sub",
"quantity": 150
}
],
"priceInUsdCents": 0,
"barSize": 35
}
]
}'
{
"offerId": "67890abcdef1234567890123",
"active": false,
"description": "A progress bar with sequential missions.",
"displayName": "My Classic Progress Bar",
"name": "My Classic Progress Bar Updated",
"type": "ProgressBar",
"offerUi": {
"id": "67890abcdef1234567890124",
"offerUiType": "ProgressBar",
"name": "Classic Progress Bar Design",
"description": "Progress Bar UI design template",
"backgroundImageUrl": "https://media-dev.appcharge.com/media/6555b69c02ee8eca00465694/background-image.png",
"title": {
"text": "Mission impossible!",
"fontColor": "#FFD700",
"fontSize": 10,
"fontWeight": "bold"
},
"subtitle": {
"text": "To infinity and beyond!",
"fontColor": "#FFD700",
"fontSize": 8,
"fontWeight": "normal"
},
"progressBar": {
"barFillColor": {
"colorOne": "#FFD450",
"colorTwo": "#EDB923",
"gradientDirection": "to bottom"
},
"barRadius": 12,
"accumulatedItem": {
"imageUrl": "https://media-dev.appcharge.com/media/6555b69c02ee8eca00465694/item.jpeg",
"ribbonImageUrl": "https://plus.unsplash.com/premium_photo-1681400545953-0ba00cfa7926?q=80&w=880&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
},
"backgroundOpacity": 80,
"frameRadius": 12
},
"borderColor": {
"colorOne": "#DBBD9C",
"colorTwo": "#DBBD9C",
"gradientDirection": "to right"
},
"backgroundColor": {
"colorOne": "#DABA98",
"colorTwo": "#FDFCF9",
"gradientDirection": "to right"
},
"borderWidth": 3,
"externalId": "progress-bar-design-single"
},
"productsSequence": [
{
"index": 1,
"products": [
{
"publisherProductId": "coins",
"quantity": 400,
"priority": "Main",
"quantityDisplay": "+ 400"
}
],
"priceInUsdCents": 0,
"barSize": 15,
"id": "67890abcdef1234567890126"
},
{
"index": 2,
"products": [
{
"publisherProductId": "coins",
"quantity": 600,
"priority": "Main",
"quantityDisplay": "+ 600"
}
],
"priceInUsdCents": 0,
"barSize": 25,
"id": "67890abcdef1234567890127"
}
],
"publisherId": "6555b69c02ee8eca00465694",
"publisherOfferId": "progressBar-single-1",
"schedule": {
"permanent": false,
"timeFrames": [
{
"startTime": "2025-12-01T12:05:00.000Z",
"endTime": "2025-12-22T12:10:00.000Z",
"notes": "Updated holiday promotion period.",
"id": "67890abcdef1234567890128"
}
]
},
"segments": [
"New User",
"VIP Player"
],
"createdAt": "2024-11-15T09:30:00.000Z",
"updatedAt": "2024-12-01T10:15:00.000Z"
}
{
"offerId": "67890abcdef1234567890200",
"active": true,
"description": "A progress bar with all milestones visible at once.",
"displayName": "My Milestone Progress Bar",
"name": "My Milestone Progress Bar Updated",
"type": "ProgressBar",
"offerUi": {
"id": "67890abcdef1234567890201",
"offerUiType": "ProgressBar",
"name": "Milestone Progress Bar Design",
"description": "Milestone Progress Bar UI design template",
"backgroundImageUrl": "https://media-dev.appcharge.com/media/6555b69c02ee8eca00465694/background-image.png",
"title": {
"text": "Reach Every Milestone",
"fontColor": "#FFD700",
"fontSize": 10,
"fontWeight": "bold"
},
"subtitle": {
"text": "Collect rewards along the way",
"fontColor": "#FFD700",
"fontSize": 8,
"fontWeight": "normal"
},
"progressBar": {
"barFillColor": {
"colorOne": "#FFD450",
"colorTwo": "#EDB923",
"gradientDirection": "to bottom"
},
"barRadius": 12,
"accumulatedItem": {
"imageUrl": "https://media-dev.appcharge.com/media/6555b69c02ee8eca00465694/item.jpeg",
"ribbonImageUrl": "https://plus.unsplash.com/premium_photo-1681400545953-0ba00cfa7926?q=80&w=880&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
},
"headerImageUrl": "https://plus.unsplash.com/premium_photo-1785080652560-f334e6ea704c?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
"backgroundColor": {
"colorOne": "#dde9f4",
"colorTwo": "#f66578",
"gradientDirection": "to bottom"
},
"textColor": "#FFD700",
"backgroundOpacity": 80,
"frameRadius": 12,
"type": "milestones",
"milestones": {
"milestoneCompletedIconUrl": "https://plus.unsplash.com/premium_photo-1681400545953-0ba00cfa7926?q=80&w=880&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
"tooltipBackgroundColor": "#1f9eec"
}
},
"borderColor": {
"colorOne": "#DBBD9C",
"colorTwo": "#DBBD9C",
"gradientDirection": "to right"
},
"backgroundColor": {
"colorOne": "#DABA98",
"colorTwo": "#FDFCF9",
"gradientDirection": "to right"
},
"borderWidth": 3,
"externalId": "progress-bar-design-milestones"
},
"productsSequence": [
{
"index": 1,
"products": [
{
"publisherProductId": "coins",
"quantity": 400,
"priority": "Main",
"quantityDisplay": "+ 400"
},
{
"publisherProductId": "gems",
"quantity": 75,
"priority": "Sub",
"quantityDisplay": "+ 75"
}
],
"priceInUsdCents": 0,
"barSize": 15,
"id": "67890abcdef1234567890202"
},
{
"index": 2,
"products": [
{
"publisherProductId": "coins",
"quantity": 600,
"priority": "Main",
"quantityDisplay": "+ 600"
},
{
"publisherProductId": "gems",
"quantity": 150,
"priority": "Sub",
"quantityDisplay": "+ 150"
}
],
"priceInUsdCents": 0,
"barSize": 25,
"id": "67890abcdef1234567890203"
},
{
"index": 3,
"products": [
{
"publisherProductId": "coins",
"quantity": 1200,
"priority": "Main",
"quantityDisplay": "+ 1200"
},
{
"publisherProductId": "gems",
"quantity": 300,
"priority": "Sub",
"quantityDisplay": "+ 300"
},
{
"publisherProductId": "energy",
"quantity": 150,
"priority": "Sub",
"quantityDisplay": "+ 150"
}
],
"priceInUsdCents": 0,
"barSize": 35,
"id": "67890abcdef1234567890204"
}
],
"publisherId": "6555b69c02ee8eca00465694",
"publisherOfferId": "progressBar-milestones-1",
"schedule": {
"permanent": false,
"timeFrames": [
{
"startTime": "2025-12-01T12:05:00.000Z",
"endTime": "2025-12-22T12:10:00.000Z",
"notes": "Updated holiday promotion period.",
"id": "67890abcdef1234567890205"
}
]
},
"segments": [
"New User",
"VIP Player"
],
"createdAt": "2024-11-15T09:30:00.000Z",
"updatedAt": "2024-12-01T10:15:00.000Z"
}
Update Progress Bar
Updates a Progress Bar offer.
curl -X PUT \
'https://api.appcharge.com/v2/offer/progressBar-single-1' \
-H 'Content-Type: application/json' \
-H 'x-publisher-token: <x-publisher-token>' \
-d '{
"name": "My Classic Progress Bar Updated",
"type": "ProgressBar",
"active": false
}'
curl -X PUT \
'https://api.appcharge.com/v2/offer/progressBar-milestones-1' \
-H 'Content-Type: application/json' \
-H 'x-publisher-token: <x-publisher-token>' \
-d '{
"name": "My Milestone Progress Bar Updated",
"type": "ProgressBar",
"active": true,
"productsSequence": [
{
"index": 1,
"products": [
{
"publisherProductId": "coins",
"priority": "Main",
"quantity": 400
},
{
"publisherProductId": "gems",
"priority": "Sub",
"quantity": 75
}
],
"priceInUsdCents": 0,
"barSize": 15
},
{
"index": 2,
"products": [
{
"publisherProductId": "coins",
"priority": "Main",
"quantity": 600
},
{
"publisherProductId": "gems",
"priority": "Sub",
"quantity": 150
}
],
"priceInUsdCents": 0,
"barSize": 25
},
{
"index": 3,
"products": [
{
"publisherProductId": "coins",
"priority": "Main",
"quantity": 1200
},
{
"publisherProductId": "gems",
"priority": "Sub",
"quantity": 300
},
{
"publisherProductId": "energy",
"priority": "Sub",
"quantity": 150
}
],
"priceInUsdCents": 0,
"barSize": 35
}
]
}'
{
"offerId": "67890abcdef1234567890123",
"active": false,
"description": "A progress bar with sequential missions.",
"displayName": "My Classic Progress Bar",
"name": "My Classic Progress Bar Updated",
"type": "ProgressBar",
"offerUi": {
"id": "67890abcdef1234567890124",
"offerUiType": "ProgressBar",
"name": "Classic Progress Bar Design",
"description": "Progress Bar UI design template",
"backgroundImageUrl": "https://media-dev.appcharge.com/media/6555b69c02ee8eca00465694/background-image.png",
"title": {
"text": "Mission impossible!",
"fontColor": "#FFD700",
"fontSize": 10,
"fontWeight": "bold"
},
"subtitle": {
"text": "To infinity and beyond!",
"fontColor": "#FFD700",
"fontSize": 8,
"fontWeight": "normal"
},
"progressBar": {
"barFillColor": {
"colorOne": "#FFD450",
"colorTwo": "#EDB923",
"gradientDirection": "to bottom"
},
"barRadius": 12,
"accumulatedItem": {
"imageUrl": "https://media-dev.appcharge.com/media/6555b69c02ee8eca00465694/item.jpeg",
"ribbonImageUrl": "https://plus.unsplash.com/premium_photo-1681400545953-0ba00cfa7926?q=80&w=880&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
},
"backgroundOpacity": 80,
"frameRadius": 12
},
"borderColor": {
"colorOne": "#DBBD9C",
"colorTwo": "#DBBD9C",
"gradientDirection": "to right"
},
"backgroundColor": {
"colorOne": "#DABA98",
"colorTwo": "#FDFCF9",
"gradientDirection": "to right"
},
"borderWidth": 3,
"externalId": "progress-bar-design-single"
},
"productsSequence": [
{
"index": 1,
"products": [
{
"publisherProductId": "coins",
"quantity": 400,
"priority": "Main",
"quantityDisplay": "+ 400"
}
],
"priceInUsdCents": 0,
"barSize": 15,
"id": "67890abcdef1234567890126"
},
{
"index": 2,
"products": [
{
"publisherProductId": "coins",
"quantity": 600,
"priority": "Main",
"quantityDisplay": "+ 600"
}
],
"priceInUsdCents": 0,
"barSize": 25,
"id": "67890abcdef1234567890127"
}
],
"publisherId": "6555b69c02ee8eca00465694",
"publisherOfferId": "progressBar-single-1",
"schedule": {
"permanent": false,
"timeFrames": [
{
"startTime": "2025-12-01T12:05:00.000Z",
"endTime": "2025-12-22T12:10:00.000Z",
"notes": "Updated holiday promotion period.",
"id": "67890abcdef1234567890128"
}
]
},
"segments": [
"New User",
"VIP Player"
],
"createdAt": "2024-11-15T09:30:00.000Z",
"updatedAt": "2024-12-01T10:15:00.000Z"
}
{
"offerId": "67890abcdef1234567890200",
"active": true,
"description": "A progress bar with all milestones visible at once.",
"displayName": "My Milestone Progress Bar",
"name": "My Milestone Progress Bar Updated",
"type": "ProgressBar",
"offerUi": {
"id": "67890abcdef1234567890201",
"offerUiType": "ProgressBar",
"name": "Milestone Progress Bar Design",
"description": "Milestone Progress Bar UI design template",
"backgroundImageUrl": "https://media-dev.appcharge.com/media/6555b69c02ee8eca00465694/background-image.png",
"title": {
"text": "Reach Every Milestone",
"fontColor": "#FFD700",
"fontSize": 10,
"fontWeight": "bold"
},
"subtitle": {
"text": "Collect rewards along the way",
"fontColor": "#FFD700",
"fontSize": 8,
"fontWeight": "normal"
},
"progressBar": {
"barFillColor": {
"colorOne": "#FFD450",
"colorTwo": "#EDB923",
"gradientDirection": "to bottom"
},
"barRadius": 12,
"accumulatedItem": {
"imageUrl": "https://media-dev.appcharge.com/media/6555b69c02ee8eca00465694/item.jpeg",
"ribbonImageUrl": "https://plus.unsplash.com/premium_photo-1681400545953-0ba00cfa7926?q=80&w=880&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
},
"headerImageUrl": "https://plus.unsplash.com/premium_photo-1785080652560-f334e6ea704c?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
"backgroundColor": {
"colorOne": "#dde9f4",
"colorTwo": "#f66578",
"gradientDirection": "to bottom"
},
"textColor": "#FFD700",
"backgroundOpacity": 80,
"frameRadius": 12,
"type": "milestones",
"milestones": {
"milestoneCompletedIconUrl": "https://plus.unsplash.com/premium_photo-1681400545953-0ba00cfa7926?q=80&w=880&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
"tooltipBackgroundColor": "#1f9eec"
}
},
"borderColor": {
"colorOne": "#DBBD9C",
"colorTwo": "#DBBD9C",
"gradientDirection": "to right"
},
"backgroundColor": {
"colorOne": "#DABA98",
"colorTwo": "#FDFCF9",
"gradientDirection": "to right"
},
"borderWidth": 3,
"externalId": "progress-bar-design-milestones"
},
"productsSequence": [
{
"index": 1,
"products": [
{
"publisherProductId": "coins",
"quantity": 400,
"priority": "Main",
"quantityDisplay": "+ 400"
},
{
"publisherProductId": "gems",
"quantity": 75,
"priority": "Sub",
"quantityDisplay": "+ 75"
}
],
"priceInUsdCents": 0,
"barSize": 15,
"id": "67890abcdef1234567890202"
},
{
"index": 2,
"products": [
{
"publisherProductId": "coins",
"quantity": 600,
"priority": "Main",
"quantityDisplay": "+ 600"
},
{
"publisherProductId": "gems",
"quantity": 150,
"priority": "Sub",
"quantityDisplay": "+ 150"
}
],
"priceInUsdCents": 0,
"barSize": 25,
"id": "67890abcdef1234567890203"
},
{
"index": 3,
"products": [
{
"publisherProductId": "coins",
"quantity": 1200,
"priority": "Main",
"quantityDisplay": "+ 1200"
},
{
"publisherProductId": "gems",
"quantity": 300,
"priority": "Sub",
"quantityDisplay": "+ 300"
},
{
"publisherProductId": "energy",
"quantity": 150,
"priority": "Sub",
"quantityDisplay": "+ 150"
}
],
"priceInUsdCents": 0,
"barSize": 35,
"id": "67890abcdef1234567890204"
}
],
"publisherId": "6555b69c02ee8eca00465694",
"publisherOfferId": "progressBar-milestones-1",
"schedule": {
"permanent": false,
"timeFrames": [
{
"startTime": "2025-12-01T12:05:00.000Z",
"endTime": "2025-12-22T12:10:00.000Z",
"notes": "Updated holiday promotion period.",
"id": "67890abcdef1234567890205"
}
]
},
"segments": [
"New User",
"VIP Player"
],
"createdAt": "2024-11-15T09:30:00.000Z",
"updatedAt": "2024-12-01T10:15:00.000Z"
}
curl -X PUT \
'https://api.appcharge.com/v2/offer/progressBar-single-1' \
-H 'Content-Type: application/json' \
-H 'x-publisher-token: <x-publisher-token>' \
-d '{
"name": "My Classic Progress Bar Updated",
"type": "ProgressBar",
"active": false
}'
curl -X PUT \
'https://api.appcharge.com/v2/offer/progressBar-milestones-1' \
-H 'Content-Type: application/json' \
-H 'x-publisher-token: <x-publisher-token>' \
-d '{
"name": "My Milestone Progress Bar Updated",
"type": "ProgressBar",
"active": true,
"productsSequence": [
{
"index": 1,
"products": [
{
"publisherProductId": "coins",
"priority": "Main",
"quantity": 400
},
{
"publisherProductId": "gems",
"priority": "Sub",
"quantity": 75
}
],
"priceInUsdCents": 0,
"barSize": 15
},
{
"index": 2,
"products": [
{
"publisherProductId": "coins",
"priority": "Main",
"quantity": 600
},
{
"publisherProductId": "gems",
"priority": "Sub",
"quantity": 150
}
],
"priceInUsdCents": 0,
"barSize": 25
},
{
"index": 3,
"products": [
{
"publisherProductId": "coins",
"priority": "Main",
"quantity": 1200
},
{
"publisherProductId": "gems",
"priority": "Sub",
"quantity": 300
},
{
"publisherProductId": "energy",
"priority": "Sub",
"quantity": 150
}
],
"priceInUsdCents": 0,
"barSize": 35
}
]
}'
{
"offerId": "67890abcdef1234567890123",
"active": false,
"description": "A progress bar with sequential missions.",
"displayName": "My Classic Progress Bar",
"name": "My Classic Progress Bar Updated",
"type": "ProgressBar",
"offerUi": {
"id": "67890abcdef1234567890124",
"offerUiType": "ProgressBar",
"name": "Classic Progress Bar Design",
"description": "Progress Bar UI design template",
"backgroundImageUrl": "https://media-dev.appcharge.com/media/6555b69c02ee8eca00465694/background-image.png",
"title": {
"text": "Mission impossible!",
"fontColor": "#FFD700",
"fontSize": 10,
"fontWeight": "bold"
},
"subtitle": {
"text": "To infinity and beyond!",
"fontColor": "#FFD700",
"fontSize": 8,
"fontWeight": "normal"
},
"progressBar": {
"barFillColor": {
"colorOne": "#FFD450",
"colorTwo": "#EDB923",
"gradientDirection": "to bottom"
},
"barRadius": 12,
"accumulatedItem": {
"imageUrl": "https://media-dev.appcharge.com/media/6555b69c02ee8eca00465694/item.jpeg",
"ribbonImageUrl": "https://plus.unsplash.com/premium_photo-1681400545953-0ba00cfa7926?q=80&w=880&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
},
"backgroundOpacity": 80,
"frameRadius": 12
},
"borderColor": {
"colorOne": "#DBBD9C",
"colorTwo": "#DBBD9C",
"gradientDirection": "to right"
},
"backgroundColor": {
"colorOne": "#DABA98",
"colorTwo": "#FDFCF9",
"gradientDirection": "to right"
},
"borderWidth": 3,
"externalId": "progress-bar-design-single"
},
"productsSequence": [
{
"index": 1,
"products": [
{
"publisherProductId": "coins",
"quantity": 400,
"priority": "Main",
"quantityDisplay": "+ 400"
}
],
"priceInUsdCents": 0,
"barSize": 15,
"id": "67890abcdef1234567890126"
},
{
"index": 2,
"products": [
{
"publisherProductId": "coins",
"quantity": 600,
"priority": "Main",
"quantityDisplay": "+ 600"
}
],
"priceInUsdCents": 0,
"barSize": 25,
"id": "67890abcdef1234567890127"
}
],
"publisherId": "6555b69c02ee8eca00465694",
"publisherOfferId": "progressBar-single-1",
"schedule": {
"permanent": false,
"timeFrames": [
{
"startTime": "2025-12-01T12:05:00.000Z",
"endTime": "2025-12-22T12:10:00.000Z",
"notes": "Updated holiday promotion period.",
"id": "67890abcdef1234567890128"
}
]
},
"segments": [
"New User",
"VIP Player"
],
"createdAt": "2024-11-15T09:30:00.000Z",
"updatedAt": "2024-12-01T10:15:00.000Z"
}
{
"offerId": "67890abcdef1234567890200",
"active": true,
"description": "A progress bar with all milestones visible at once.",
"displayName": "My Milestone Progress Bar",
"name": "My Milestone Progress Bar Updated",
"type": "ProgressBar",
"offerUi": {
"id": "67890abcdef1234567890201",
"offerUiType": "ProgressBar",
"name": "Milestone Progress Bar Design",
"description": "Milestone Progress Bar UI design template",
"backgroundImageUrl": "https://media-dev.appcharge.com/media/6555b69c02ee8eca00465694/background-image.png",
"title": {
"text": "Reach Every Milestone",
"fontColor": "#FFD700",
"fontSize": 10,
"fontWeight": "bold"
},
"subtitle": {
"text": "Collect rewards along the way",
"fontColor": "#FFD700",
"fontSize": 8,
"fontWeight": "normal"
},
"progressBar": {
"barFillColor": {
"colorOne": "#FFD450",
"colorTwo": "#EDB923",
"gradientDirection": "to bottom"
},
"barRadius": 12,
"accumulatedItem": {
"imageUrl": "https://media-dev.appcharge.com/media/6555b69c02ee8eca00465694/item.jpeg",
"ribbonImageUrl": "https://plus.unsplash.com/premium_photo-1681400545953-0ba00cfa7926?q=80&w=880&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
},
"headerImageUrl": "https://plus.unsplash.com/premium_photo-1785080652560-f334e6ea704c?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
"backgroundColor": {
"colorOne": "#dde9f4",
"colorTwo": "#f66578",
"gradientDirection": "to bottom"
},
"textColor": "#FFD700",
"backgroundOpacity": 80,
"frameRadius": 12,
"type": "milestones",
"milestones": {
"milestoneCompletedIconUrl": "https://plus.unsplash.com/premium_photo-1681400545953-0ba00cfa7926?q=80&w=880&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
"tooltipBackgroundColor": "#1f9eec"
}
},
"borderColor": {
"colorOne": "#DBBD9C",
"colorTwo": "#DBBD9C",
"gradientDirection": "to right"
},
"backgroundColor": {
"colorOne": "#DABA98",
"colorTwo": "#FDFCF9",
"gradientDirection": "to right"
},
"borderWidth": 3,
"externalId": "progress-bar-design-milestones"
},
"productsSequence": [
{
"index": 1,
"products": [
{
"publisherProductId": "coins",
"quantity": 400,
"priority": "Main",
"quantityDisplay": "+ 400"
},
{
"publisherProductId": "gems",
"quantity": 75,
"priority": "Sub",
"quantityDisplay": "+ 75"
}
],
"priceInUsdCents": 0,
"barSize": 15,
"id": "67890abcdef1234567890202"
},
{
"index": 2,
"products": [
{
"publisherProductId": "coins",
"quantity": 600,
"priority": "Main",
"quantityDisplay": "+ 600"
},
{
"publisherProductId": "gems",
"quantity": 150,
"priority": "Sub",
"quantityDisplay": "+ 150"
}
],
"priceInUsdCents": 0,
"barSize": 25,
"id": "67890abcdef1234567890203"
},
{
"index": 3,
"products": [
{
"publisherProductId": "coins",
"quantity": 1200,
"priority": "Main",
"quantityDisplay": "+ 1200"
},
{
"publisherProductId": "gems",
"quantity": 300,
"priority": "Sub",
"quantityDisplay": "+ 300"
},
{
"publisherProductId": "energy",
"quantity": 150,
"priority": "Sub",
"quantityDisplay": "+ 150"
}
],
"priceInUsdCents": 0,
"barSize": 35,
"id": "67890abcdef1234567890204"
}
],
"publisherId": "6555b69c02ee8eca00465694",
"publisherOfferId": "progressBar-milestones-1",
"schedule": {
"permanent": false,
"timeFrames": [
{
"startTime": "2025-12-01T12:05:00.000Z",
"endTime": "2025-12-22T12:10:00.000Z",
"notes": "Updated holiday promotion period.",
"id": "67890abcdef1234567890205"
}
]
},
"segments": [
"New User",
"VIP Player"
],
"createdAt": "2024-11-15T09:30:00.000Z",
"updatedAt": "2024-12-01T10:15:00.000Z"
}
Headers
The publisher token used for authentication.
Path Parameters
The Progress Bar offer ID provided by the publisher. This is the offer's External ID value in the Publisher Dashboard.
Body
The type of offer - In this case 'ProgressBar'.
ProgressBar "ProgressBar"
The name of the Progress Bar offer (at least 3 characters).
"My Updated ProgressBar Offer"
Whether the Progress Bar offer is active.
false
Internal ID of the offer design. Required if offerExternalUiId is not provided.
"67890abcdef1234567890124"
The offer design ID. This is the Offer Design's External ID value in the Publisher Dashboard. Required if offerUiId is not provided.
"ProgressBar Design 1"
The display name of the Progress Bar offer shown to players.
"My Updated ProgressBar Offer"
The description of the Progress Bar offer.
"This is my updated progress bar offer description."
List of player segments that this Progress Bar offer applies to.
["New User", "VIP Player"]
The sequence of products included in the Progress Bar offer.
Show child attributes
Show child attributes
The schedule for when the Progress Bar offer is available.
Show child attributes
Show child attributes
The publisher section ID.
Tab ID in the web store.
Response
Progress Bar offer updated successfully.
Publisher ID.
Autogenerated Progress Bar offer ID.
Progress Bar offer ID provided by the publisher. This is the offer's External ID value in the Publisher Dashboard.
Progress Bar offer name.
The display name of the Progress Bar offer. If not provided, the name will be used.
Progress Bar offer description.
Offer type.
"ProgressBar"
Whether the Progress Bar offer is active.
The player segments associated with the Progress Bar offer.
Information about the Progress Bar offer design, as configured in the Publisher Dashboard.
Show child attributes
Show child attributes
The sequence of missions within the Progress Bar offer
Show child attributes
Show child attributes
The schedule for when the Progress Bar offer is available.
Show child attributes
Show child attributes
Date the Progress Bar offer was created.
Date the Progress Bar offer was last updated.
Was this page helpful?
