curl -X POST \
'https://api.appcharge.com/v2/offer/special-offer-1' \
-H 'Content-Type: application/json' \
-H 'x-publisher-token: <x-publisher-token>' \
-d '{
"name": "My New Special Offer Name",
"type": "SpecialOffer",
"active": true,
"segments": [
"New User"
],
"productsSequence": [
{
"index": 1,
"playerAvailability": 12,
"products": [
{
"priority": "Sub",
"publisherProductId": "6cb43621ccf1",
"quantity": "100",
}
]
"priceInUsdCents": 1000
}
],
"productSale": {
"type": "percentage",
"sale": 100
},
"priceDiscount": {
"type": "percentage",
"discount": 20
},
"displayName": "My Special Offer",
"description": "This is my special offer description.",
"offerUiId": "2bc77ff889b",
"offerExternalUiId": "2bc22377ff889cc",
"badges": [
{
"publisherBadgeId": "12ac77ff889b"
}
]
}'
{
"publisherId": "35nb7861ec9924a6b69a0fe59",
"offerId": "226cff96123a8717",
"publisherOfferId": "special-offer-1",
"displayName": "My Special Offer",
"description": "This is my special offer description.",
"name": "My New Special Offer Name",
"type": "SpecialOffer",
"active": true,
"segments": [
"New User"
],
"publisherTabId": "tab-1",
"offerUi": {
"offerUiId": "2bc77ff889b",
"active": true,
"offerUiType": "SpecialOffer",
"name": "specialOffer1",
"description": "description",
"backgroundImage": "https://media.appcharge.com/media/65cb7182__4dc30c81-e4aa-40e8-9033-84cb05721bd0",
"borderColor": {
"colorOne": "#ffffff",
"colorTwo": "",
"direction": ""
},
"borderWidth": 2,
"externalId": "specialOffer1"
},
"productsSequence": [
{
"index": 1,
"playerAvailability": 12,
"products": [
{
"product": {
"publisherProductId": "6cb43621ccf1",
"name": "Coins",
"textFontColorHex": "#FFFFFF",
"type": "Quantity",
"prefix": "",
"suffix": "",
"priority": "Sub",
"images": [
{
"type": "product",
"url": "https://media.appcharge.com/media/45cb7861ec8924a6b69a0f59/download.jpeg"
},
{
"type": "productPrefix",
"url": ""
}
],
"createdAt": "2024-02-14T10:08:17.061Z",
"updatedAt": "2024-09-27T13:41:55.775Z",
"displayName": "coins",
"productId": "75cc91114cf653a9cc2dce2c"
},
"publisherProductId": "6cb43621ccf1",
"quantity": 1000,
"priority": "Main"
}
],
"priceInUsdCents": 980,
"badges": [],
"id": "68b4092c7a895e559a3ac8d9"
}
],
"productSale": {
"type": "percentage",
"sale": 100
},
"priceDiscount": {
"type": "percentage",
"discount": 20
},
"offerExternalUiId": "2bc22377ff889cc",
"badges": [
{
"publisherBadgeId": "12ac77ff889b"
}
],
"createdAt": "2025-04-06T10:00:44.528Z",
"updatedAt": "2025-06-06T10:00:44.528Z"
}
Updates a special offer.
curl -X POST \
'https://api.appcharge.com/v2/offer/special-offer-1' \
-H 'Content-Type: application/json' \
-H 'x-publisher-token: <x-publisher-token>' \
-d '{
"name": "My New Special Offer Name",
"type": "SpecialOffer",
"active": true,
"segments": [
"New User"
],
"productsSequence": [
{
"index": 1,
"playerAvailability": 12,
"products": [
{
"priority": "Sub",
"publisherProductId": "6cb43621ccf1",
"quantity": "100",
}
]
"priceInUsdCents": 1000
}
],
"productSale": {
"type": "percentage",
"sale": 100
},
"priceDiscount": {
"type": "percentage",
"discount": 20
},
"displayName": "My Special Offer",
"description": "This is my special offer description.",
"offerUiId": "2bc77ff889b",
"offerExternalUiId": "2bc22377ff889cc",
"badges": [
{
"publisherBadgeId": "12ac77ff889b"
}
]
}'
{
"publisherId": "35nb7861ec9924a6b69a0fe59",
"offerId": "226cff96123a8717",
"publisherOfferId": "special-offer-1",
"displayName": "My Special Offer",
"description": "This is my special offer description.",
"name": "My New Special Offer Name",
"type": "SpecialOffer",
"active": true,
"segments": [
"New User"
],
"publisherTabId": "tab-1",
"offerUi": {
"offerUiId": "2bc77ff889b",
"active": true,
"offerUiType": "SpecialOffer",
"name": "specialOffer1",
"description": "description",
"backgroundImage": "https://media.appcharge.com/media/65cb7182__4dc30c81-e4aa-40e8-9033-84cb05721bd0",
"borderColor": {
"colorOne": "#ffffff",
"colorTwo": "",
"direction": ""
},
"borderWidth": 2,
"externalId": "specialOffer1"
},
"productsSequence": [
{
"index": 1,
"playerAvailability": 12,
"products": [
{
"product": {
"publisherProductId": "6cb43621ccf1",
"name": "Coins",
"textFontColorHex": "#FFFFFF",
"type": "Quantity",
"prefix": "",
"suffix": "",
"priority": "Sub",
"images": [
{
"type": "product",
"url": "https://media.appcharge.com/media/45cb7861ec8924a6b69a0f59/download.jpeg"
},
{
"type": "productPrefix",
"url": ""
}
],
"createdAt": "2024-02-14T10:08:17.061Z",
"updatedAt": "2024-09-27T13:41:55.775Z",
"displayName": "coins",
"productId": "75cc91114cf653a9cc2dce2c"
},
"publisherProductId": "6cb43621ccf1",
"quantity": 1000,
"priority": "Main"
}
],
"priceInUsdCents": 980,
"badges": [],
"id": "68b4092c7a895e559a3ac8d9"
}
],
"productSale": {
"type": "percentage",
"sale": 100
},
"priceDiscount": {
"type": "percentage",
"discount": 20
},
"offerExternalUiId": "2bc22377ff889cc",
"badges": [
{
"publisherBadgeId": "12ac77ff889b"
}
],
"createdAt": "2025-04-06T10:00:44.528Z",
"updatedAt": "2025-06-06T10:00:44.528Z"
}
curl -X POST \
'https://api.appcharge.com/v2/offer/special-offer-1' \
-H 'Content-Type: application/json' \
-H 'x-publisher-token: <x-publisher-token>' \
-d '{
"name": "My New Special Offer Name",
"type": "SpecialOffer",
"active": true,
"segments": [
"New User"
],
"productsSequence": [
{
"index": 1,
"playerAvailability": 12,
"products": [
{
"priority": "Sub",
"publisherProductId": "6cb43621ccf1",
"quantity": "100",
}
]
"priceInUsdCents": 1000
}
],
"productSale": {
"type": "percentage",
"sale": 100
},
"priceDiscount": {
"type": "percentage",
"discount": 20
},
"displayName": "My Special Offer",
"description": "This is my special offer description.",
"offerUiId": "2bc77ff889b",
"offerExternalUiId": "2bc22377ff889cc",
"badges": [
{
"publisherBadgeId": "12ac77ff889b"
}
]
}'
{
"publisherId": "35nb7861ec9924a6b69a0fe59",
"offerId": "226cff96123a8717",
"publisherOfferId": "special-offer-1",
"displayName": "My Special Offer",
"description": "This is my special offer description.",
"name": "My New Special Offer Name",
"type": "SpecialOffer",
"active": true,
"segments": [
"New User"
],
"publisherTabId": "tab-1",
"offerUi": {
"offerUiId": "2bc77ff889b",
"active": true,
"offerUiType": "SpecialOffer",
"name": "specialOffer1",
"description": "description",
"backgroundImage": "https://media.appcharge.com/media/65cb7182__4dc30c81-e4aa-40e8-9033-84cb05721bd0",
"borderColor": {
"colorOne": "#ffffff",
"colorTwo": "",
"direction": ""
},
"borderWidth": 2,
"externalId": "specialOffer1"
},
"productsSequence": [
{
"index": 1,
"playerAvailability": 12,
"products": [
{
"product": {
"publisherProductId": "6cb43621ccf1",
"name": "Coins",
"textFontColorHex": "#FFFFFF",
"type": "Quantity",
"prefix": "",
"suffix": "",
"priority": "Sub",
"images": [
{
"type": "product",
"url": "https://media.appcharge.com/media/45cb7861ec8924a6b69a0f59/download.jpeg"
},
{
"type": "productPrefix",
"url": ""
}
],
"createdAt": "2024-02-14T10:08:17.061Z",
"updatedAt": "2024-09-27T13:41:55.775Z",
"displayName": "coins",
"productId": "75cc91114cf653a9cc2dce2c"
},
"publisherProductId": "6cb43621ccf1",
"quantity": 1000,
"priority": "Main"
}
],
"priceInUsdCents": 980,
"badges": [],
"id": "68b4092c7a895e559a3ac8d9"
}
],
"productSale": {
"type": "percentage",
"sale": 100
},
"priceDiscount": {
"type": "percentage",
"discount": 20
},
"offerExternalUiId": "2bc22377ff889cc",
"badges": [
{
"publisherBadgeId": "12ac77ff889b"
}
],
"createdAt": "2025-04-06T10:00:44.528Z",
"updatedAt": "2025-06-06T10:00:44.528Z"
}
The publisher token used for authentication.
The special offer ID provided by the publisher. This is the offer's External ID value in the Publisher Dashboard.
The name of the special offer (at least 3 characters).
The type of offer - In this case 'SpecialOffer'.
SpecialOffer Whether the special offer is active.
List of player segments that this special offer applies to (e.g., ["NewUser", "BigSpender"]). This is empty by default.
The sequence of products included in the special offer. Only one Products Sequence is allowed.
Show child attributes
The order of the product in the special offer.
The amount of times the player can purchase/ collect the offer.
List of products in the special offer.
Show child attributes
Specifies the display priority of a product within the special offer. Either Main or Sub.
The unique ID of the product.
The quantity of the product in the special offer.
The price of the product in cents. The value must be either 0 (free), or by minimum 80 cents.
If not specified, the special offer name will be used.
The description of the offer (conditionally returned).
Internal ID for the Offer UI (required if offerExternalUiId not provided).
The offer UI ID as configured by the publisher (if provided, offerUiId is not required).
Tab ID in the web store.
Sale details for products in the special offer. The sale will only be applied on the first offer.
The schedule for when the special offer is available.
Show child attributes
Whether the special offer will be permanent.
Time frame for the scheduled offer. Leave blank if permanent is set to true. If permanent is false, at least 1 time frame is required. When specifying multiple time frames, the startTime and endTime of each must not overlap.
Defines the recurring intervals for the special offer. The offer's availability resets at the start of each interval. Only relevant if the offer has Player Availability.
Special offer updated successfully.
Publisher ID.
The unique identifier of the special offer.
The special offer ID provided by the publisher. This is the offer's External ID value in the Publisher Dashboard.
The name of the special offer.
The display name of the special offer.
The description of the offer (conditionally returned)
The type of special offer.
Whether the special offer is active.
List of player segments that this special offer applies to (e.g., ["NewUser", "BigSpender"]). This is empty by default.
Tab ID in the web store.
UI configuration for the special offer.
Show child attributes
The ID of the special offer design, as displayed in the Publisher Dashboard.
The SKU of the special offer design, as defined in the Publisher Dashboard.
Whether the special offer design is active.
The type of offer design. In this case, ‘special offer’.
The name of the special offer design, as defined in the Publisher Dashboard.
The description of the special offer design, as defined in the Publisher Dashboard.
The background image of the special offer design, as defined in the Publisher Dashboard.
Details on the special offer template and design.
Show child attributes
The template type, as configured in the Publisher Dashboard.
The title of the special offer, as configured in the Publisher Dashboard.
The font size of the special offer title, as configured in the Publisher Dashboard.
The font weight of the special offer title, as configured in the Publisher Dashboard.
Details on the font color of the special offer title as configured in the Publisher Dashboard. If the font color is set to linear, both 'colorOne' and 'colorTwo' will be returned. 'colorThree' may also be returned, if configured.
Show child attributes
The font color of the special offer title.
The second font color of the special offer title. Relevant only if the font color is set to linear.
The third font color of the special offer title. Relevant only if the font color is set to linear.
Details on the background color of the special offer title as configured in the Publisher Dashboard. If the background color is set to linear, the direction will be returned along with ‘colorOne’ and ‘colorTwo’.
Show child attributes
The background color of the special offer title.
The second background color of the special offer title. Relevant only if the background color is set to linear.
The direction of the linear gradient. Relevant only if the background color is set to linear.
A sequence of products in the special offer.
Show child attributes
The order of the product in the special offer.
List of products in the special offer.
Show child attributes
The unique ID of the product.
The quantity of the product in the special offer.
Specifies the display priority of a product within the special offer. Either Main or Sub.
The price of the product in cents. The value must be either 0 (free), or by minimum 80 cents.
Sale details for products in the special offer. The sale will only be applied on the first offer.
The schedule for when the special offer is available.
Show child attributes
Whether the special offer will be permanent.
Time frame for the scheduled offer. Leave blank if permanent is set to true. If permanent is false, at least 1 time frame is required. When specifying multiple time frames, the startTime and endTime of each must not overlap.
Defines the recurring intervals for the special offer. The offer's availability resets at the start of each interval. Only relevant if the offer has Player Availability.
Date the special offer was created.
Date the special offer was updated.
Was this page helpful?