> For the complete documentation index, see [llms.txt](https://apidocs.akinon.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.akinon.com/omnitron/integration/migration/getting-started.md).

# Getting Started

## <mark style="color:red;">General Flow</mark>

* The User, Address, Order, and Order Item information to be migrated is obtained.
* A test User, Address, Order, and Order Item are prepared each.
* Knowledge of the User's password is required.
* Test migration is performed for the User.
* Test migration is performed for Address.
* Test migration is performed for Order.
* Test migration is performed for Order Item.
* Once the tests are successful, the real migration is performed in the same order.

## <mark style="color:red;">Migration Flow Control</mark>

### **Recommended Checklist**

* The User, Address, Order, and Order Item should be migrated in sequence. The progress of each migration\_id received with each request should be monitored. If error\_count:1 is received, before proceeding to the next step, the formats of the data in the sent JSON should be checked.
* After completing the Order Item migration, login should be performed with the credentials of the migrated User.
* On the "My Addresses" page, the arrival of the address should be confirmed at `/account/address/`.
* In the "My Past Orders" page, it should be verified that the migrated order is at `/users/old-orders/`, and the order items are at `/users/old-orders/{pk}`.
* If the testing process is successful, real data should be migrated.

{% hint style="warning" %}
Detailed logs of errors encountered during the migration process are not currently being maintained. Therefore, in the script you'll be writing, we recommend logging each request along with the sent data. This way, in case of any potential errors, you'll be able to debug using the data you've sent.
{% endhint %}


---

# 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://apidocs.akinon.com/omnitron/integration/migration/getting-started.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.
