> For the complete documentation index, see [llms.txt](https://shop-docs.xorosoft.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shop-docs.xorosoft.io/getting-started/workflow/orders.md).

# Orders

This page provides information on order import actions.

<figure><img src="https://2404680334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6LYHhamvyZMdMHXwEM3g%2Fuploads%2FZxmDezGQ5eVPxl5txyJH%2FScreenshot%202023-07-05%20at%2010.30.21%20AM.png?alt=media&amp;token=0f9f2e8d-8472-48c5-9f8b-0182b1700321" alt=""><figcaption><p>Order Import Actions</p></figcaption></figure>

1. **Import By Date Range**: This option allows you to import Shopify orders within the specified date range. Simply select a **start date** and an **end date**, and click on import. This will fetch all the Shopify orders that were created within that date range and add them to the order import queue for (re)processing.

<figure><img src="https://2404680334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6LYHhamvyZMdMHXwEM3g%2Fuploads%2Fuyxr86cqRW0OCLRTgwbx%2FScreenshot%202023-07-05%20at%2010.36.57%20AM.png?alt=media&amp;token=32084981-98ec-4504-8043-d4af0a9b6910" alt=""><figcaption><p>Date-Range Based Order Import</p></figcaption></figure>

2. **Import By Order**: This option allows you to import a specific group of orders by either a Shopify order number, order ID, or a custom query.
   1. **Order Number**: This field allows you to import a single Shopify order by its order number.
   2. **Order ID**: This field allows you to import multiple Shopify orders by their ID. This ID can be found in the URL *(.../orders/\<order\_id>)* of an order. Each order ID needs to be separated by a comma (,).
   3. **Custom Query**: This field allows you to run a custom query to import order(s). This is an advanced query field that should only be used if you are familiar with Shopify GET order queries.

<figure><img src="https://2404680334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6LYHhamvyZMdMHXwEM3g%2Fuploads%2FgqyGBcJAQaSpV42OWM24%2FScreenshot%202023-07-05%20at%2010.43.50%20AM.png?alt=media&amp;token=c922f0ca-2067-4223-b5b6-15a067a10fbe" alt=""><figcaption><p>Value Based Order Import</p></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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://shop-docs.xorosoft.io/getting-started/workflow/orders.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
