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

# Get offer details

> Retrieves detailed information about a specific offer, including reward details and tabbed content with structured data tables for each item.



## OpenAPI

````yaml /egress-openapi.json get /api/v1/catalog/offer
openapi: 3.0.0
info:
  title: Stash Web Shop API
  description: >-
    Server-side APIs for Stash web shop integration. This API set includes
    catalog management, purchase processing, and user management endpoints
    designed for server-to-server communication between game backends and Stash
    services.
  version: '1.0'
  contact:
    name: API Support
    url: https://docs.stash.gg/
    email: help@stash.gg
servers: []
security: []
tags:
  - name: Catalog
    description: Product catalog endpoints
  - name: Purchase
    description: Purchase processing endpoints
  - name: Players
    description: Player management endpoints
paths:
  /api/v1/catalog/offer:
    get:
      tags:
        - Catalog
      summary: Get offer details
      description: >-
        Retrieves detailed information about a specific offer, including reward
        details and tabbed content with structured data tables for each item.
      operationId: GetOfferDetails
      parameters:
        - name: guid
          description: >-
            The offer/product UUID (auto-generated UUID v5 if not provided in
            catalog response)
          in: query
          required: true
          schema:
            type: string
        - name: productId
          description: The unique product identifier/SKU
          in: query
          required: true
          schema:
            type: string
        - name: platform
          description: >-
            Optional platform filter to get platform-specific catalog offer
            details

             - CATALOG_PLATFORM_UNSPECIFIED: Default unknown platform
          in: query
          required: false
          schema:
            type: string
            enum:
              - CATALOG_PLATFORM_UNSPECIFIED
              - CATALOG_PLATFORM_IOS
              - CATALOG_PLATFORM_ANDROID
              - CATALOG_PLATFORM_WEBSTORE
            default: CATALOG_PLATFORM_UNSPECIFIED
        - name: region
          description: >-
            Optional region filter using ISO-3166-1 alpha-2 country code (e.g.,
            'US', 'EU', 'JP')
          in: query
          required: false
          schema:
            type: string
        - name: language
          description: >-
            Optional language code filter using ISO 639-1 code (e.g., 'en',
            'es', 'fr', 'de')
          in: query
          required: false
          schema:
            type: string
        - name: playerId
          description: Optional player ID filter to get player-specific catalog items
          in: query
          required: false
          schema:
            type: string
        - name: shopId
          description: >-
            The originating Stash shop identifier (mirrors the shopId sent in
            webhooks)
          in: query
          required: false
          schema:
            type: string
        - name: environment
          description: Payment environment for the request
          in: query
          required: false
          schema:
            type: string
            enum:
              - PAYMENT_ENVIRONMENT_UNSPECIFIED
              - PAYMENT_ENVIRONMENT_TEST
              - PAYMENT_ENVIRONMENT_PRODUCTION
            default: PAYMENT_ENVIRONMENT_UNSPECIFIED
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/server.egress.shop.catalog.v1.GetOfferDetailsResponse
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/google.rpc.Status'
      security:
        - hmac: []
components:
  schemas:
    server.egress.shop.catalog.v1.GetOfferDetailsResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem
          description: Items contained in this offer
        rewardsHeader:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetOfferDetailsResponse.SectionHeader
      description: >-
        Contains detailed information about a specific offer's obtainable
        item(s) and rewards
      title: Get Offer Details Response
      required:
        - items
    google.rpc.Status:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/google.protobuf.Any'
    server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem:
      type: object
      properties:
        guid:
          type: string
          description: Optional unique identifier (UUID v4 format)
        title:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        subtitle:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        description:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        image:
          type: string
          description: Item image URL
        iconImageUrl:
          type: string
          description: >-
            Optional URL to icon image representing the item, used to support
            additional rendering options
        detailSections:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.ItemDetailSection
          description: Item detail sections displayed in the item details view
        tabs:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.Tab
          description: Tabs containing tabbed content, displayed in the order provided
        tabsHeader:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        rewards:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.RewardDetails
          description: Rewards contained in this item
        lastUpdatedAt:
          type: string
          format: date-time
          description: Optional timestamp of when this content item was last updated
      description: Represents an item contained in this offer
      title: Content Item
      required:
        - title
    server.egress.shop.catalog.v1.GetOfferDetailsResponse.SectionHeader:
      type: object
      properties:
        title:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        description:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        iconImageUrl:
          type: string
          description: Icon image URL for the section header
      description: Represents a header for a section of a view
      title: Section Header
    google.protobuf.Any:
      type: object
      properties:
        '@type':
          type: string
      additionalProperties: {}
    server.egress.shop.catalog.v1.LocalizableText:
      type: object
      properties:
        defaultText:
          type: string
          description: >-
            Default text content, usually in English (fallback if no localized
            text is provided or if region/language is not supported or cannot be
            determined)
        localizationKey:
          type: string
          description: >-
            The unique key used to identify the localized text content for a
            specific language. When the shop has no translation of the key for
            the request's language, default_text is shown; for a text on the
            shop's web page, a shop with catalog diagnostics enabled also
            receives a CATALOG_TEXT_FALLBACK webhook naming the key
        localizedText:
          type: string
          description: >-
            Localized text content for the language specified by the code sent
            in the request filters
        formatArguments:
          type: object
          additionalProperties:
            type: string
          description: >-
            Optional entries substituted into the localized text using
            format_syntax. Each value is inserted as a literal display string,
            so send numbers and dates already formatted for the language.
            ICU-style templates read {name} or {0}; printf-style templates read
            keys "1", "2" in order. At most 32 entries, keys matching
            ^[A-Za-z0-9_]{1,64}$, values up to 512 bytes. If formatting fails,
            default_text is used instead, and if that fails too the text is
            omitted.
        formatSyntax:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.TextFormatSyntax'
        formatArgumentEmphasis:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/server.egress.shop.catalog.v1.TextEmphasis'
          description: >-
            Optional emphasis for the text a format argument inserts, keyed by
            the same name as in format_arguments. For example, the ICU template
            'UP TO {was} {n} INGREDIENTS' with format_arguments {"was": "10",
            "n": "20"} and format_argument_emphasis {"was":
            "TEXT_EMPHASIS_STRIKETHROUGH", "n": "TEXT_EMPHASIS_HIGHLIGHT"} shows
            20 prominently after a struck-through 10. Each language's template
            places its arguments, and the emphasis follows the argument wherever
            it is placed. Read on an info button's tooltip text only and ignored
            on every other text, so sending it elsewhere is harmless. A key that
            names no format argument is ignored, and so is an unrecognized
            value. Inside a [label](url) link, the link's own style wins.
            Display only: it never changes what is granted or charged. Optional,
            so omitting it leaves an existing response valid
      description: >-
        Text content that can be localized for a specific language. With
        format_syntax or format_arguments, the template is whichever text
        resolves for the request (localized_text, the text for localization_key,
        or default_text), so each language can place the entries differently. A
        template may be at most 4096 bytes and a composed text at most 8192
        bytes (UTF-8). If the resolved template cannot be formatted (an
        unsupported construct, a missing entry, an invalid value, or a template
        or composed text over its limit), default_text is formatted with the
        same syntax and entries instead, and if that also fails the text is
        omitted. Entries that break a limit fail with any template, so the text
        is omitted, and entries sent without a format_syntax omit the text with
        no default_text retry. When the template comes from localization_key or
        localized_text, send a default_text with no placeholders, written in the
        same syntax (%% for a percent sign in printf-style, quoted braces in
        ICU-style), so the fallback renders whenever the entries themselves are
        valid. ICU-style templates read an entry by name or by zero-based index
        ({0} reads key "0") and use apostrophe quoting ('' is a literal
        apostrophe, '{' or '}' is a literal brace, and any other apostrophe, as
        in Don't, is literal); an unmatched or unquoted { or } is a formatting
        failure, and plural, select, selectordinal and typed arguments such as
        {n, number} are not supported. printf-style templates read keys "1", "2"
        and so on (one-based) in order for %s and %d, or explicitly for %1$s and
        %1$d, but not both in one template, and %% is a literal percent sign; %d
        requires an integer value, which is inserted unchanged, and flags,
        widths, precisions and other verbs are not supported
      title: Localizable Text
    server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.ItemDetailSection:
      type: object
      properties:
        header:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        subheader:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        rows:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.ItemDetailSection.ItemDetailRow
          description: Rows within this section, displayed in the order provided
      description: >-
        Represents a section within the item details view with header,
        subheader, and rows
      title: Item Detail Section
    server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.Tab:
      type: object
      properties:
        title:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        default:
          type: boolean
          description: Whether this tab should be selected by default
        tables:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.Table
          description: Tables contained in this tab, displayed in the order provided
      description: Represents a tab containing multiple tables
      title: Tab
      required:
        - title
        - tables
    server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.RewardDetails:
      type: object
      properties:
        title:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        subtitle:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        description:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        image:
          type: string
          description: Reward image URL
        featured:
          type: boolean
          description: Whether this reward should be displayed prominently
        primaryBackground:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetOfferDetailsResponse.Background
        secondaryBackground:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetOfferDetailsResponse.Background
        statistics:
          $ref: >-
            #/components/schemas/server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.RewardDetails.RewardStatistics
      description: Represents details about a reward obtainable within an item
      title: Reward Details
      required:
        - title
    server.egress.shop.catalog.v1.TextFormatSyntax:
      type: string
      enum:
        - TEXT_FORMAT_SYNTAX_UNSPECIFIED
        - TEXT_FORMAT_SYNTAX_ICU_MESSAGE_FORMAT
        - TEXT_FORMAT_SYNTAX_PRINTF
      default: TEXT_FORMAT_SYNTAX_UNSPECIFIED
      description: >-
        Template syntax used to compose a localizable text with its format
        arguments
      title: >-
        - TEXT_FORMAT_SYNTAX_UNSPECIFIED: Plain text, displayed as-is; only
        valid with no format_arguments
         - TEXT_FORMAT_SYNTAX_ICU_MESSAGE_FORMAT: ICU MessageFormat-style simple arguments, {name} or {0}
         - TEXT_FORMAT_SYNTAX_PRINTF: printf-style, %s and %d read keys "1", "2" in order
    server.egress.shop.catalog.v1.TextEmphasis:
      type: string
      enum:
        - TEXT_EMPHASIS_UNSPECIFIED
        - TEXT_EMPHASIS_HIGHLIGHT
        - TEXT_EMPHASIS_STRIKETHROUGH
      default: TEXT_EMPHASIS_UNSPECIFIED
      description: >-
        How the shop emphasizes the text one format argument inserts, so a value
        can stand out from the text around it. The shop's design decides how
        each kind looks
      title: >-
        - TEXT_EMPHASIS_UNSPECIFIED: No emphasis: shown like the text around it.
        A value the shop does not recognize is shown the same way
         - TEXT_EMPHASIS_HIGHLIGHT: The value the text is about, such as the number in 'Up to 5 ingredients', drawn prominently (for example larger or bolder)
         - TEXT_EMPHASIS_STRIKETHROUGH: A value from before a boost, followed later in the same text by the value that replaces it, drawn struck through like an original_amount. Display only: it never changes what is granted or charged
    server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.ItemDetailSection.ItemDetailRow:
      type: object
      properties:
        backgroundStyle:
          type: object
          additionalProperties:
            type: string
          description: >-
            Optional CSS properties map for styling the detail row background,
            e.g. {"background-color": "#ae36a7"}
        cells:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.ItemDetailSection.ItemDetailRow.ItemDetailCell
          description: Cells for the row
      description: Represents a row within a detail section with cells
      title: Item Detail Row
      required:
        - cells
    server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.Table:
      type: object
      properties:
        headers:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.Table.HeaderCell
          description: Header cells for the table columns
        rows:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.Table.TableRow
          description: Rows in the table, displayed in the order provided
      description: Represents a table with headers and rows
      title: Table
      required:
        - headers
        - rows
    server.egress.shop.catalog.v1.GetOfferDetailsResponse.Background:
      type: object
      properties:
        imageUrl:
          type: string
          description: URL to background image
        backgroundStyle:
          type: string
          description: CSS-style background styling information
      description: >-
        Contains styling information for backgrounds. Note: At least one of
        image_url or background_style must be provided, and both can be provided
        when styles should be combined with the image.
      title: Background
    server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.RewardDetails.RewardStatistics:
      type: object
      properties:
        text:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        textStyle:
          type: object
          additionalProperties:
            type: string
          description: >-
            Optional CSS properties map for styling the statistic text (e.g.,
            {"text-transform": "uppercase", "color": "#ff6600"})
        iconImageUrl:
          type: string
          description: >-
            Optional URL to icon image for the statistic. If not provided, a
            generic icon will be used.
      description: >-
        Represents statistics about a reward obtainable within an item, e.g. the
        drop rate
      title: Reward Statistics
      required:
        - text
    server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.ItemDetailSection.ItemDetailRow.ItemDetailCell:
      type: object
      properties:
        text:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        iconImageUrl:
          type: string
          description: Optional URL to icon image for the cell
        relativeWidthFractionalUnits:
          type: integer
          format: int64
          description: >-
            Optional relative width representing CSS fr units for
            grid-template-columns. If not provided for any column, the client
            will default to even distribution (1fr for each column).
        backgroundStyle:
          type: object
          additionalProperties:
            type: string
          description: >-
            Optional CSS properties for styling the detail cell background, e.g.
            {"background-color": "#ae36a7"}
        textStyle:
          type: object
          additionalProperties:
            type: string
          description: >-
            Optional CSS properties map for styling the detail cell text (e.g.,
            {"text-transform": "uppercase", "color": "#ff6600"})
        align:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.CellAlignment'
      description: >-
        Represents a cell within a detail row with text or icon image content
        and optional CSS styling
      title: Item Detail Cell
    server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.Table.HeaderCell:
      type: object
      properties:
        text:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        relativeWidthFractionalUnits:
          type: integer
          format: int64
          description: >-
            Optional relative width representing CSS fr units for
            grid-template-columns. If not provided for any column, the client
            will default to even distribution (1fr for each column).
        backgroundStyle:
          type: object
          additionalProperties:
            type: string
          description: >-
            Optional CSS properties for styling the header cell background, e.g.
            {"background-color": "#ae36a7"}
        textStyle:
          type: object
          additionalProperties:
            type: string
          description: >-
            Optional CSS properties map for styling the header text (e.g.,
            {"text-transform": "uppercase", "color": "#ff6600"})
      description: Represents a header cell in a table
      title: Header Cell
    server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.Table.TableRow:
      type: object
      properties:
        backgroundStyle:
          type: object
          additionalProperties:
            type: string
          description: >-
            Optional CSS properties map for styling the table row background,
            e.g. {"background-color": "#ae36a7"}
        cells:
          type: array
          items:
            $ref: >-
              #/components/schemas/server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.Table.TableRow.TableCell
          description: Cells in this row, displayed in the order provided
      description: Represents a single row in a table
      title: TableRow
      required:
        - cells
    server.egress.shop.catalog.v1.CellAlignment:
      type: string
      enum:
        - CELL_ALIGNMENT_UNSPECIFIED
        - CELL_ALIGNMENT_START
        - CELL_ALIGNMENT_CENTER
        - CELL_ALIGNMENT_END
      default: CELL_ALIGNMENT_UNSPECIFIED
      description: Represents the horizontal alignment of cell content
      title: |-
        - CELL_ALIGNMENT_UNSPECIFIED: Default alignment (typically START)
         - CELL_ALIGNMENT_START: Align content to the start (left in LTR layouts)
         - CELL_ALIGNMENT_CENTER: Center align content
         - CELL_ALIGNMENT_END: Align content to the end (right in LTR layouts)
    server.egress.shop.catalog.v1.GetOfferDetailsResponse.ContentItem.Table.TableRow.TableCell:
      type: object
      properties:
        text:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        subText:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.LocalizableText'
        iconImageUrl:
          type: string
          description: >-
            Optional URL to icon image for the cell. If not provided, a generic
            icon will be used.
        backgroundStyle:
          type: object
          additionalProperties:
            type: string
          description: >-
            Optional CSS properties for styling the table cell background, e.g.
            {"background-color": "#ae36a7"}
        textStyle:
          type: object
          additionalProperties:
            type: string
          description: >-
            Optional CSS properties map for styling the cell text (e.g.,
            {"text-transform": "uppercase", "color": "#ff6600"})
        align:
          $ref: '#/components/schemas/server.egress.shop.catalog.v1.CellAlignment'
      description: Represents a single cell in a table row with content and styling
      title: TableCell
  securitySchemes:
    hmac:
      type: apiKey
      description: >-
        Versioned HMAC-SHA256 signature for server-to-server communication
        between game backends and Stash services. Recommended over the
        deprecated legacyHmac scheme for the best security. Header format:
        v1;{shopId};{unixMillisTimestamp};{base64Signature}
        (semicolon-delimited). {base64Signature} is the base64-encoded
        HMAC-SHA256 of the string {unixMillisTimestamp}.{requestBody} signed
        with your Egress API key, where {requestBody} is the compact request
        JSON. The timestamp must be within 5 minutes of Stash server time. Your
        shopId is your immutable shop identifier; it and your Egress API key are
        available in Stash Studio under Project Settings > API Secrets.
      name: x-stash-hmac-signature
      in: header

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.