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

# Переместить пункт профиля

> Переносит пункт в меню.



## OpenAPI

````yaml POST /api/v1/bot/{bot}/mini-app/profile/{item}/move
openapi: 3.1.0
info:
  title: Zenedu API v1
  description: >-
    API for managing Telegram bots, subscribers, products, funnels, offers, and
    orders on the Zenedu platform.
  version: 1.0.0
servers:
  - url: https://app.zenedu.io
security:
  - bearerAuth: []
tags:
  - name: User
    description: Current user profile
  - name: Bots
    description: Bot management
  - name: Subscribers
    description: Subscriber management
  - name: Orders
    description: Order management
  - name: Products
    description: Product management
  - name: Funnels
    description: Funnel management
  - name: Offers
    description: Offer management
  - name: Links
    description: Link generation
  - name: Files
    description: File downloads
  - name: Zapier
    description: Zapier webhook management
  - name: Webhooks
    description: Account webhook subscriptions
  - name: Payment systems
    description: Account payment methods
  - name: Bot settings
    description: 'Bot configuration: email, branding, integrations, legal documents'
  - name: Commands
    description: Bot menu commands
  - name: Custom fields
    description: Subscriber custom fields
  - name: Folders
    description: Folders for products, funnels, channels and groups
  - name: Slugs
    description: Public link slugs
  - name: Funnel links
    description: Subscription links of a funnel
  - name: Coupons
    description: Coupon management
  - name: Subscriptions
    description: Recurring subscription management
  - name: Tasks
    description: Student task review
  - name: Broadcasts
    description: Broadcast messages
  - name: Automations
    description: Event-based automations
  - name: Affiliate
    description: Affiliate program management
  - name: Shop
    description: Bot shop draft and publication
  - name: Channels
    description: Telegram channels connected to the bot
  - name: Groups
    description: Telegram groups connected to the bot
  - name: Mini-app
    description: Telegram mini app configuration
  - name: Web
    description: Web app configuration
  - name: Telegram files
    description: Telegram file attachments for steps and broadcasts
paths:
  /api/v1/bot/{bot}/mini-app/profile/{item}/move:
    post:
      tags:
        - Mini-app
      summary: Move profile item
      description: >-
        Moves the item to the menu. Only transferable item types can be moved,
        and the last item of a section cannot be moved.
      operationId: moveMiniAppProfileItem
      parameters:
        - name: bot
          in: path
          required: true
          description: Bot ID
          schema:
            type: integer
        - name: item
          in: path
          required: true
          description: Profile item ID
          schema:
            type: integer
      responses:
        '200':
          description: >-
            Item moved; item.section is the new section and item.item_id the new
            ID
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/MiniApp'
                  item:
                    type: object
                    description: The affected item
                    properties:
                      item_id:
                        type: integer
                      section:
                        type: string
                        enum:
                          - menu
                          - profile
                      type:
                        type: string
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden — lacks access to this bot
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Item not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Item cannot be moved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    MiniApp:
      type: object
      description: Draft of a bot app (mini app or web app) with publication status
      properties:
        platform:
          type: string
          enum:
            - miniApp
            - web
        is_published:
          type: boolean
        has_changes:
          type: boolean
          description: >-
            True when the draft differs from the published version or the app is
            not published
        app_url:
          type:
            - string
            - 'null'
        settings:
          type: object
          properties:
            brand_name:
              type: string
              maxLength: 255
            open_button_name:
              type: string
              maxLength: 255
            appearance:
              type: string
              enum:
                - system
                - light
                - dark
            brand_color:
              type:
                - string
                - 'null'
              description: 'Hex color, e.g. #1A2B3C'
              pattern: ^#[0-9A-Fa-f]{6}$
            disable_branding:
              type: boolean
            show_bot_products:
              type: boolean
            support_type:
              type: string
              enum:
                - bot
                - link
            support_text:
              type: string
            phone_login_enabled:
              type: boolean
              description: Web only
          additionalProperties: true
          description: Settings by request field names; values may be null when unset
        logo_url:
          type:
            - string
            - 'null'
        menu:
          type: array
          items:
            $ref: '#/components/schemas/MiniAppItem'
        profile:
          type: array
          items:
            $ref: '#/components/schemas/MiniAppItem'
        onboarding:
          type: array
          description: Mini app only
          items:
            $ref: '#/components/schemas/MiniAppOnboarding'
        favicon_url:
          type:
            - string
            - 'null'
          description: Web only
        address:
          type: object
          description: Web only
          properties:
            web_handle:
              type:
                - string
                - 'null'
            custom_domain:
              type:
                - string
                - 'null'
            custom_domain_enabled:
              type: boolean
    Error:
      type: object
      properties:
        message:
          type: string
          description: Error message
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Validation errors keyed by field name
    MiniAppItem:
      type: object
      properties:
        id:
          type: integer
        type:
          type: string
          description: >-
            Item type, e.g. content, profile, subscriptions, affiliate, link,
            support, saved, web, shop
        title:
          type: string
        icon:
          type: string
        url:
          type:
            - string
            - 'null'
        sort:
          type: integer
    MiniAppOnboarding:
      type: object
      properties:
        id:
          type: integer
        title:
          type: string
        subtitle:
          type:
            - string
            - 'null'
        button_title:
          type: string
        image_url:
          type:
            - string
            - 'null'
        sort:
          type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API token from the Zenedu dashboard

````

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