Complex Rules
Complex rules allow merchants to set up conditions and actions based on shopper option selections on the storefront.
For the majority of merchant use cases, either assigning values (such as a price) to a variant option or using adjusters on a modifier option is a better means of doing these things.
When can you use complex rules?
Complex rules exist for rare cases where a rule condition is too complex to easily express in those forms.
Complex rules should be used in cases where an adjustment should be triggered by the selection of multiple modifier values or a variant and a modifier option.
- You can apply price, weight, image, or availability adjustments to products, based on a set of conditions
- Must either contain more than one modifier value, or else contain a modifier value and a variant ID
- When you need adjustments based on selections from two or more modifier options
- When you want to make adjustments based on selections of variant options AND modifier options
Create a Complex Rule
Creates a product complex rule.
Required Fields:
conditions(array of condition objects)
A GET request to this endpoint will return a list of all product complex rules.
Click the CONTINUE button to send the POST request below to create a complex rule:


Update a Complex Rule
Updates a complex rule.
Use this endpoint to GET and/or DELETE a single complex rule.