> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# BulkSetItemSeoTags

# Package: seo

# Namespace: ItemSeoTagsService

# Method link: https://dev.wix.com/docs/api-reference/business-management/seo/item-seo-tags-v1/bulk-set-item-seo-tags.md

## Permission Scopes:
Manage SEO Settings: SCOPE.PROMOTE.MANAGE-SEO

## Introduction

Sets the SEO tags of multiple items of the same type: their title tags, meta
descriptions, social share tags, canonical links, structured data, and robots meta
tags (SEO Basics and Advanced SEO in the Wix Editor), in one call.

Each entry carries its own field mask and behaves like a single [Set Item SEO
Tags](https://dev.wix.com/docs/api-reference/business-management/seo/item-seo-tags-v1/set-item-seo-tags.md)
call. The response reports a result per entry, correlated to the request by
`itemMetadata.originalIndex`, so you can tell exactly which entries succeeded.

Tags are validated the same way as in Set Item SEO Tags: only for entries whose
`fieldMask` includes `tags`, and a tag sent back exactly as it's already saved skips the
content checks and keeps its saved size, though any extra copies of it are checked.

A problem with one entry, such as an invalid tag or an item that doesn't exist, fails
only that entry. Check `bulkActionMetadata.totalFailures` and retry just the failed
entries: writes are idempotent, so re-sending an entry that already succeeded is safe.

Not every failure is per entry. An item type that isn't supported, or one that doesn't
support bulk writes, rejects the whole call, and so does a request that isn't
authorized. In those cases there are no per-entry results to inspect, so handle a
failed call as well as failed entries.

For static pages, `publish: true` first saves each valid entry to its draft,
then publishes only entries whose draft save succeeded. Successful entries have
the same payload submitted to both revisions; no second save request is needed.
Concurrent writes can leave revisions different: serialize conflicting item edits.
A failed publication entry retains its saved draft and reports
`itemMetadata.error.data.draftSaved: true`. Whole-call publication failures name
the acknowledged saved entries in application error data `savedItemIds`, or in
the message of an unexpected system error with publicationStatus: UNKNOWN.
If the site isn't published, the valid entries are saved to their drafts, nothing is
published, and the whole call fails with `SITE_NOT_PUBLISHED` (FAILED_PRECONDITION).
Its error data contains `draftSaved: true`, `publicationStatus: NOT_PUBLISHED`, and
the saved entries in `savedItemIds`.
Get and List still read the saved revision, not the rendered page head.

`entries` may contain up to 100 items, but some item types accept fewer per call: a
`BLOG_POST` request is capped at 20 entries. Sending more than an item type's own limit
fails the whole call with `BULK_CHUNK_SIZE_EXCEEDED`, naming the limit; split the request
into smaller batches and retry.

Tags can currently be written only for the items' primary language: leave
`itemSeoTags.language` unset on every entry. Sending a language fails with
`LANGUAGE_NOT_SUPPORTED`, even when the entry's field mask doesn't name it.

To set the tags of a single item, call [Set Item SEO
Tags](https://dev.wix.com/docs/api-reference/business-management/seo/item-seo-tags-v1/set-item-seo-tags.md).

---

## REST API

### Schema

```
 Method: bulkSetItemSeoTags
 Description: Sets the SEO tags of multiple items of the same type: their title tags, meta descriptions, social share tags, canonical links, structured data, and robots meta tags (SEO Basics and Advanced SEO in the Wix Editor), in one call.  Each entry carries its own field mask and behaves like a single [Set Item SEO Tags](https://dev.wix.com/docs/api-reference/business-management/seo/item-seo-tags-v1/set-item-seo-tags.md) call. The response reports a result per entry, correlated to the request by `itemMetadata.originalIndex`, so you can tell exactly which entries succeeded.  Tags are validated the same way as in Set Item SEO Tags: only for entries whose `fieldMask` includes `tags`, and a tag sent back exactly as it's already saved skips the content checks and keeps its saved size, though any extra copies of it are checked.  A problem with one entry, such as an invalid tag or an item that doesn't exist, fails only that entry. Check `bulkActionMetadata.totalFailures` and retry just the failed entries: writes are idempotent, so re-sending an entry that already succeeded is safe.  Not every failure is per entry. An item type that isn't supported, or one that doesn't support bulk writes, rejects the whole call, and so does a request that isn't authorized. In those cases there are no per-entry results to inspect, so handle a failed call as well as failed entries.  For static pages, `publish: true` first saves each valid entry to its draft, then publishes only entries whose draft save succeeded. Successful entries have the same payload submitted to both revisions; no second save request is needed. Concurrent writes can leave revisions different: serialize conflicting item edits. A failed publication entry retains its saved draft and reports `itemMetadata.error.data.draftSaved: true`. Whole-call publication failures name the acknowledged saved entries in application error data `savedItemIds`, or in the message of an unexpected system error with publicationStatus: UNKNOWN. If the site isn't published, the valid entries are saved to their drafts, nothing is published, and the whole call fails with `SITE_NOT_PUBLISHED` (FAILED_PRECONDITION). Its error data contains `draftSaved: true`, `publicationStatus: NOT_PUBLISHED`, and the saved entries in `savedItemIds`. Get and List still read the saved revision, not the rendered page head.  `entries` may contain up to 100 items, but some item types accept fewer per call: a `BLOG_POST` request is capped at 20 entries. Sending more than an item type's own limit fails the whole call with `BULK_CHUNK_SIZE_EXCEEDED`, naming the limit; split the request into smaller batches and retry.  Tags can currently be written only for the items' primary language: leave `itemSeoTags.language` unset on every entry. Sending a language fails with `LANGUAGE_NOT_SUPPORTED`, even when the entry's field mask doesn't name it.  To set the tags of a single item, call [Set Item SEO Tags](https://dev.wix.com/docs/api-reference/business-management/seo/item-seo-tags-v1/set-item-seo-tags.md).
 URL: https://www.wixapis.com/seo-metatags-server/v1/bulk/item-seo-tags/set
 Method: POST
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  itemType
 Method parameters: 
   param name: entries | type: array<entries> | description: Items to set tags for, each with its own field mask.  | validation: minItems 1, maxItems 100
              - name: itemId | type: string | description: GUID of the item to set tags for.  | validation: maxLength 200
              - name: itemSeoTags | type: ItemSeoTags | description: Item SEO tags to set for this item. Only `tags` and `focusKeywords` can be changed.  
                 - name: tags | type: array<Tag> | description: Tags set for this item alone, which take precedence over the tags it would otherwise inherit.  Empty when the item has no tags of its own.  Each tag can be up to 4,096 bytes, measured as its serialized JSON. A structured-data tag (`script` with `props.type` set to `application/ld+json`) can hold up to 12,000 characters of JSON-LD, the same limit as the SEO panel, and all structured data in one list up to 409,600 bytes. A tag over its limit fails with `INVALID_TAGS`, unless the write sends it exactly as it's already stored.  | validation: maxItems 100
                    - name: type | type: string | description: Legacy. Was a free-form string: "title" | "meta" | "script" | "link". The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes the invalid combinations unrepresentable rather than merely discouraged.  Which of these an API actually accepts depends on where the tag is being set: this list is not a blanket guarantee across every API that reuses this message. Site SEO Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation error even though they appear here — check the field description of the specific `tags`-typed field you are writing to.  Limitation: `title` and `script` (e.g. a `script` tag with `props.type` "application/ld+json" carrying structured data) are supported only when `custom` is unset or `false`. Setting `custom: true` on a `title` or `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the write through the site's Advanced/Custom Tags list. To write structured data, omit `custom` (or set it to `false`).  No length limit: this field holds data written years ago by writers we are not migrating. A constraint here could reject a record that is already stored, which is exactly the promise this design makes.  
                    - name: props | type: object | description: Legacy. Was an untyped bag of HTML attributes. Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.  
                    - name: meta | type: object | description: Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2` its contents are split by purpose: per-page structured-data state moves to StructuredDataTag, authorship to `written_by`, and render-time preset logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the stored document entirely — it belongs to the preset definition, not to the page. See the design log for the full key-by-key mapping.  
                    - name: children | type: string | description: Legacy. Was the tag's inner content, doubling as the JSON-LD payload for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and `StructuredDataTag.json_ld`. No length limit, for the same reason as `type` above.  
                    - name: custom | type: boolean | description: Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) — i.e. an entry from the site's Advanced/Custom Tags list.  Setting this to `true` on a write restricts which `type` values are accepted — the same restriction the Advanced/Custom Tags UI enforces. `title` and `script` tags (including JSON-LD structured data) must be sent with `custom` omitted or `false`; sending them with `custom: true` is rejected with `TAG_TYPE_NOT_ALLOWED`.  Note this is a separate restriction from Site SEO Tags' own type restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g. for site-wide structured data) unconditionally. There is currently no way to set site-wide, every-page structured data through any of these APIs — write a per-page `script` tag through the Item SEO Tags API instead.  This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed default/pattern — standard tags always resolve with `custom: false`, even when their content comes from a page's manually saved SEO title/description override. Don't use this field to verify whether a live page reflects a manual per-page SEO edit.  Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the response entirely — there, `false` means this API could not tell, not that no custom tag exists. Pass `seoData` explicitly to resolve against a known set of tags.  `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.  
                    - name: disabled | type: boolean | description: Whether the tag is excluded from the rendered <head>.  A disabled tag is still stored, so the user can re-enable it and so a pattern-provided tag stays suppressed on this page. Default false.  
                 - name: focusKeywords | type: array<Keyword> | description: Keywords the item's content is intended to rank for. Used by Wix's SEO tools to assess the item's content; they aren't rendered on the page.  Mark the item's main keyword with `isMain` rather than relying on its position in the list.  | validation: maxItems 5
                    - name: term | type: string | description: The term itself, e.g. "trail running shoes".  No maxLength, for the same reason as the legacy tag fields: keywords are already stored, and a bound added now could reject a record written before the bound existed. The flynt `missing-string-validations` warning on this field is accepted deliberately.  
                    - name: isMain | type: boolean | description: Whether this is the page's primary focus keyword. At most one per page.  
                    - name: origin | type: string | description: Which surface added the term, e.g. a panel or a suggestion flow. Used for attribution in BI. Opaque to the renderer.  | validation: maxLength 1000
              - name: fieldMask | type:  | description: Fields to update for this item.  Supported properties: `tags`, `focusKeywords`  Over REST, send the mask as a comma-separated string, for example `"fieldMask": "tags"`. The JavaScript SDK takes an array of strings instead, for example `fieldMask: ["tags"]`.  
   param name: itemType | type: itemType | description: Type of item all the entries belong to. For example, `STATIC_PAGE` or `STORES_PRODUCT`. | required: true | validation: maxLength 100
   param name: publish | type: publish | description: Whether to save and publish every change to the existing live revision, for item types that keep a separate draft, such as static pages.  Default: `false`  
   param name: returnEntity | type: returnEntity | description: Whether to return the updated item SEO tags in the results.  Default: `false`  
 Return type: BulkSetItemSeoTagsResponse
  - name: results | type: array<BulkItemSeoTagsResult> | description: Result for each item in the request, in the same order.  Match a result to the item you sent using `itemMetadata.originalIndex`. When an item fails, the reason is in `itemMetadata.error`.  | validation: maxItems 100
     - name: itemMetadata | type: ItemMetadata | description: Whether setting this item's tags succeeded, which item in the request it refers to, and the reason if it failed.  
        - name: id | type: string | description: Item GUID. Should always be available, unless it's impossible (for example, when failing to create an item).  | validation: maxLength 100
        - name: originalIndex | type: integer | description: Index of the item within the request array. Allows for correlation between request and response items.  
        - name: success | type: boolean | description: Whether the requested action was successful for this item. When `false`, the `error` field is populated.  
        - name: error | type: ApplicationError | description: Details about the error in case of failure.  
           - name: code | type: string | description: Error code.  
           - name: description | type: string | description: Description of the error.  
           - name: data | type: object | description: Data related to the error.  
     - name: item | type: ItemSeoTags | description: Updated item SEO tags.  Returned only when `returnEntity` is `true` and the item succeeded.  
        - name: id | type: string | description: Item SEO tags GUID, in the format `{itemType}:{itemId}`.  | read-only: true | validation: maxLength 400
        - name: itemType | type: string | description: Type of item the tags belong to. For example, `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.  For an item on a page built from a Wix Data collection, the item type takes the form `WIX_DATA_PAGE_ITEM-{pageId}`.  | read-only: true | validation: maxLength 100
        - name: itemId | type: string | description: GUID of the item the tags belong to. For a static page, this is the page GUID.  | read-only: true | validation: maxLength 200
        - name: tags | type: array<Tag> | description: Tags set for this item alone, which take precedence over the tags it would otherwise inherit.  Empty when the item has no tags of its own.  Each tag can be up to 4,096 bytes, measured as its serialized JSON. A structured-data tag (`script` with `props.type` set to `application/ld+json`) can hold up to 12,000 characters of JSON-LD, the same limit as the SEO panel, and all structured data in one list up to 409,600 bytes. A tag over its limit fails with `INVALID_TAGS`, unless the write sends it exactly as it's already stored.  | validation: maxItems 100
           - name: type | type: string | description: Legacy. Was a free-form string: "title" | "meta" | "script" | "link". The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes the invalid combinations unrepresentable rather than merely discouraged.  Which of these an API actually accepts depends on where the tag is being set: this list is not a blanket guarantee across every API that reuses this message. Site SEO Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation error even though they appear here — check the field description of the specific `tags`-typed field you are writing to.  Limitation: `title` and `script` (e.g. a `script` tag with `props.type` "application/ld+json" carrying structured data) are supported only when `custom` is unset or `false`. Setting `custom: true` on a `title` or `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the write through the site's Advanced/Custom Tags list. To write structured data, omit `custom` (or set it to `false`).  No length limit: this field holds data written years ago by writers we are not migrating. A constraint here could reject a record that is already stored, which is exactly the promise this design makes.  
           - name: props | type: object | description: Legacy. Was an untyped bag of HTML attributes. Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.  
           - name: meta | type: object | description: Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2` its contents are split by purpose: per-page structured-data state moves to StructuredDataTag, authorship to `written_by`, and render-time preset logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the stored document entirely — it belongs to the preset definition, not to the page. See the design log for the full key-by-key mapping.  
           - name: children | type: string | description: Legacy. Was the tag's inner content, doubling as the JSON-LD payload for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and `StructuredDataTag.json_ld`. No length limit, for the same reason as `type` above.  
           - name: custom | type: boolean | description: Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) — i.e. an entry from the site's Advanced/Custom Tags list.  Setting this to `true` on a write restricts which `type` values are accepted — the same restriction the Advanced/Custom Tags UI enforces. `title` and `script` tags (including JSON-LD structured data) must be sent with `custom` omitted or `false`; sending them with `custom: true` is rejected with `TAG_TYPE_NOT_ALLOWED`.  Note this is a separate restriction from Site SEO Tags' own type restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g. for site-wide structured data) unconditionally. There is currently no way to set site-wide, every-page structured data through any of these APIs — write a per-page `script` tag through the Item SEO Tags API instead.  This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed default/pattern — standard tags always resolve with `custom: false`, even when their content comes from a page's manually saved SEO title/description override. Don't use this field to verify whether a live page reflects a manual per-page SEO edit.  Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the response entirely — there, `false` means this API could not tell, not that no custom tag exists. Pass `seoData` explicitly to resolve against a known set of tags.  `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.  
           - name: disabled | type: boolean | description: Whether the tag is excluded from the rendered <head>.  A disabled tag is still stored, so the user can re-enable it and so a pattern-provided tag stays suppressed on this page. Default false.  
        - name: focusKeywords | type: array<Keyword> | description: Keywords the item's content is intended to rank for. Used by Wix's SEO tools to assess the item's content; they aren't rendered on the page.  Mark the item's main keyword with `isMain` rather than relying on its position in the list.  | validation: maxItems 5
           - name: term | type: string | description: The term itself, e.g. "trail running shoes".  No maxLength, for the same reason as the legacy tag fields: keywords are already stored, and a bound added now could reject a record written before the bound existed. The flynt `missing-string-validations` warning on this field is accepted deliberately.  
           - name: isMain | type: boolean | description: Whether this is the page's primary focus keyword. At most one per page.  
           - name: origin | type: string | description: Which surface added the term, e.g. a panel or a suggestion flow. Used for attribution in BI. Opaque to the renderer.  | validation: maxLength 1000
        - name: hasOverride | type: boolean | description: Whether the item has tags of its own, as opposed to inheriting them.  `false` doesn't mean the item shows Wix's built-in tags: it may inherit from the pattern for its item type, from the site's tags, or from the page that hosts it. See `resolvedTags` for the tags the item is expected to render with.  | read-only: true 
        - name: resolvedTags | type: array<ResolvedTag> | description: The tags the item is expected to render with, each marked with where it came from.  Derived by combining every source Wix manages, so it reflects inherited tags as well as the item's own. Tags that site code, apps, or page components add while the page renders aren't included, so this isn't a literal copy of the page's rendered head.  If a tag's source can't be determined, the tag is still exact but its `source` is `TAG_SOURCE_UNSPECIFIED`.  | read-only: true | validation: maxItems 500
           - name: tag | type: Tag | description: Resolved SEO tag.  
           - name: source | type: TagSource | description: Where the tag came from.  
                 - enum:
                 -     TAG_SOURCE_UNSPECIFIED: Unknown source.
                 -     TAG_SOURCE_SITE: The site's own site-wide tags.
                 -     TAG_SOURCE_DEFAULT_PATTERN: The pattern Wix provides for the page type.
                 -     TAG_SOURCE_USER_PATTERN: The pattern the Wix user customized for the page type.
                 -     TAG_SOURCE_HOST_PAGE: The tags of the page the item is displayed on.
                 -     TAG_SOURCE_ITEM: The item's own tags, which the Wix user set for that item alone.
           - name: inheritedTag | type: Tag | description: The tag that `tag` replaced: what this tag would be if the source that set it didn't. Returned only when a source replaced a value an earlier source had set, so it's absent when `source` is the only source that set the tag.  It reports the value from one source down the list, not the Wix built-in. For a tag an item sets on a page type whose pattern the site customized, it's the customized pattern's tag, because that's what the item inherits and what resetting the item surfaces.  | read-only: true 
        - name: hostPageId | type: string | description: GUID of the page that displays the item, for items shown on a shared page, such as a blog post or a store product.  Informational: the hosting page can't be addressed through this API.  | read-only: true | validation: maxLength 200
        - name: publishStatus | type: PublishStatus | description: Whether the item's SEO tags are live on the published site.  | read-only: true 
             - enum:
             -     PUBLISH_STATUS_UNSPECIFIED: Unknown publish status. Returned when the item type doesn't report one.  `STATIC_PAGE` always reports this today, even though a static page keeps a separate draft and published revision: there's no live-revision read path yet, so this status can't distinguish a page that's live from one that only exists as a draft.
             -     PUBLISH_STATUS_PUBLISHED: The item's SEO tags are live on the published site. Item types that keep no separate draft, such as store products, events, and portfolio collections, always report this status.
             -     PUBLISH_STATUS_NOT_PUBLISHED: The item has never been published, so its SEO tags exist only as a draft and aren't on the live site. For example, a blog post that's still a draft.
        - name: language | type: string | description: Language the tags apply to, as an IETF BCP 47 language tag. For example, `en-US` for U.S. English.  Tags can currently be written only for the site's primary language, so leave this unset on a write. Sending a language fails with `LANGUAGE_NOT_SUPPORTED`.  | read-only: true | validation: maxLength 100
        - name: origin | type: Origin | description: What made the most recent change to the item's tags, for example a user or the site migration flow. Derived from the caller, not from the request.  `ORIGIN_UNSPECIFIED` when the caller isn't one Wix identifies as a specific origin. Origin isn't stored with the tags either, so Get Item SEO Tags and List Item SEO Tags always return `ORIGIN_UNSPECIFIED`.  | read-only: true 
             - enum:
             -     ORIGIN_UNSPECIFIED: Unknown origin. Returned by read methods, because origin isn't stored alongside the data it describes.
             -     ORIGIN_USER: A user, working in the dashboard or editor, or calling the API on their own behalf.
             -     ORIGIN_MIGRATION: The flow that imports an existing site into Wix.
             -     ORIGIN_AI: An AI agent or an automated suggestion flow.
  - name: bulkActionMetadata | type: BulkActionMetadata | description: How many items succeeded and how many failed.  
     - name: totalSuccesses | type: integer | description: Number of items that were successfully processed.  
     - name: totalFailures | type: integer | description: Number of items that couldn't be processed.  
     - name: undetailedFailures | type: integer | description: Number of failures without details because detailed failure threshold was exceeded.  

 Possible Errors:
   HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: BULK_CHUNK_SIZE_EXCEEDED | Description: `entries` has more items than this item type's own bulk limit allows (for example, more than 20 for `BLOG_POST`), even though it's within the general `maxSize: 100` on `entries`. The error message names the item type's limit.
   HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: UNSUPPORTED_ITEM_TYPE | Description: Wix doesn't support the specified item type.
   HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: BULK_NOT_SUPPORTED_FOR_ITEM_TYPE | Description: The item type doesn't support setting tags for multiple items at once. Set the items one at a time with Set Item SEO Tags instead.
   HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: DRAFT_SAVED_NOT_PUBLISHED | Description: The drafts named by savedItemIds are saved, but the site has no public revision.


```

### Examples

### Set the titles of several pages in one call
The third entry names an item that does not exist, so it fails on its own while the other two succeed.

```curl
curl -X POST \
'https://www.wixapis.com/promote/seo/v1/bulk/item-seo-tags/set' \
-H 'Authorization: <AUTH>' \
-H 'Content-Type: application/json' \
-d '{
  "itemType": "STATIC_PAGE",
  "returnEntity": true,
  "entries": [
    {
      "itemId": "c1dmp",
      "itemSeoTags": {
        "tags": [
          {
            "type": "title",
            "children": "Winter collection | Ceramics studio"
          }
        ]
      },
      "fieldMask": "tags"
    },
    {
      "itemId": "j4xh7",
      "itemSeoTags": {
        "tags": [
          {
            "type": "title",
            "children": "Journal | Ceramics studio"
          }
        ]
      },
      "fieldMask": "tags"
    },
    {
      "itemId": "zzzzz",
      "itemSeoTags": {
        "tags": [
          {
            "type": "title",
            "children": "Does not exist"
          }
        ]
      },
      "fieldMask": "tags"
    }
  ]
}'
```

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.seo.itemSeoTags.bulkSetItemSeoTags(itemType, options)
 Description: Sets the SEO tags of multiple items of the same type: their title tags, meta descriptions, social share tags, canonical links, structured data, and robots meta tags (SEO Basics and Advanced SEO in the Wix Editor), in one call.  Each entry carries its own field mask and behaves like a single [Set Item SEO Tags](https://dev.wix.com/docs/api-reference/business-management/seo/item-seo-tags-v1/set-item-seo-tags.md) call. The response reports a result per entry, correlated to the request by `itemMetadata.originalIndex`, so you can tell exactly which entries succeeded.  Tags are validated the same way as in Set Item SEO Tags: only for entries whose `fieldMask` includes `tags`, and a tag sent back exactly as it's already saved skips the content checks and keeps its saved size, though any extra copies of it are checked.  A problem with one entry, such as an invalid tag or an item that doesn't exist, fails only that entry. Check `bulkActionMetadata.totalFailures` and retry just the failed entries: writes are idempotent, so re-sending an entry that already succeeded is safe.  Not every failure is per entry. An item type that isn't supported, or one that doesn't support bulk writes, rejects the whole call, and so does a request that isn't authorized. In those cases there are no per-entry results to inspect, so handle a failed call as well as failed entries.  For static pages, `publish: true` first saves each valid entry to its draft, then publishes only entries whose draft save succeeded. Successful entries have the same payload submitted to both revisions; no second save request is needed. Concurrent writes can leave revisions different: serialize conflicting item edits. A failed publication entry retains its saved draft and reports `itemMetadata.error.data.draftSaved: true`. Whole-call publication failures name the acknowledged saved entries in application error data `savedItemIds`, or in the message of an unexpected system error with publicationStatus: UNKNOWN. If the site isn't published, the valid entries are saved to their drafts, nothing is published, and the whole call fails with `SITE_NOT_PUBLISHED` (FAILED_PRECONDITION). Its error data contains `draftSaved: true`, `publicationStatus: NOT_PUBLISHED`, and the saved entries in `savedItemIds`. Get and List still read the saved revision, not the rendered page head.  `entries` may contain up to 100 items, but some item types accept fewer per call: a `BLOG_POST` request is capped at 20 entries. Sending more than an item type's own limit fails the whole call with `BULK_CHUNK_SIZE_EXCEEDED`, naming the limit; split the request into smaller batches and retry.  Tags can currently be written only for the items' primary language: leave `itemSeoTags.language` unset on every entry. Sending a language fails with `LANGUAGE_NOT_SUPPORTED`, even when the entry's field mask doesn't name it.  To set the tags of a single item, call [Set Item SEO Tags](https://dev.wix.com/docs/api-reference/business-management/seo/item-seo-tags-v1/set-item-seo-tags.md).
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  itemType
 Method parameters: 
   param name: itemType | type: string | description: Type of item all the entries belong to. For example, `STATIC_PAGE` or `STORES_PRODUCT`. | required: true | validation: maxLength 100
   param name: options | type: BulkSetItemSeoTagsOptions  none  
        - name: entries | type: array<MaskedItemSeoTags> | description: Items to set tags for, each with its own field mask.  | validation: minItems 1, maxItems 100
           - name: itemId | type: string | description: GUID of the item to set tags for.  | validation: maxLength 200
           - name: itemSeoTags | type: ItemSeoTags | description: Item SEO tags to set for this item. Only `tags` and `focusKeywords` can be changed.  
              - name: tags | type: array<Tag> | description: Tags set for this item alone, which take precedence over the tags it would otherwise inherit.  Empty when the item has no tags of its own.  Each tag can be up to 4,096 bytes, measured as its serialized JSON. A structured-data tag (`script` with `props.type` set to `application/ld+json`) can hold up to 12,000 characters of JSON-LD, the same limit as the SEO panel, and all structured data in one list up to 409,600 bytes. A tag over its limit fails with `INVALID_TAGS`, unless the write sends it exactly as it's already stored.  | validation: maxItems 100
                 - name: type | type: string | description: Legacy. Was a free-form string: "title" | "meta" | "script" | "link". The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes the invalid combinations unrepresentable rather than merely discouraged.  Which of these an API actually accepts depends on where the tag is being set: this list is not a blanket guarantee across every API that reuses this message. Site SEO Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation error even though they appear here — check the field description of the specific `tags`-typed field you are writing to.  Limitation: `title` and `script` (e.g. a `script` tag with `props.type` "application/ld+json" carrying structured data) are supported only when `custom` is unset or `false`. Setting `custom: true` on a `title` or `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the write through the site's Advanced/Custom Tags list. To write structured data, omit `custom` (or set it to `false`).  No length limit: this field holds data written years ago by writers we are not migrating. A constraint here could reject a record that is already stored, which is exactly the promise this design makes.  
                 - name: props | type: object | description: Legacy. Was an untyped bag of HTML attributes. Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.  
                 - name: meta | type: object | description: Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2` its contents are split by purpose: per-page structured-data state moves to StructuredDataTag, authorship to `written_by`, and render-time preset logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the stored document entirely — it belongs to the preset definition, not to the page. See the design log for the full key-by-key mapping.  
                 - name: children | type: string | description: Legacy. Was the tag's inner content, doubling as the JSON-LD payload for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and `StructuredDataTag.json_ld`. No length limit, for the same reason as `type` above.  
                 - name: custom | type: boolean | description: Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) — i.e. an entry from the site's Advanced/Custom Tags list.  Setting this to `true` on a write restricts which `type` values are accepted — the same restriction the Advanced/Custom Tags UI enforces. `title` and `script` tags (including JSON-LD structured data) must be sent with `custom` omitted or `false`; sending them with `custom: true` is rejected with `TAG_TYPE_NOT_ALLOWED`.  Note this is a separate restriction from Site SEO Tags' own type restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g. for site-wide structured data) unconditionally. There is currently no way to set site-wide, every-page structured data through any of these APIs — write a per-page `script` tag through the Item SEO Tags API instead.  This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed default/pattern — standard tags always resolve with `custom: false`, even when their content comes from a page's manually saved SEO title/description override. Don't use this field to verify whether a live page reflects a manual per-page SEO edit.  Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the response entirely — there, `false` means this API could not tell, not that no custom tag exists. Pass `seoData` explicitly to resolve against a known set of tags.  `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.  
                 - name: disabled | type: boolean | description: Whether the tag is excluded from the rendered <head>.  A disabled tag is still stored, so the user can re-enable it and so a pattern-provided tag stays suppressed on this page. Default false.  
              - name: focusKeywords | type: array<Keyword> | description: Keywords the item's content is intended to rank for. Used by Wix's SEO tools to assess the item's content; they aren't rendered on the page.  Mark the item's main keyword with `isMain` rather than relying on its position in the list.  | validation: maxItems 5
                 - name: term | type: string | description: The term itself, e.g. "trail running shoes".  No maxLength, for the same reason as the legacy tag fields: keywords are already stored, and a bound added now could reject a record written before the bound existed. The flynt `missing-string-validations` warning on this field is accepted deliberately.  
                 - name: isMain | type: boolean | description: Whether this is the page's primary focus keyword. At most one per page.  
                 - name: origin | type: string | description: Which surface added the term, e.g. a panel or a suggestion flow. Used for attribution in BI. Opaque to the renderer.  | validation: maxLength 1000
           - name: fieldMask | type: array<string> | description: Fields to update for this item.  Supported properties: `tags`, `focusKeywords`  Over REST, send the mask as a comma-separated string, for example `"fieldMask": "tags"`. The JavaScript SDK takes an array of strings instead, for example `fieldMask: ["tags"]`.  
        - name: publish | type: boolean | description: Whether to save and publish every change to the existing live revision, for item types that keep a separate draft, such as static pages.  Default: `false`  
        - name: returnEntity | type: boolean | description: Whether to return the updated item SEO tags in the results.  Default: `false`  
 Return type: PROMISE<BulkSetItemSeoTagsResponse>
  - name: results | type: array<BulkItemSeoTagsResult> | description: Result for each item in the request, in the same order.  Match a result to the item you sent using `itemMetadata.originalIndex`. When an item fails, the reason is in `itemMetadata.error`.  | validation: maxItems 100
     - name: itemMetadata | type: ItemMetadata | description: Whether setting this item's tags succeeded, which item in the request it refers to, and the reason if it failed.  
        - name: _id | type: string | description: Item GUID. Should always be available, unless it's impossible (for example, when failing to create an item).  | validation: maxLength 100
        - name: originalIndex | type: integer | description: Index of the item within the request array. Allows for correlation between request and response items.  
        - name: success | type: boolean | description: Whether the requested action was successful for this item. When `false`, the `error` field is populated.  
        - name: error | type: ApplicationError | description: Details about the error in case of failure.  
           - name: code | type: string | description: Error code.  
           - name: description | type: string | description: Description of the error.  
           - name: data | type: object | description: Data related to the error.  
     - name: item | type: ItemSeoTags | description: Updated item SEO tags.  Returned only when `returnEntity` is `true` and the item succeeded.  
        - name: _id | type: string | description: Item SEO tags GUID, in the format `{itemType}:{itemId}`.  | read-only: true | validation: maxLength 400
        - name: itemType | type: string | description: Type of item the tags belong to. For example, `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.  For an item on a page built from a Wix Data collection, the item type takes the form `WIX_DATA_PAGE_ITEM-{pageId}`.  | read-only: true | validation: maxLength 100
        - name: itemId | type: string | description: GUID of the item the tags belong to. For a static page, this is the page GUID.  | read-only: true | validation: maxLength 200
        - name: tags | type: array<Tag> | description: Tags set for this item alone, which take precedence over the tags it would otherwise inherit.  Empty when the item has no tags of its own.  Each tag can be up to 4,096 bytes, measured as its serialized JSON. A structured-data tag (`script` with `props.type` set to `application/ld+json`) can hold up to 12,000 characters of JSON-LD, the same limit as the SEO panel, and all structured data in one list up to 409,600 bytes. A tag over its limit fails with `INVALID_TAGS`, unless the write sends it exactly as it's already stored.  | validation: maxItems 100
           - name: type | type: string | description: Legacy. Was a free-form string: "title" | "meta" | "script" | "link". The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes the invalid combinations unrepresentable rather than merely discouraged.  Which of these an API actually accepts depends on where the tag is being set: this list is not a blanket guarantee across every API that reuses this message. Site SEO Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation error even though they appear here — check the field description of the specific `tags`-typed field you are writing to.  Limitation: `title` and `script` (e.g. a `script` tag with `props.type` "application/ld+json" carrying structured data) are supported only when `custom` is unset or `false`. Setting `custom: true` on a `title` or `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the write through the site's Advanced/Custom Tags list. To write structured data, omit `custom` (or set it to `false`).  No length limit: this field holds data written years ago by writers we are not migrating. A constraint here could reject a record that is already stored, which is exactly the promise this design makes.  
           - name: props | type: object | description: Legacy. Was an untyped bag of HTML attributes. Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.  
           - name: meta | type: object | description: Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2` its contents are split by purpose: per-page structured-data state moves to StructuredDataTag, authorship to `written_by`, and render-time preset logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the stored document entirely — it belongs to the preset definition, not to the page. See the design log for the full key-by-key mapping.  
           - name: children | type: string | description: Legacy. Was the tag's inner content, doubling as the JSON-LD payload for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and `StructuredDataTag.json_ld`. No length limit, for the same reason as `type` above.  
           - name: custom | type: boolean | description: Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) — i.e. an entry from the site's Advanced/Custom Tags list.  Setting this to `true` on a write restricts which `type` values are accepted — the same restriction the Advanced/Custom Tags UI enforces. `title` and `script` tags (including JSON-LD structured data) must be sent with `custom` omitted or `false`; sending them with `custom: true` is rejected with `TAG_TYPE_NOT_ALLOWED`.  Note this is a separate restriction from Site SEO Tags' own type restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g. for site-wide structured data) unconditionally. There is currently no way to set site-wide, every-page structured data through any of these APIs — write a per-page `script` tag through the Item SEO Tags API instead.  This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed default/pattern — standard tags always resolve with `custom: false`, even when their content comes from a page's manually saved SEO title/description override. Don't use this field to verify whether a live page reflects a manual per-page SEO edit.  Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the response entirely — there, `false` means this API could not tell, not that no custom tag exists. Pass `seoData` explicitly to resolve against a known set of tags.  `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.  
           - name: disabled | type: boolean | description: Whether the tag is excluded from the rendered <head>.  A disabled tag is still stored, so the user can re-enable it and so a pattern-provided tag stays suppressed on this page. Default false.  
        - name: focusKeywords | type: array<Keyword> | description: Keywords the item's content is intended to rank for. Used by Wix's SEO tools to assess the item's content; they aren't rendered on the page.  Mark the item's main keyword with `isMain` rather than relying on its position in the list.  | validation: maxItems 5
           - name: term | type: string | description: The term itself, e.g. "trail running shoes".  No maxLength, for the same reason as the legacy tag fields: keywords are already stored, and a bound added now could reject a record written before the bound existed. The flynt `missing-string-validations` warning on this field is accepted deliberately.  
           - name: isMain | type: boolean | description: Whether this is the page's primary focus keyword. At most one per page.  
           - name: origin | type: string | description: Which surface added the term, e.g. a panel or a suggestion flow. Used for attribution in BI. Opaque to the renderer.  | validation: maxLength 1000
        - name: hasOverride | type: boolean | description: Whether the item has tags of its own, as opposed to inheriting them.  `false` doesn't mean the item shows Wix's built-in tags: it may inherit from the pattern for its item type, from the site's tags, or from the page that hosts it. See `resolvedTags` for the tags the item is expected to render with.  | read-only: true 
        - name: resolvedTags | type: array<ResolvedTag> | description: The tags the item is expected to render with, each marked with where it came from.  Derived by combining every source Wix manages, so it reflects inherited tags as well as the item's own. Tags that site code, apps, or page components add while the page renders aren't included, so this isn't a literal copy of the page's rendered head.  If a tag's source can't be determined, the tag is still exact but its `source` is `TAG_SOURCE_UNSPECIFIED`.  | read-only: true | validation: maxItems 500
           - name: tag | type: Tag | description: Resolved SEO tag.  
           - name: source | type: TagSource | description: Where the tag came from.  
                 - enum:
                 -     TAG_SOURCE_UNSPECIFIED: Unknown source.
                 -     TAG_SOURCE_SITE: The site's own site-wide tags.
                 -     TAG_SOURCE_DEFAULT_PATTERN: The pattern Wix provides for the page type.
                 -     TAG_SOURCE_USER_PATTERN: The pattern the Wix user customized for the page type.
                 -     TAG_SOURCE_HOST_PAGE: The tags of the page the item is displayed on.
                 -     TAG_SOURCE_ITEM: The item's own tags, which the Wix user set for that item alone.
           - name: inheritedTag | type: Tag | description: The tag that `tag` replaced: what this tag would be if the source that set it didn't. Returned only when a source replaced a value an earlier source had set, so it's absent when `source` is the only source that set the tag.  It reports the value from one source down the list, not the Wix built-in. For a tag an item sets on a page type whose pattern the site customized, it's the customized pattern's tag, because that's what the item inherits and what resetting the item surfaces.  | read-only: true 
        - name: hostPageId | type: string | description: GUID of the page that displays the item, for items shown on a shared page, such as a blog post or a store product.  Informational: the hosting page can't be addressed through this API.  | read-only: true | validation: maxLength 200
        - name: publishStatus | type: PublishStatus | description: Whether the item's SEO tags are live on the published site.  | read-only: true 
             - enum:
             -     PUBLISH_STATUS_UNSPECIFIED: Unknown publish status. Returned when the item type doesn't report one.  `STATIC_PAGE` always reports this today, even though a static page keeps a separate draft and published revision: there's no live-revision read path yet, so this status can't distinguish a page that's live from one that only exists as a draft.
             -     PUBLISH_STATUS_PUBLISHED: The item's SEO tags are live on the published site. Item types that keep no separate draft, such as store products, events, and portfolio collections, always report this status.
             -     PUBLISH_STATUS_NOT_PUBLISHED: The item has never been published, so its SEO tags exist only as a draft and aren't on the live site. For example, a blog post that's still a draft.
        - name: language | type: string | description: Language the tags apply to, as an IETF BCP 47 language tag. For example, `en-US` for U.S. English.  Tags can currently be written only for the site's primary language, so leave this unset on a write. Sending a language fails with `LANGUAGE_NOT_SUPPORTED`.  | read-only: true | validation: maxLength 100
        - name: origin | type: Origin | description: What made the most recent change to the item's tags, for example a user or the site migration flow. Derived from the caller, not from the request.  `ORIGIN_UNSPECIFIED` when the caller isn't one Wix identifies as a specific origin. Origin isn't stored with the tags either, so Get Item SEO Tags and List Item SEO Tags always return `ORIGIN_UNSPECIFIED`.  | read-only: true 
             - enum:
             -     ORIGIN_UNSPECIFIED: Unknown origin. Returned by read methods, because origin isn't stored alongside the data it describes.
             -     ORIGIN_USER: A user, working in the dashboard or editor, or calling the API on their own behalf.
             -     ORIGIN_MIGRATION: The flow that imports an existing site into Wix.
             -     ORIGIN_AI: An AI agent or an automated suggestion flow.
  - name: bulkActionMetadata | type: BulkActionMetadata | description: How many items succeeded and how many failed.  
     - name: totalSuccesses | type: integer | description: Number of items that were successfully processed.  
     - name: totalFailures | type: integer | description: Number of items that couldn't be processed.  
     - name: undetailedFailures | type: integer | description: Number of failures without details because detailed failure threshold was exceeded.  

 Possible Errors:
   HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: BULK_CHUNK_SIZE_EXCEEDED | Description: `entries` has more items than this item type's own bulk limit allows (for example, more than 20 for `BLOG_POST`), even though it's within the general `maxSize: 100` on `entries`. The error message names the item type's limit.
   HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: UNSUPPORTED_ITEM_TYPE | Description: Wix doesn't support the specified item type.
   HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: BULK_NOT_SUPPORTED_FOR_ITEM_TYPE | Description: The item type doesn't support setting tags for multiple items at once. Set the items one at a time with Set Item SEO Tags instead.
   HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: DRAFT_SAVED_NOT_PUBLISHED | Description: The drafts named by savedItemIds are saved, but the site has no public revision.


```

### Examples

### Set the titles of several pages in one call
The code filters the results for entries that failed, although both entries succeed here.

```javascript
import { itemSeoTags } from "@wix/seo";

async function bulkSetItemSeoTags() {
  const response = await itemSeoTags.bulkSetItemSeoTags("STATIC_PAGE", {
    entries: [
      {
        itemId: "c1dmp",
        itemSeoTags: {
          tags: [{ type: "title", children: "Winter collection | Ceramics studio" }],
        },
        fieldMask: ["tags"],
      },
      {
        itemId: "j4xh7",
        itemSeoTags: {
          tags: [{ type: "title", children: "Journal | Ceramics studio" }],
        },
        fieldMask: ["tags"],
      },
    ],
    returnEntity: true,
  });
  // bulkSetItemSeoTags resolves even when individual items fail, so check the results
  // rather than assuming every item was written.
  const failedEntries = response.results.filter(
    ({ itemMetadata }) => itemMetadata?.success !== true,
  );
  return { response, failedEntries };
}

/* Promise resolves to:
 * {
 *   "results": [
 *     {
 *       "itemMetadata": { "id": "c1dmp", "originalIndex": 0, "success": true },
 *       "item": { "_id": "STATIC_PAGE:c1dmp", "itemId": "c1dmp", "hasOverride": true }
 *     },
 *     {
 *       "itemMetadata": { "id": "j4xh7", "originalIndex": 1, "success": true },
 *       "item": { "_id": "STATIC_PAGE:j4xh7", "itemId": "j4xh7", "hasOverride": true }
 *     }
 *   ],
 *   "bulkActionMetadata": {
 *     "totalSuccesses": 2,
 *     "totalFailures": 0,
 *     "undetailedFailures": 0
 *   }
 * }
 */

```

### bulkSetItemSeoTags (self-managed)
Self-managed SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md).

```javascript
import { createClient } from '@wix/sdk';
import { itemSeoTags } from '@wix/seo';
// Import the auth strategy for the relevant access type
// Import the relevant host module if needed

const myWixClient = createClient ({
  modules: { itemSeoTags },
  // Include the auth strategy and host as relevant
});


async function bulkSetItemSeoTags(itemType,options) {
  const response = await myWixClient.itemSeoTags.bulkSetItemSeoTags(itemType,options);
};
```

---