> ## Documentation Index
> Fetch the complete documentation index at: https://omniflow-vpn.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get v1accountshopproducts 1

> One product with a live quote. The quote and its expiry are one object, so a client cannot read the price without also being handed the moment it stops applying.



## OpenAPI

````yaml https://raw.githubusercontent.com/kewldan/omniflow/main/api/openapi.yaml get /v1/account/shop/products/{productID}
openapi: 3.0.3
info:
  title: Omniflow API
  version: 1.0.0
  description: >-
    Customer, commerce, payment, wallet, fulfillment, and operations API for
    Omniflow.
servers: []
security: []
paths:
  /v1/account/shop/products/{productID}:
    get:
      tags:
        - account
      description: >-
        One product with a live quote. The quote and its expiry are one object,
        so a client cannot read the price without also being handed the moment
        it stops applying.
      operationId: getAccountShopProduct
      parameters:
        - $ref: '#/components/parameters/AccountProductID'
        - in: query
          name: locale
          schema:
            type: string
            enum:
              - ru
              - en
        - in: query
          name: quantity
          schema:
            type: integer
            minimum: 1
            maximum: 10
        - in: query
          name: promoCode
          schema:
            type: string
      responses:
        '200':
          description: Product and quote
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountShopProductDetail'
        '404':
          $ref: '#/components/responses/Problem'
        '422':
          $ref: '#/components/responses/Problem'
        '503':
          $ref: '#/components/responses/Problem'
components:
  parameters:
    AccountProductID:
      in: path
      name: productID
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    AccountShopProductDetail:
      allOf:
        - $ref: '#/components/schemas/AccountShopProduct'
        - type: object
          required:
            - quantity
            - quote
          properties:
            quantity:
              type: integer
            quote:
              $ref: '#/components/schemas/AccountShopQuote'
            promo:
              type: object
              required:
                - code
                - discountMinor
              properties:
                code:
                  type: string
                discountMinor:
                  type: integer
                  format: int64
                rejection:
                  type: string
                  description: >-
                    Why the code does not apply. Previewed only; nothing is
                    redeemed here.
    AccountShopProduct:
      type: object
      required:
        - id
        - code
        - kind
        - name
        - currency
        - available
        - priceKnown
      properties:
        id:
          type: string
          format: uuid
        code:
          type: string
        kind:
          type: string
          enum:
            - telegram_premium
            - telegram_stars
        name:
          type: string
        description:
          type: string
        currency:
          type: string
        available:
          type: boolean
        priceKnown:
          type: boolean
          description: >-
            Whether `priceMinor` is a published number. False means the product
            is priced when it is opened, so a screen never has to read a missing
            price as zero.
        priceMinor:
          type: integer
          format: int64
        durationMonths:
          type: integer
          description: Telegram Premium only.
        starQuantity:
          type: integer
          description: Telegram Stars only.
    AccountShopQuote:
      type: object
      required:
        - priceMinor
        - currency
        - expiresAt
      description: >-
        A price and the moment it stops applying. The two travel together so a
        client cannot hold one without the other.
      properties:
        priceMinor:
          type: integer
          format: int64
        currency:
          type: string
        expiresAt:
          type: string
          format: date-time
    Problem:
      type: object
      required:
        - type
        - title
        - status
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        request_id:
          type: string
  responses:
    Problem:
      description: Request failed
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'

````

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