# Rules based on shipping method
URL: https://support.starshipit.com/articles/115000245226-rules-based-on-shipping-method
Canonical: https://support.starshipit.com/articles/115000245226-rules-based-on-shipping-method
Markdown: https://support.starshipit.com/articles/115000245226-rules-based-on-shipping-method.md
Updated: 2026-05-07

> For the complete documentation index, see [llms.txt](https://support.starshipit.com/llms.txt).

> How to create rules in Starshipit based on the shipping method your customer selected at checkout.

You can create rules in Starshipit based on the shipping method and shipping description your customer has selected during checkout. Starshipit can use this information to allocate a specific courier and product code.

For example, if your customer selects StarTrack Express, their shipping method might be "StarTrack_Exp". You can set up a rule to automatically assign this order to StarTrack, for example: if Shipping Method = StarTrack_Exp, set up StarTrack as the courier and the product code as EXP (express).

{{video:youtube:knOze5mwgh8}}

## How to set up a rule based on the shipping method

### 1. Find the shipping method for a particular order

* Open an order from the **New** section.
* On every order, in the right-hand top corner the Shipping Method is displayed; the second field is the Shipping Description. Both can be used when setting up rules.

![mceclip1.png](/uploads/articles/notifications-branded-tracking-rules-child-accounts/business-rules/rules-based-on-shipping-method/image_360005210775.png)

### 2. Set up the rule

1. In Starshipit, navigate to **Settings** > **Rules**.
2. Click **Add a new rule**.
3. Under **Conditions** select **Shipping Method**.
4. Copy and paste the shipping method referenced from [Step 1](#h_01J81BBDTV6B3WSPZFQWQ3J3SX).
5. Under Actions, select **Set** **Courier & Product Code**.
6. Select the courier and product code to be used in the rule.

![mceclip2.png](/uploads/articles/notifications-branded-tracking-rules-child-accounts/business-rules/rules-based-on-shipping-method/image_360005332176.png)

**What's next?**

Find out more about [setting up rules in Starshipit](/articles/notifications-branded-tracking-rules-child-accounts/business-rules/rules-overview).
