Add or remove tags in bulk
Adds and/or removes tags on up to 50 products and reports each product's outcome.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
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" } ]}Activate, deactivate, archive or delete products
Applies one action to up to 50 products and reports each product's outcome, so one failure does not abort the rest. On Shopify, `deactivate` sets the product to draft and `delete` is permanent.
Update variant prices
Sets the price and/or compare-at price of the listed variants. Other variants are untouched. Amounts are in the store currency; send `compareAtPrice: null` to remove a strike-through price.