# Rules based on weight
URL: https://support.starshipit.com/articles/218337323-rules-based-on-weight
Canonical: https://support.starshipit.com/articles/218337323-rules-based-on-weight
Markdown: https://support.starshipit.com/articles/218337323-rules-based-on-weight.md
Updated: 2026-11-25

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

> Assign a courier service based on total order weight and check the rule on a matching order.

Assign a courier service based on the total weight of an order. For example, use a different service when an order weighs more than 12 kg.

## How to set up a rule based on weight

1. Go to **Settings > Rules** and select **Add a new rule**.
2. Under **Conditions**, select **Order Weight**.
3. Choose the comparison shown for that condition, such as **Greater Than** or **Less Than**. Enter the weight in kilograms as a number, without typing the unit.
4. Under **Actions**, select **Set Courier & Product Code**.
5. Select the courier and product code.
6. Select **Save**.
7. Check the saved rule. Test an order on either side of the threshold and review which service is assigned.

### Limitations

The rule compares the total order weight. A **Greater Than** comparison applies above the threshold and a **Less Than** comparison applies below it.

## If a condition is rejected

If Barry says the condition or operator is unavailable, reopen **Settings > Rules** and check the options for your account. Use one of the comparisons listed for **Order Weight**. If the weight is rejected, check that you entered only the number. Confirm that the rule appears in the saved list before relying on it.

See [how to test and run rules manually](/articles/115001575803-rules-overview#how-to-test-and-run-rules-manually).
