> For the complete documentation index, see [llms.txt](https://docs.samita.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.samita.io/samita-wholesale-b2b/add-on-features/create-a-shipping-rate/limit-the-number-of-time-applying-the-shipping-rate.md).

# Limit the number of time applying the Shipping rate

You can also cap how many times a shipping rate rule is allowed to apply. There are two options, and which one you see depends on the **Customer condition** you chose for the rule:

* If the rule applies to **All customers**, you'll see **Limit number of times this rule can be applied in total**.

<figure><img src="/files/JPOw1r3z1LgNrQ4NIG3E" alt=""><figcaption></figcaption></figure>

* If the rule applies to **Logged-in customers** or **Customer tags**, you'll see **Limit number of times this rule can be applied per customer**.

<figure><img src="/files/l3SrkRDu9ehuUQvDZl6G" alt=""><figcaption></figcaption></figure>

## How these settings work

### Limit number of times this rule can be applied in total

This caps how many times the shipping rate applies across your **entire store**, regardless of who's buying.

Turn this on and enter a number — for example, `10`:

<figure><img src="/files/MsivBZX5PiogyKMJdxH4" alt=""><figcaption></figcaption></figure>

The shipping rate applies to the first 10 orders that qualify. After that, it stops — the 11th qualifying customer sees your store's normal shipping rates instead.

### Limit number of times this rule can be applied per customer

This caps how many times the shipping rate applies **to each individual customer** (based on the logged-in or tag condition you set).

Turn this on and enter a number — for example, `5`:

<figure><img src="/files/dFLEbuR05luXuqkXYWNR" alt=""><figcaption></figcaption></figure>

Each eligible customer gets this shipping rate on their first 5 qualifying orders. From their 6th order onward, they see normal shipping rates instead — there's no limit on how many different customers this applies to.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.samita.io/samita-wholesale-b2b/add-on-features/create-a-shipping-rate/limit-the-number-of-time-applying-the-shipping-rate.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
