Getting started with Rules

A rule determines which products of your incoming orders should be ordered from which suppliers. You can decide this based on the order details or product specifications of your incoming orders.

To create a rule you need to set conditions. A condition consists of 4 parts: 

  • Variable (1)

  • Operator (2)

  • Value (3)

  • Match type (4)

After you have created the conditions, you need to select the supplier from where you want to buy the products that match the rule.

Product and order variables

All incoming orders and associated products contain variables. To use these variables, you need to add this information into your webshop. If the variables are not shown in your Dropday account, then it is possible that they are not set in your webshop. 

Product variables

Products can have the following variables: 

  • External ID

  • EAN-13

  • Name

  • Reference (SKU)

  • Quantity

  • Stock quantity

  • Price

  • Brand

  • Category

  • Supplier

Order variables

Orders can have the following variables: 

  • External ID

  • Order Source (Store Name)

  • Test

  • Total Paid

  • Shipping Costs

  • Email Address

  • Delivery Address

Operators

After choosing the Variable, you need to choose the Operator. Here is a list of operators you can choose: 

  • Begins with

  • Ends with

  • Is

  • Is not

  • Contains

  • Does not contain

  • Greater than

  • Smaller than

  • In list

Value

After choosing the Variable and the Operator, you need to fill in the Value. Based on the Operator, the Value can be plain text, a number or a list. For example: 

  • When Operator is “Contains” → Value can contain text or numbers, or a combination

  • When Operator is “Greater than” → Value can be a number

  • When Operator is “In list” → Value can be a list of multiple values

Here are some examples of how Rules work: 

  • Product name | contains | Shirt
    All products with “shirt” in their name…

  • Reference (SKU) | begins with | XYZ
    All products that begins with “XYZ” in the SKU

  • Stock Quantity | smaller than | 1
    All products that are not in stock

  • EAN-13 | in list | 8717775680700, 8717775680701, 8717775680702
    All products with EAN “8717775680700”, “8717775680701” or “8717775680702”

  • Order Source (Store Name) | is | myshopifystore.com
    All products from store “myshopifystore.com”

  • Delivery Address State | is | California
    All products that are ordered from customers in California

Match type

There are endless possibilities when creating Rules. You can choose a single condition or combine multiple conditions with positive and negative relationships to target the right products. Do do this, you have to select the match type: 

  • Meets one of these conditions → products that meets at least one of the conditions

  • Meets all conditions → products that meet all conditions

Supplier

After you have created the conditions, you need to select the supplier from where you want to buy the products that match the rule.

More information