Commerce
Set fixed prices
Sets fixed prices for variants in the price list's currency, overriding the converted price in that market.
PlatformsShopify
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
priceListId*string
Platform-native id.
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.setCommercePriceListPrices({ path: { priceListId: 'pricelist_abc123', }, body: { accountId: 'account_abc123', prices: [ { variantId: 'variant_abc123', price: 'string', }, ], },});console.log(data);{ "priceListId": "string", "updated": 0}Was this page helpful?