Add tags to merchant user

Associates one or more tags with a specific merchant user for categorization and filtering purposes

POST/api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}/tags
API
Management
Updated
Apr 26, 2026

management-api:POST:/api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}/tags

Associates one or more tags with a specific merchant user for categorization and filtering purposes

API ownership

  • API family: Management API
  • Best for: Trusted back-office workflows that create, update, organize, or delete merchant-owned data.
  • Do not use from: Browser-only storefront code or public clients.
  • Guide route: /apis/management/latest

The OpenAPI contract defines the method, path, parameters, request body, and responses for this operation.

Operation

  • Method: POST
  • Path: /api/v1/\{team_slug\}/\{app_slug\}/merchant-users/\{user_id\}/tags
  • Summary: Add tags to merchant user
  • Description: Associates one or more tags with a specific merchant user for categorization and filtering purposes
  • OpenAPI contract: management-api
  • Operation ID: Not documented in the OpenAPI contract.

Operation key uses API family, method, and path because this OpenAPI contract does not publish an operation ID.

Parameters3 parameters
NameInRequiredTypeDescription
app_slugpathYesstringApp slug
team_slugpathYesstringTeam slug
user_idpathYesstringMerchant user ID
Request bodyDocumented body
  • Required: Yes
  • Description: Tag IDs to add
  • Content: application/json (object)

Merchant User Tag

PropertyTypeRequiredDetails
tag_idsstring[]NominItems: 1

Generated example (synthetic):

{
  "tag_ids": [
    "string"
  ]
}
Responses5 statuses
StatusDescriptionContent
200Updated merchant user with new tagsapplication/json (object)
400Invalid request (e.g. bad payload, validation error)application/json (object)
401Unauthorized accessapplication/json (object)
404User not foundapplication/json (object)
500Internal server errorapplication/json (object)

200 - object

Merchant User Response

PropertyTypeRequiredDetails
dataobjectNo-
detailsstring[]NoAdditional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes
successbooleanNo-
Merchant User
PropertyTypeRequiredDetails
additionsobjectNo-
addressobjectNo-
address_restrictionsobject[]No-
app_idstringNo-
attributesobject[]No-
commentstringNo-
communication_preferencesobjectNo-
created_atstringNo-
customer_groupsobject[]No-
emailstringNo-
email_verification_sent_atstringNo-
email_verifiedbooleanNo-
idstringNo-
is_super_adminbooleanNo-
languagestringNo-
marketstringNo-
namestringNo-
organisationsobject[]No-
phone_numberstringNo-
statusstringNo-
store_groupstringNo-
surnamestringNo-
tagsobject[]No-
updated_atstringNo-
Address
PropertyTypeRequiredDetails
citystringNo-
countrystringNo-
country_codestringNo-
streetstringNo-
zip_codestringNo-
Organisation Address Restriction
PropertyTypeRequiredDetails
address_idstringNo-
formatted_addressstringNo-
organisation_idstringNo-
organisation_namestringNo-
organisation_numberstringNo-
Attribute
PropertyTypeRequiredDetails
created_atstringNo-
descriptionstringNo-
filterablebooleanNo-
idstringNo-
keystringNo-
namestringNo-
template_keystringNo-
template_namestringNo-
translatablebooleanNo-
translationsobjectNo-
updated_atstringNo-
valuesobjectNo-
Communication Preferences
PropertyTypeRequiredDetails
allow_emailbooleanNo-
allow_postalbooleanNo-
allow_smsbooleanNo-
Customer Group Ref
PropertyTypeRequiredDetails
idstringNo-
namestringNo-
slugstringNo-
Merchant Organization Details
PropertyTypeRequiredDetails
custom_role_idstringNo-
custom_role_namestringNo-
custom_role_slugstringNo-
idstringNo-
levelstringNo-
namestringNo-
organisation_numberstringNo-
Tag
PropertyTypeRequiredDetails
attributesobject[]No-
created_atstringNo-
filterablebooleanNo-
idstringNo-
keystringNo-
marketsobject[]No-
namestringNo-
schedulesobject[]No-
source_app_idstringNo-
source_idstringNo-
statusstringNo-
translationsobjectNo-
updated_atstringNo-
{
  "data": {
    "additions": {},
    "address": {
      "city": "string",
      "country": "string",
      "country_code": "string",
      "street": "string",
      "zip_code": "string"
    },
    "address_restrictions": [
      {
        "address_id": "string",
        "formatted_address": "string",
        "organisation_id": "string",
        "organisation_name": "string",
        "organisation_number": "string"
      }
    ],
    "app_id": "string",
    "attributes": [
      {
        "created_at": "string",
        "description": "string",
        "filterable": false,
        "id": "string",
        "key": "string",
        "name": "string",
        "template_key": "string",
        "template_name": "string",
        "translatable": false,
        "translations": {
          "description": null,
          "name": null
        },
        "updated_at": "string",
        "values": {}
      }
    ],
    "comment": "string",
    "communication_preferences": {
      "allow_email": false,
      "allow_postal": false,
      "allow_sms": false
    },
    "created_at": "string",
    "customer_groups": [
      {
        "id": "string",
        "name": "string",
        "slug": "string"
      }
    ],
    "email": "string",
    "email_verification_sent_at": "string",
    "email_verified": false,
    "id": "string",
    "is_super_admin": false,
    "language": "string",
    "market": "string",
    "name": "string",
    "organisations": [
      {
        "custom_role_id": "string",
        "custom_role_name": "string",
        "custom_role_slug": "string",
        "id": "string",
        "level": "string",
        "name": "string",
        "organisation_number": "string"
      }
    ],
    "phone_number": "string",
    "status": "string",
    "store_group": "string",
    "surname": "string",
    "tags": [
      {
        "attributes": [],
        "created_at": "string",
        "filterable": false,
        "id": "string",
        "key": "string",
        "markets": [],
        "name": "string",
        "schedules": [],
        "source_app_id": "string",
        "source_id": "string",
        "status": "string",
        "translations": {
          "name": null
        },
        "updated_at": "string"
      }
    ],
    "updated_at": "string"
  },
  "details": [
    "string"
  ],
  "success": false
}

400 - object

Error Message

PropertyTypeRequiredDetails
detailsstring[]No-
messagestringNo-
successbooleanNo-

Generated example (synthetic):

{
  "details": [
    "string"
  ],
  "message": "string",
  "success": false
}

401 - object

Error Message

PropertyTypeRequiredDetails
detailsstring[]No-
messagestringNo-
successbooleanNo-

Generated example (synthetic):

{
  "details": [
    "string"
  ],
  "message": "string",
  "success": false
}

404 - object

Error Message

PropertyTypeRequiredDetails
detailsstring[]No-
messagestringNo-
successbooleanNo-

Generated example (synthetic):

{
  "details": [
    "string"
  ],
  "message": "string",
  "success": false
}

500 - object

Error Message

PropertyTypeRequiredDetails
detailsstring[]No-
messagestringNo-
successbooleanNo-

Generated example (synthetic):

{
  "details": [
    "string"
  ],
  "message": "string",
  "success": false
}

Contract identity

Use these fields to confirm you are implementing the intended endpoint contract.

  • API family: Management API
  • Method: POST
  • Path: /api/v1/\{team_slug\}/\{app_slug\}/merchant-users/\{user_id\}/tags
  • Operation ID: Not documented in the OpenAPI contract.
  • OpenAPI tag: Merchant Users
  • OpenAPI summary: Add tags to merchant user

Add tags to merchant user

# Add tags to merchant user Associates one or more tags with a specific merchant user for categorization and filtering purposes
POST /api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}/tags
Purpose

Associates one or more tags with a specific merchant user for categorization and filtering purposes

Required inputs

app_slug path team_slug path user_id path

Primary response

200 ยท Updated merchant user with new tags

Operation key

management-api:POST:/api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}/tags

## API ownership - API family: Management API - Best for: Trusted back-office workflows that create, update, organize, or delete merchant-owned data. - Do not use from: Browser-only storefront code or public clients. - Guide route: [/apis/management/latest](/apis/management/latest) The OpenAPI contract defines the method, path, parameters, request body, and responses for this operation. ## Operation - Method: `POST` - Path: `/api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}/tags` - Summary: Add tags to merchant user - Description: Associates one or more tags with a specific merchant user for categorization and filtering purposes - OpenAPI contract: management-api - Operation ID: Not documented in the OpenAPI contract. - Stable operation key: `management-api:POST:/api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}/tags` Operation key uses API family, method, and path because this OpenAPI contract does not publish an operation ID. ## Parameters | Name | In | Required | Type | Description | | --- | --- | --- | --- | --- | | app_slug | path | Yes | string | App slug | | team_slug | path | Yes | string | Team slug | | user_id | path | Yes | string | Merchant user ID | ## Request body - Required: Yes - Description: Tag IDs to add - Content: application/json (object) ### Merchant User Tag | Property | Type | Required | Details | | --- | --- | --- | --- | | `tag_ids` | string[] | No | minItems: 1 | **Generated example (synthetic):** ```json { "tag_ids": [ "string" ] } ``` ## Responses | Status | Description | Content | | --- | --- | --- | | 200 | Updated merchant user with new tags | application/json (object) | | 400 | Invalid request (e.g. bad payload, validation error) | application/json (object) | | 401 | Unauthorized access | application/json (object) | | 404 | User not found | application/json (object) | | 500 | Internal server error | application/json (object) | ### 200 - object #### Merchant User Response | Property | Type | Required | Details | | --- | --- | --- | --- | | `data` | object | No | - | | `details` | string[] | No | Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes | | `success` | boolean | No | - | ##### Merchant User | Property | Type | Required | Details | | --- | --- | --- | --- | | `additions` | object | No | - | | `address` | object | No | - | | `address_restrictions` | object[] | No | - | | `app_id` | string | No | - | | `attributes` | object[] | No | - | | `comment` | string | No | - | | `communication_preferences` | object | No | - | | `created_at` | string | No | - | | `customer_groups` | object[] | No | - | | `email` | string | No | - | | `email_verification_sent_at` | string | No | - | | `email_verified` | boolean | No | - | | `id` | string | No | - | | `is_super_admin` | boolean | No | - | | `language` | string | No | - | | `market` | string | No | - | | `name` | string | No | - | | `organisations` | object[] | No | - | | `phone_number` | string | No | - | | `status` | string | No | - | | `store_group` | string | No | - | | `surname` | string | No | - | | `tags` | object[] | No | - | | `updated_at` | string | No | - | ##### Address | Property | Type | Required | Details | | --- | --- | --- | --- | | `city` | string | No | - | | `country` | string | No | - | | `country_code` | string | No | - | | `street` | string | No | - | | `zip_code` | string | No | - | ##### Organisation Address Restriction | Property | Type | Required | Details | | --- | --- | --- | --- | | `address_id` | string | No | - | | `formatted_address` | string | No | - | | `organisation_id` | string | No | - | | `organisation_name` | string | No | - | | `organisation_number` | string | No | - | ##### Attribute | Property | Type | Required | Details | | --- | --- | --- | --- | | `created_at` | string | No | - | | `description` | string | No | - | | `filterable` | boolean | No | - | | `id` | string | No | - | | `key` | string | No | - | | `name` | string | No | - | | `template_key` | string | No | - | | `template_name` | string | No | - | | `translatable` | boolean | No | - | | `translations` | object | No | - | | `updated_at` | string | No | - | | `values` | object | No | - | ##### Communication Preferences | Property | Type | Required | Details | | --- | --- | --- | --- | | `allow_email` | boolean | No | - | | `allow_postal` | boolean | No | - | | `allow_sms` | boolean | No | - | ##### Customer Group Ref | Property | Type | Required | Details | | --- | --- | --- | --- | | `id` | string | No | - | | `name` | string | No | - | | `slug` | string | No | - | ##### Merchant Organization Details | Property | Type | Required | Details | | --- | --- | --- | --- | | `custom_role_id` | string | No | - | | `custom_role_name` | string | No | - | | `custom_role_slug` | string | No | - | | `id` | string | No | - | | `level` | string | No | - | | `name` | string | No | - | | `organisation_number` | string | No | - | ##### Tag | Property | Type | Required | Details | | --- | --- | --- | --- | | `attributes` | object[] | No | - | | `created_at` | string | No | - | | `filterable` | boolean | No | - | | `id` | string | No | - | | `key` | string | No | - | | `markets` | object[] | No | - | | `name` | string | No | - | | `schedules` | object[] | No | - | | `source_app_id` | string | No | - | | `source_id` | string | No | - | | `status` | string | No | - | | `translations` | object | No | - | | `updated_at` | string | No | - |
Generated example (synthetic) ```json { "data": { "additions": {}, "address": { "city": "string", "country": "string", "country_code": "string", "street": "string", "zip_code": "string" }, "address_restrictions": [ { "address_id": "string", "formatted_address": "string", "organisation_id": "string", "organisation_name": "string", "organisation_number": "string" } ], "app_id": "string", "attributes": [ { "created_at": "string", "description": "string", "filterable": false, "id": "string", "key": "string", "name": "string", "template_key": "string", "template_name": "string", "translatable": false, "translations": { "description": null, "name": null }, "updated_at": "string", "values": {} } ], "comment": "string", "communication_preferences": { "allow_email": false, "allow_postal": false, "allow_sms": false }, "created_at": "string", "customer_groups": [ { "id": "string", "name": "string", "slug": "string" } ], "email": "string", "email_verification_sent_at": "string", "email_verified": false, "id": "string", "is_super_admin": false, "language": "string", "market": "string", "name": "string", "organisations": [ { "custom_role_id": "string", "custom_role_name": "string", "custom_role_slug": "string", "id": "string", "level": "string", "name": "string", "organisation_number": "string" } ], "phone_number": "string", "status": "string", "store_group": "string", "surname": "string", "tags": [ { "attributes": [], "created_at": "string", "filterable": false, "id": "string", "key": "string", "markets": [], "name": "string", "schedules": [], "source_app_id": "string", "source_id": "string", "status": "string", "translations": { "name": null }, "updated_at": "string" } ], "updated_at": "string" }, "details": [ "string" ], "success": false } ```
### 400 - object #### Error Message | Property | Type | Required | Details | | --- | --- | --- | --- | | `details` | string[] | No | - | | `message` | string | No | - | | `success` | boolean | No | - | **Generated example (synthetic):** ```json { "details": [ "string" ], "message": "string", "success": false } ``` ### 401 - object #### Error Message | Property | Type | Required | Details | | --- | --- | --- | --- | | `details` | string[] | No | - | | `message` | string | No | - | | `success` | boolean | No | - | **Generated example (synthetic):** ```json { "details": [ "string" ], "message": "string", "success": false } ``` ### 404 - object #### Error Message | Property | Type | Required | Details | | --- | --- | --- | --- | | `details` | string[] | No | - | | `message` | string | No | - | | `success` | boolean | No | - | **Generated example (synthetic):** ```json { "details": [ "string" ], "message": "string", "success": false } ``` ### 500 - object #### Error Message | Property | Type | Required | Details | | --- | --- | --- | --- | | `details` | string[] | No | - | | `message` | string | No | - | | `success` | boolean | No | - | **Generated example (synthetic):** ```json { "details": [ "string" ], "message": "string", "success": false } ``` ## Contract identity Use these fields to confirm you are implementing the intended endpoint contract. - API family: Management API - Method: `POST` - Path: `/api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}/tags` - Operation ID: Not documented in the OpenAPI contract. - Stable operation key: `management-api:POST:/api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}/tags` - OpenAPI tag: Merchant Users - OpenAPI summary: Add tags to merchant user