> For the complete documentation index, see [llms.txt](https://script-and-theory.gitbook.io/all-in-one-commerce-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://script-and-theory.gitbook.io/all-in-one-commerce-docs/advanced-shipping-rules/rate-groups.md).

# Rate groups

Rate groups are used to group multiple rates into one. This gives you more control in how rates from different product groups are blended together.

* For example, you may want to offer the more expensive option of a weight-based rate or carrier shipping option to your customer but do not want the customer to see both choices, a rate group can help you set up such a rule.
* Rate groups can be accessed by clicking on the Rate Groups tab from your All in one commerce tab interface.
* You must have at least one rate created before you can assign rates to a rate group. It is recommended you set up your rates first.
*

```
<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcVitD7PqOey1-W8-zuMOk9Eddoe5Y07_S-j9gfoH2odonjwHNTc81h9yaFGpKAvPjhH-j0Y-KyvuyDA4uS45IHeG6m-PRrLu5QG0rCAygN4a7l_W_LnZClL4_WHKIxhRCMJhs?key=PWWdpJ3Y_qEUOcs-2MfQnVdS" alt=""><figcaption></figcaption></figure>
```


---

# 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://script-and-theory.gitbook.io/all-in-one-commerce-docs/advanced-shipping-rules/rate-groups.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.
