> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appcharge.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Progress Bar

> Deletes a Progress Bar offer.

```bash Delete Classic Progress Bar theme={"system"}
curl -X DELETE \
  'https://api.appcharge.com/v2/offer/progressBar-single-1' \
  -H 'Content-Type: application/json' \
  -H 'x-publisher-token: <x-publisher-token>'
```

```bash Delete Milestone Progress Bar theme={"system"}
curl -X DELETE \
  'https://api.appcharge.com/v2/offer/progressBar-milestones-1' \
  -H 'Content-Type: application/json' \
  -H 'x-publisher-token: <x-publisher-token>'
```

```json Delete Classic Progress Bar theme={"system"}
{
  "offerId": "67890abcdef1234567890123",
  "active": true,
  "description": "A progress bar with sequential missions.",
  "displayName": "My Classic Progress Bar",
  "name": "My Classic Progress Bar",
  "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": 300,
          "priority": "Main",
          "quantityDisplay": "+ 300"
        }
      ],
      "priceInUsdCents": 0,
      "barSize": 10,
      "id": "67890abcdef1234567890126"
    },
    {
      "index": 2,
      "products": [
        {
          "publisherProductId": "coins",
          "quantity": 500,
          "priority": "Main",
          "quantityDisplay": "+ 500"
        }
      ],
      "priceInUsdCents": 0,
      "barSize": 20,
      "id": "67890abcdef1234567890127"
    }
  ],
  "publisherId": "6555b69c02ee8eca00465694",
  "publisherOfferId": "progressBar-single-1",
  "schedule": {
    "permanent": false,
    "timeFrames": [
      {
        "startTime": "2025-11-01T12:05:00.000Z",
        "endTime": "2025-11-22T12:10:00.000Z",
        "notes": "Holiday promotion period.",
        "id": "67890abcdef1234567890128"
      }
    ]
  },
  "segments": [
    "New User",
    "VIP Player"
  ],
  "createdAt": "2024-11-15T09:30:00.000Z",
  "updatedAt": "2024-11-15T09:30:00.000Z"
}
```

```json Delete Milestone Progress Bar theme={"system"}
{
  "offerId": "67890abcdef1234567890200",
  "active": true,
  "description": "A progress bar with all milestones visible at once.",
  "displayName": "My Milestone Progress Bar",
  "name": "My Milestone Progress Bar",
  "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": 300,
          "priority": "Main",
          "quantityDisplay": "+ 300"
        },
        {
          "publisherProductId": "gems",
          "quantity": 50,
          "priority": "Sub",
          "quantityDisplay": "+ 50"
        }
      ],
      "priceInUsdCents": 0,
      "barSize": 10,
      "id": "67890abcdef1234567890202"
    },
    {
      "index": 2,
      "products": [
        {
          "publisherProductId": "coins",
          "quantity": 500,
          "priority": "Main",
          "quantityDisplay": "+ 500"
        },
        {
          "publisherProductId": "gems",
          "quantity": 100,
          "priority": "Sub",
          "quantityDisplay": "+ 100"
        }
      ],
      "priceInUsdCents": 0,
      "barSize": 20,
      "id": "67890abcdef1234567890203"
    },
    {
      "index": 3,
      "products": [
        {
          "publisherProductId": "coins",
          "quantity": 1000,
          "priority": "Main",
          "quantityDisplay": "+ 1000"
        },
        {
          "publisherProductId": "gems",
          "quantity": 250,
          "priority": "Sub",
          "quantityDisplay": "+ 250"
        },
        {
          "publisherProductId": "energy",
          "quantity": 100,
          "priority": "Sub",
          "quantityDisplay": "+ 100"
        }
      ],
      "priceInUsdCents": 0,
      "barSize": 30,
      "id": "67890abcdef1234567890204"
    }
  ],
  "publisherId": "6555b69c02ee8eca00465694",
  "publisherOfferId": "progressBar-milestones-1",
  "schedule": {
    "permanent": false,
    "timeFrames": [
      {
        "startTime": "2025-11-01T12:05:00.000Z",
        "endTime": "2025-11-22T12:10:00.000Z",
        "notes": "Holiday promotion period.",
        "id": "67890abcdef1234567890205"
      }
    ]
  },
  "segments": [
    "New User",
    "VIP Player"
  ],
  "createdAt": "2024-11-15T09:30:00.000Z",
  "updatedAt": "2024-11-15T09:30:00.000Z"
}
```


## OpenAPI

````yaml openapi-progress-bar.json DELETE /v2/offer/{publisherOfferId}
openapi: 3.0.1
info:
  title: Progress Bars API
  description: API for managing Progress Bar Offers.
  version: '1.0'
servers:
  - url: https://api-sandbox.appcharge.com
security: []
paths:
  /v2/offer/{publisherOfferId}:
    delete:
      tags:
        - Progress Bars
      summary: Delete Progress Bar
      description: Deletes a Progress Bar offer.
      operationId: deleteProgressBar
      parameters:
        - name: publisherOfferId
          description: >-
            The offer ID provided by the publisher. This is the offer's
            **External ID** value in the Publisher Dashboard.
          required: true
          in: path
          schema:
            type: string
            example: progressBar-1
        - name: x-publisher-token
          required: true
          in: header
          description: The publisher token
          schema:
            type: string
      responses:
        '200':
          description: Deleted offer.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProgressBarDtoResponse'
        '401':
          description: Not Authorized
components:
  schemas:
    ProgressBarDtoResponse:
      type: object
      properties:
        publisherId:
          type: string
          description: Publisher ID.
        offerId:
          type: string
          description: Autogenerated Progress Bar offer ID.
        publisherOfferId:
          type: string
          description: >-
            Progress Bar offer ID provided by the publisher. This is the offer's
            **External ID** value in the Publisher Dashboard.
        name:
          type: string
          description: Progress Bar offer name.
        displayName:
          type: string
          description: >-
            The display name of the Progress Bar offer. If not provided, the
            name will be used.
        description:
          type: string
          description: Progress Bar offer description.
        type:
          type: string
          description: Offer type.
          example: ProgressBar
        active:
          type: boolean
          description: Whether the Progress Bar offer is active.
        segments:
          type: array
          description: The player segments associated with the Progress Bar offer.
          items:
            type: string
        offerUi:
          type: object
          description: >-
            Information about the Progress Bar offer design, as configured in
            the Publisher Dashboard.
          properties:
            id:
              type: string
              description: Offer Design ID.
            offerUiType:
              type: string
              description: The type of offer design. In this case, 'ProgressBar'.
              example: ProgressBar
            name:
              type: string
              description: The name of the Progress Bar offer design.
            description:
              type: string
              description: The description of the Progress Bar offer design.
            backgroundImageUrl:
              type: string
              format: url
              description: Background image URL for the offer design.
              example: https://media.appcharge.com/defaults/background.png
            progressBar:
              type: object
              description: >-
                Specific settings for the Progress Bar UI, as configured in the
                Publisher Dashboard.
              properties:
                barFillColor:
                  type: object
                  description: Color settings for the Progress Bar fill.
                  properties:
                    colorOne:
                      type: string
                      description: The primary fill color.
                    colorTwo:
                      type: string
                      description: >-
                        The secondary fill color. Returned only if the fill
                        color is set to **Linear**.
                    gradientDirection:
                      type: string
                      description: >-
                        The direction of the gradient between both fill colors.
                        Returned only if the fill color is set to **Linear**.
                barRadius:
                  type: integer
                  description: The border radius of the progress bar in pixels.
                accumulatedItem:
                  type: object
                  description: Information about the accumulated item.
                  properties:
                    imageUrl:
                      type: string
                      description: The URL of the image displayed for accumulated points.
                    ribbonImageUrl:
                      type: string
                      description: >-
                        Image URL for the ribbon that shows how many accumulated
                        items the offer contributes to the progress bar.
                backgroundOpacity:
                  type: integer
                  description: The opacity level of the progress bar background (0-100).
                frameRadius:
                  type: integer
                  description: The border radius of the progress bar frame in pixels.
                headerImageUrl:
                  type: string
                  format: url
                  description: Header image URL for the progress bar.
                  example: https://cdn.example.com/header.png
                textColor:
                  type: string
                  description: >-
                    Text color for the progress bar, Ends In timer, and
                    milestone points indicator.
                  example: '#FFD700'
                type:
                  type: string
                  enum:
                    - classic
                    - milestones
                  description: Progress bar type.
                  default: classic
                  example: milestones
                milestones:
                  type: object
                  description: Information about the `milestones` progress bar type.
                  properties:
                    milestoneCompletedIconUrl:
                      type: string
                      format: url
                      description: >-
                        Image URL for the icon displayed on a milestone once a
                        player completes it.
                      example: https://cdn.example.com/checkmark.png
                    tooltipBackgroundColor:
                      type: string
                      description: >-
                        Background color of the tooltip displayed when a player
                        clicks a milestone to view its rewards
                      example: '#1f9eec'
                backgroundColor:
                  type: object
                  description: Bar background color.
                  properties:
                    colorOne:
                      type: string
                      description: Primary color.
                      example: '#1a1a1a'
                    colorTwo:
                      type: string
                      description: Secondary color for the gradient.
                      example: '#3a3a3a'
                    gradientDirection:
                      type: string
                      enum:
                        - to top
                        - to bottom
                        - to left
                        - to right
                        - to top left
                        - to top right
                        - to bottom left
                        - to bottom right
                      description: Direction of the gradient.
                      example: to right
            borderColor:
              type: object
              description: Progress Bar border color.
              properties:
                colorOne:
                  type: string
                  description: The primary border color.
                colorTwo:
                  type: string
                  description: >-
                    The secondary border color. Returned only if the border
                    color in the UI is set to **Linear**.
                gradientDirection:
                  type: string
                  description: >-
                    The direction of the gradient between both border colors.
                    Returned only if the border color in the UI is set to
                    **Linear**.
            backgroundColor:
              type: object
              description: Background color details for the Progress Bar offer.
              properties:
                colorOne:
                  type: string
                  description: The primary background color.
                colorTwo:
                  type: string
                  description: >-
                    The secondary background color. Returned only if the
                    background color in the UI is set to **Linear**.
                gradientDirection:
                  type: string
                  description: >-
                    The direction of the gradient between both background
                    colors. Returned only if the background color in the UI is
                    set to **Linear**.
            title:
              type: object
              description: Title to display above the progress bar.
              properties:
                text:
                  type: string
                  description: Title text.
                  example: Classic Progress Bar
                fontColor:
                  type: string
                  description: Title font color.
                  example: '#FFD700'
                fontSize:
                  type: number
                  description: Font size.
                  default: 10
                  example: 10
                fontWeight:
                  type: string
                  description: Font weight.
                  enum:
                    - normal
                    - bold
                  example: bold
            subtitle:
              type: object
              description: Subtitle to display below the title, above the progress bar.
              properties:
                text:
                  type: string
                  description: Subtitle text.
                  example: Collect rewards along the way
                fontColor:
                  type: string
                  description: Subtitle font color.
                  example: '#FFD700'
                fontSize:
                  type: number
                  description: Font size.
                  default: 8
                  example: 8
                fontWeight:
                  type: string
                  description: Font weight.
                  enum:
                    - normal
                    - bold
                  example: normal
            borderWidth:
              type: integer
              description: >-
                The width of the border surrounding the Progress Bar offer in
                pixels.
            externalId:
              type: string
              description: >-
                The SKU of the Progress Bar offer design, as defined in the
                Publisher Dashboard.
        productsSequence:
          type: array
          description: The sequence of missions within the Progress Bar offer
          items:
            type: object
            properties:
              index:
                type: integer
                description: >-
                  The mission order in the Progress Bar offer. The index must
                  start from 1 and be sequential.
              id:
                type: string
                description: Mission ID.
              products:
                type: array
                description: List of products rewarded when completing this mission.
                items:
                  type: object
                  properties:
                    product:
                      type: object
                      description: Detailed product information.
                      properties:
                        publisherProductId:
                          type: string
                          description: The unique ID of the product.
                        name:
                          type: string
                          description: The name of the product.
                        displayName:
                          type: string
                          description: The display name of the product.
                        description:
                          type: string
                          description: The description of the product.
                        textFontColorHex:
                          type: string
                          description: The hex color code for the product text.
                        type:
                          type: string
                          description: The type of product.
                        prefix:
                          type: string
                          description: Prefix text for the product.
                        suffix:
                          type: string
                          description: Suffix text for the product.
                        priority:
                          type: string
                          description: Display priority of the product.
                          enum:
                            - Main
                            - Sub
                        images:
                          type: array
                          description: Product images.
                          items:
                            type: object
                            properties:
                              type:
                                type: string
                                description: The type of image.
                              url:
                                type: string
                                description: The URL of the image.
                        productId:
                          type: string
                          description: The internal product ID.
                        createdAt:
                          type: string
                          description: Date the product was created.
                          format: date-time
                        updatedAt:
                          type: string
                          description: Date the product was last updated.
                          format: date-time
                    publisherProductId:
                      type: string
                      description: The unique ID of the product.
                    quantity:
                      type: integer
                      description: The quantity of the product rewarded.
                    quantityDisplay:
                      type: string
                      description: The display format of the product quantity.
                    priority:
                      type: string
                      description: >-
                        Specifies the display priority of a product within the
                        Progress Bar offer.
                      enum:
                        - Main
                        - Sub
              priceInUsdCents:
                type: integer
                description: >-
                  The price of the mission or milestone in cents. Progress Bar
                  offers are free rewards, so this value is always 0.
                example: 0
              barSize:
                type: integer
                description: >-
                  The number of accumulated items (points) required to complete
                  this mission or milestone. For Classic progress bars, target
                  size matches the visible bar fill. For Milestones progress
                  bars, it is each milestone's point requirement, not the full
                  length of the visible bar.
                example: 10
        schedule:
          type: object
          description: The schedule for when the Progress Bar offer is available.
          properties:
            permanent:
              type: boolean
              description: Whether the Progress Bar offer is permanent.
              default: true
            timeFrames:
              type: array
              description: >-
                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 timeFrames, the startTime and
                endTime of each must not overlap.
              items:
                type: object
                properties:
                  startTime:
                    type: string
                    description: >-
                      Scheduled offer start time in [ISO
                      8601](https://en.wikipedia.org/wiki/ISO_8601) format.
                    format: date-time
                  endTime:
                    type: string
                    description: >-
                      Scheduled offer end time in [ISO
                      8601](https://en.wikipedia.org/wiki/ISO_8601) format.
                    format: date-time
                  notes:
                    type: string
                    description: Notes about the scheduled offer.
          items:
            type: object
        createdAt:
          type: string
          description: Date the Progress Bar offer was created.
          format: date-time
        updatedAt:
          type: string
          description: Date the Progress Bar offer was last updated.
          format: date-time

````