> 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/profiles.md).

# Profiles

* A Shipping profile is the relationship between your Shipping groups, Product groups and locations, Zones, Rate and Rate groups, this tells All in one commerce how to calculate the rate for each order.
* In general a profile consists of a Shipping Group
* Each Shipping Group contains one or more Product Groups
* Each Product Group contains one or more Zones
* Each Zone contains one or more Rates or Rate Groups
* If an order does not fall into any profile, they will see no rates at checkout. Similarly if a product does not fall into any profile, when this product is added to the cart, the customer will see no rates either. If you have other rates setup in your Shopify shipping settings, they will continue to be available to your customers.
* You must create your rates, rate groups, product groups and zones first before assigning them to a profile.
* Each order, an order will only belong to a single shipping profile and a single zone, however the products in the cart can be split between multiple product groups depending on how you have set them up.
* Shopify requires a single set of shipping rates for each order, as such your rates need to be blended into a single set of rates should they be split between multiple product groups.


---

# 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/profiles.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.
