Skip to main content
DELETE
/
v2
/
offer
/
{publisherOfferId}
curl -X DELETE \
  'https://api.appcharge.com/v2/offer/checkout-link-1' \
  -H 'Content-Type: application/json' \
  -H 'x-publisher-token: <x-publisher-token>'
{
  "offerId": "867f5b309118",
  "publisherId": "35nb7861ec9924a6b69a0fe59",
  "publisherOfferId": "checkout-link-1",
  "name": "My Checkout Link Offer",
  "displayName": "My Checkout Link Offer",
  "type": "CheckoutLink",
  "active": true,
  "segments": [
    "New User"
  ],
  "productsSequence": [
    {
      "index": 1,
      "playerAvailability": 12,
      "products": [
        {
          "priority": "Sub",
          "publisherProductId": "6cb43621ccf1",
          "quantity": "100"
        }
      ],
      "priceInUsdCents": 1000,
      "playerClickedTtl": 300
    }
  ],
  "badges": [
    {
      "publisherBadgeId": "22ac77ff889b"
    }
  ],
  "productSale": {
    "type": "percentage",
    "sale": 100
  },
  "priceDiscount": {
    "type": "percentage",
    "discount": 20
  },
  "description": "This is my checkout link offer description.",
  "deeplinkUrl": "https://best-game.appcharge.com/login/campaign/YL2bAHqnuSMBhXIwMJbEM",
  "createdAt": "2025-04-06T10:00:44.528Z",
  "updatedAt": "2025-04-06T10:00:44.528Z"
}
curl -X DELETE \
  'https://api.appcharge.com/v2/offer/checkout-link-1' \
  -H 'Content-Type: application/json' \
  -H 'x-publisher-token: <x-publisher-token>'
{
  "offerId": "867f5b309118",
  "publisherId": "35nb7861ec9924a6b69a0fe59",
  "publisherOfferId": "checkout-link-1",
  "name": "My Checkout Link Offer",
  "displayName": "My Checkout Link Offer",
  "type": "CheckoutLink",
  "active": true,
  "segments": [
    "New User"
  ],
  "productsSequence": [
    {
      "index": 1,
      "playerAvailability": 12,
      "products": [
        {
          "priority": "Sub",
          "publisherProductId": "6cb43621ccf1",
          "quantity": "100"
        }
      ],
      "priceInUsdCents": 1000,
      "playerClickedTtl": 300
    }
  ],
  "badges": [
    {
      "publisherBadgeId": "22ac77ff889b"
    }
  ],
  "productSale": {
    "type": "percentage",
    "sale": 100
  },
  "priceDiscount": {
    "type": "percentage",
    "discount": 20
  },
  "description": "This is my checkout link offer description.",
  "deeplinkUrl": "https://best-game.appcharge.com/login/campaign/YL2bAHqnuSMBhXIwMJbEM",
  "createdAt": "2025-04-06T10:00:44.528Z",
  "updatedAt": "2025-04-06T10:00:44.528Z"
}

Headers

x-publisher-token
string
required

The publisher token

Path Parameters

publisherOfferId
string
required

The offer ID provided by the publisher. This is the offer's External ID value in the Publisher Dashboard.

Example:

"checkout-link-1"

Response

Deleted offer.

publisherId
string

Publisher ID.

offerId
string

The unique identifier of the checkout link offer.

The deeplink offer URL.

publisherOfferId
string

The checkout link offer ID provided by the publisher. This is the offer's External ID value in the Publisher Dashboard.

name
string

The checkout link offer name.

type
string

The type of offer - In this case 'CheckoutLink'.

active
boolean

Whether the checkout link offer is active.

segments
string[]

List of player segments that this checkout link offer applies to (e.g., ["NewUser", "BigSpender"]).

productsSequence
object[]

The sequence of the products included in the offer.

schedule
object

The schedule for when the checkout link offer is available.

createdAt
string<date-time>

Date the checkout link offer was created.

updatedAt
string<date-time>

Date the checkout link offer was updated.