> For the complete documentation index, see [llms.txt](https://help.orderdesk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.orderdesk.com/integration-setup-guides/sales-channels/samcart-integration.md).

# SamCart Integration

Order Desk can connect to your [SamCart](https://www.samcart.com/) account and download your orders.

### Setup

To connect to the SamCart integration, click on **Manage Integrations** under the Integrations menu in the left sidebar. Under the **Shopping Carts** tab, find and enable SamCart.

![](https://251457507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQOLMUJWMYtrpQ7Oxxca%2Fuploads%2Fce3GNRpE3Y34qgOUVED5%2Flegacy-4b1ceca7ee3ee7257979.png?alt=media)

Alternatively, search for SamCart from the available integration search.

![](https://251457507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQOLMUJWMYtrpQ7Oxxca%2Fuploads%2FTZpgobvQPDHpLc1mwWnr%2Flegacy-a4e4bba8d577e0ce8151.png?alt=media)

### Integration Settings

Once connected, set your SamCart preferences in the integration settings.

![](https://251457507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQOLMUJWMYtrpQ7Oxxca%2Fuploads%2Fa5UagygN3O1aGKb8YiM9%2Flegacy-089247e4643db2b1dfbe.png?alt=media)

#### Order Download

Enable this setting for orders to automatically be downloaded into Order Desk as they are placed.

Orders are sent with a single product at a time and will be sent to Order Desk after the order has been placed. We won’t be able to import historical orders.

#### Create Renewal Orders

Enable this setting to create a new order whenever a subscription order has been renewed. If you require the creation of renewal orders to trigger actions in your Order Desk store, you may utilize the **SamCart Order Subscription Renewed** event in the Rule Builder. You can learn more about using the Rule Builder [here](/guided-walkthroughs/rules-and-automations/how-to-work-with-rules.md).

#### Notify URL

The Notify URL option will only appear at certain subscription levels of SamCart accounts. For more information about SamCart’s Notify URLs, please read their [support article](https://help.samcart.com/support/solutions/articles/60000506436-notify-url) on the topic.

Set this URL as the **Notify URL** on any SamCart products that you want to have sent to Order Desk. The SamCart Notify URL must be set up with the Product Purchased trigger. This will send us separate notifications for every item on an order.

The order is considered imported when Order Desk receives the first notification. If you have any rules triggered by **When Order is Imported** they will activate on only the first item notification received from SamCart.

Because of this, you will need to use the **SamCart Order Completed** event rather than the **Order Imported** event if you use rules to take actions on orders from SamCart as they come into Order Desk. This will ensure that orders with more than one item will be fully imported before the rule runs on them.

![](https://251457507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQOLMUJWMYtrpQ7Oxxca%2Fuploads%2Fyzbpe4xCqbafTUHwHZZd%2Flegacy-15a6f86717faa3f2eb1a.png?alt=media)

#### Folder for New Orders

Select the folder where newly imported orders from SamCart should be placed.

For more information, see the [Working with Folders](/start-here/getting-started-series/quick-start-overview.md#working-with-folders) guide.

#### Order Prefix

If you need to, you can add a prefix of your choice that will be added to all orders downloaded from SamCart.


---

# 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://help.orderdesk.com/integration-setup-guides/sales-channels/samcart-integration.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.
