Commerce
Update variant prices
POSThttps:/ / zernio.com/ api/ v1/ commerce/ products/ {productId}/ price
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.
PlatformsShopify
Authentication
AuthorizationBearer tokenRequired
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
productIdstringRequired
Platform-native product id.
Body
application/jsonWhat every request needs
accountIdstringRequired
variantsarray of objectRequired
idstringRequired
Variant id from the product response.
Optional parameters2 fields
variants[].priceone of 2 types
variants[].compareAtPriceone of 3 types
Responses
Success· the request worked
Errors· the request failed
Add or remove tags in bulk
Adds and/or removes tags on up to 50 products and reports each product's outcome.
Add variants
Adds variants to a product. Each variant names a value for every product option (create options first with POST .../options). A product's placeholder default variant is replaced when real ones arrive.