This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Adjusts the price and cost of multiple variants, given the provided filter and search expression.
Only the following variant fields can be increased/decreased by amount or percentage:
compareAtPrice
actualPrice
cost
compareAtPriceDiscount
You can only call this method when authenticated as a Wix app or Wix user identity.
Filter object.
Cost adjustment.
Rounding strategy of new calculated prices.
NO_ROUNDING
: Calculated prices will be saved without rounding to keep max possible precision.CURRENCY_PRECISION
: Calculated prices will be rounded according to the currency's precision requirements. For example. $3.5555
will be saved as $3.56
; ¥3.5555
will be saved as ¥4
.NEAREST_WHOLE_NUMBER
: Calculated prices will be rounded to the nearest whole number.Free text to match in searchable fields.
Actual price adjustment.
Compare at price adjustment.
Set variant actualPrice from compareAtPrice by applying provided discount to it.
if compare-at-price doesn't exist, actualPrice will be set to compareAtPrice and the discount will be calculated from it.
For example variant compareAtPrice 100$, variant actualPrice is 95$, requested compareAtPriceDiscount.percentage
is 10, then old actual price ignored and new actual price set to 90 (100$ - 10%).
Job ID.
Pass this ID to Get Async Job to retrieve job details and metadata..
Decreases the actual price, compare at price, and cost of all product variants that were created after July 22nd, 2024.
There are 2 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.