OverviewPlatformsAPI ReferenceResources
Commerce

Add or remove tags in bulk

POSThttps://zernio.com/api/v1/commerce/products/tags

Adds and/or removes tags on up to 50 products and reports each product's outcome.

PlatformsShopify

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Body

application/json

What every request needs

accountIdstringRequired
productIdsarray of stringsRequired
Optional parameters2 fields
addarray of strings
removearray of strings

Responses

Success· the request worked

Errors· the request failed

POST/v1/commerce/products/tags
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.commerce.changeCommerceProductTags({  body: {    accountId: 'account_abc123',    productIds: [      'product_abc123',    ],  },});console.log(data);
{  "succeeded": [    "string"  ],  "failed": [    {      "id": "string",      "message": "string"    }  ]}
OpenAPI specification
Was this page helpful?