Skip to main content
POST
/
tags
/
convert
Convert a tag between private and shared
curl --request POST \
  --url https://mm-api.merchantspring.io/tags/convert \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "tag": "amazon"
}
'
{
  "items": [
    {
      "merchantId": "XXXUS @ ATVPDKIKX0DER",
      "tags": [
        "org://amazon"
      ]
    },
    {
      "merchantId": "google_demo_001",
      "tags": [
        "org://amazon"
      ]
    }
  ]
}

Authorizations

x-api-key
string
header
required

Body

application/json

The tag to convert (exactly 1)

tag
string
required

The tag to convert between private and shared scope. Shared tags are prefixed with 'org://'. Must be a non-empty string.

Response

Successful operation

The caller's full tag set across all channels after the conversion.

items
object[]