POST

Bulk Adjust Product Variants By Filter


Adjusts the prices and costs of multiple variants by a specified amount or percentage, given the provided filter and search expression.

Use this method to apply bulk pricing changes, such as increasing all prices by 10%, without setting explicit values. Use Bulk Update Product Variants By Filter to set explicit values instead.

The following variant fields can be increased or decreased:

  • compareAtPrice - Original price before discounts
  • actualPrice - Current selling price
  • cost - Merchant's cost to acquire/produce the item
  • compareAtPriceDiscount - Discount percentage applied to compare-at price
Authentication

This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:

Permissions
Product write in v3 catalog
Learn more about app permissions.
Method Declaration
Copy
Errors
400Invalid Argument

There are 7 errors with this status code.

428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?