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

# Convert a tag between private and shared

> Toggle a single tag (private/shared) across every channel that carries it. Shared tags are prefixed with 'org://'; converting a private tag makes it 'org://&lt;tag&gt;' and vice versa. Only one tag can be converted per request. Returns the full tag set after the conversion.



## OpenAPI

````yaml /api-reference/openapi.json post /tags/convert
openapi: 3.0.1
info:
  title: MerchantSpring Public API
  version: 1.0.0
servers:
  - url: https://mm-api.merchantspring.io
    description: Production
  - url: https://mm-api-staging.merchantspring.io
    description: Staging
security: []
tags:
  - name: channel
    x-group: Channel
  - name: content-change
    x-group: Content Change
  - name: custom-group
    x-group: Custom Group
  - name: order
    x-group: Order
  - name: report
    x-group: Report
  - name: tag
    x-group: Tag
  - name: profitability
    x-group: Profitability
paths:
  /tags/convert:
    post:
      tags:
        - tag
      summary: Convert a tag between private and shared
      description: >-
        Toggle a single tag (private/shared) across every channel that carries
        it. Shared tags are prefixed with 'org://'; converting a private tag
        makes it 'org://&lt;tag&gt;' and vice versa. Only one tag can be
        converted per request. Returns the full tag set after the conversion.
      operationId: convertTags
      requestBody:
        description: The tag to convert (exactly 1)
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConvertTagsRequest'
        required: true
      responses:
        '200':
          description: Successful operation
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConvertTagsResponse'
        '400':
          description: Invalid input
          content: {}
      security:
        - api_key: []
components:
  schemas:
    ConvertTagsRequest:
      type: object
      required:
        - tag
      properties:
        tag:
          type: string
          description: >-
            The tag to convert between private and shared scope. Shared tags are
            prefixed with 'org://'. Must be a non-empty string.
      example:
        tag: amazon
    ConvertTagsResponse:
      type: object
      description: The caller's full tag set across all channels after the conversion.
      properties:
        items:
          type: array
          items:
            type: object
            properties:
              merchantId:
                type: string
                nullable: true
                description: Merchant ID of the channel
              tags:
                type: array
                description: Tags for the channel. Shared tags are prefixed with 'org://'.
                items:
                  type: string
      example:
        items:
          - merchantId: XXXUS @ ATVPDKIKX0DER
            tags:
              - org://amazon
          - merchantId: google_demo_001
            tags:
              - org://amazon
  securitySchemes:
    api_key:
      type: apiKey
      name: x-api-key
      in: header

````