# 9. Đồng bộ đơn hàng từ Landing Page sang Sapo

Để đồng bộ đơn hàng từ LadiPage lên nền tảng Sapo, trước tiên bạn cần phải có tài khoản tại Sapo và tạo các sản phẩm ở mục Sản phẩm của Sapo.

Sau đó bạn có thể thực hiện theo các bước sau đây:

## **Bước 1 : Tạo tài khoản liên kết.**

**Cách 1 : Tạo tài khoản liên kết từ mục Cài đặt** \
Truy cập trang [builder.ladipage.com](http://builder.ladipage.com/), chọn menu **Cài đặt -> Tích hợp-> Tài khoản liên kết**. Sau đó lựa chọn Loại tài khoản là **Sapo**

<figure><img src="https://3336777906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaiAPp1ii3U3gXdxFLih2%2Fuploads%2F4DXgKAlGcTEiGQPaQXWK%2Fimage.png?alt=media&#x26;token=ad79702b-6de4-4531-ba20-e551e24b8ccf" alt=""><figcaption></figcaption></figure>

**Cách 2 : Tạo tài khoản liên kết từ mục Landing Pages -> Cấu hình form**

Truy cập trang [builder.ladipage.com](http://builder.ladipage.com/), chọn menu Landing Pages **-> Cấu hình form-> Tạo cấu hình form -> Form data -> Tạo tài khoản liên kết .**&#x53;au đó lựa chọn Loại tài khoản là **Sapo**

<figure><img src="https://3336777906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaiAPp1ii3U3gXdxFLih2%2Fuploads%2FzmJO7pPd6wMTlzoNaUto%2Fimage.png?alt=media&#x26;token=cbab7546-f037-4bc6-adf5-b21eef09c27b" alt=""><figcaption><p>Chọn Tạo cấu hình form -> Form data </p></figcaption></figure>

<figure><img src="https://3336777906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaiAPp1ii3U3gXdxFLih2%2Fuploads%2F9u4DXd0GFkq8UCQdqwUv%2Fimage.png?alt=media&#x26;token=58dfcd1a-c906-4e3c-8823-535a42791978" alt=""><figcaption><p>Chọn Tạo tài khoản liên kết</p></figcaption></figure>

<figure><img src="https://3336777906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaiAPp1ii3U3gXdxFLih2%2Fuploads%2FWwFLG4bgM0OyrERcii5v%2Fimage.png?alt=media&#x26;token=2a92d69f-31d6-4e83-bc0b-6d8a8561b25c" alt=""><figcaption></figcaption></figure>

## **Bước 2:** Nhập đầy đủ các thông tin:

**Tên Liên kết:** Là tên để phân biệt với các liên kết khác.&#x20;

**API URL**: Lấy từ tài khoản admin Sapo của bạn.

<figure><img src="https://3336777906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaiAPp1ii3U3gXdxFLih2%2Fuploads%2FGRia1BPVU9tU3lz1Y8xD%2Fimage.png?alt=media&#x26;token=bb37030f-6d9a-4482-84c5-297fea41ee14" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/aiAPp1ii3U3gXdxFLih2/blobs/UWtnvoY7aAQvY4EXwmFE/sapo2.png" alt=""><figcaption></figcaption></figure>

## Bước 3: **Tạo** cấu hình lưu trữ form.

Vào lại trang builder.ladipage.com, chọn menu **Landing Pages -> Cấu hình form-> Tạo cấu hình form -> Form Data** **.** Bạn bấm nút **Chọn** để sử dụng tài khoản liên kết bạn muốn dùn&#x67;**.**

<figure><img src="https://3336777906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaiAPp1ii3U3gXdxFLih2%2Fuploads%2Ft31qRnGfX6jYJSyP42aE%2Fimage.png?alt=media&#x26;token=71edefaa-e5e4-479d-a3e5-c8faeda9af70" alt=""><figcaption></figcaption></figure>

Bấm nút **Chọn** để sử dụng tài khoản liên Sapo kết bạn muốn dùng.&#x20;

![](https://content.gitbook.com/content/aiAPp1ii3U3gXdxFLih2/blobs/jUOTaOPFrKT2VzsoYAHt/image.png)

Nhập **Tên cấu hình** để lưu lại cấu hình form vừa tạo và bấm nút **Hoàn tất.**

![](https://content.gitbook.com/content/aiAPp1ii3U3gXdxFLih2/blobs/uLFGYApZKZXsCV8wlvMR/image.png)

Bạn có thể chọn **thêm tài khoản liên kết** khác cho Cấu hình này. Mỗi cấu hình được chứa tối đa 3 tài khoản liên kết, tương đương với 3 nguồn lưu trữ thông tin khách hàng đồng thời nhận được từ form đăng ký trên Landing Page.

## **Bước 4: thiết lập trên form đăng ký**&#x20;

Quay trở lại form trên trang Landing Page, chọn toàn form bạn đang muốn cài đặt và chọn **"Lưu data":**

![](https://content.gitbook.com/content/aiAPp1ii3U3gXdxFLih2/blobs/RkOdpRqmFVNFYqPw8RRi/image.png)

{% hint style="success" %}
Trong trường hợp bạn sử dụng nền tảng Sapo, bạn có thể thiết lập thêm phí ship cho từng form của bạn, cụ thể chọn vào trường dữ liệu Sản phẩm -> Thiết kế -> Thiết lập Form. Bạn đặt tên phí ship và giá ship tương ứng từng form&#x20;
{% endhint %}

<figure><img src="https://3336777906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaiAPp1ii3U3gXdxFLih2%2Fuploads%2FttLjgET1a5t5WOMtarUy%2Fimage.png?alt=media&#x26;token=efafa379-6e8b-432f-adc6-e9e1098843d5" alt=""><figcaption></figcaption></figure>

Thông tin đơn hàng về Sapo sẽ bao gồm thông tin phí ship đã thiết lập&#x20;

<figure><img src="https://3336777906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaiAPp1ii3U3gXdxFLih2%2Fuploads%2F3QSPVtUx1ycXrfwHtTYe%2Fimage.png?alt=media&#x26;token=274a30c0-59d8-47a3-8c6a-3f669a7714c2" alt=""><figcaption></figcaption></figure>

## **Bước 5 : thiết lập sản phẩm**

&#x20;Sau khi chọn cấu hình form, bạn cần phải vào form dăng ký của bạn, chọn SẢN PHẨM trên Sapo sẽ hiển thị trên form của bạn theo [chi tiết hướng dẫn tại đây](https://help.ladipage.vn/dong-bo-don-hang-sang-cac-nen-tang-website-thuong-mai-dien-tu-va-phan-mem-quan-ly-ban-hang/tao-form-dang-ky-lien-ket-voi-cac-website-thuong-mai-dien-tu-phan-mem-quan-ly-ban-hang).

Vậy là bạn đã hoàn thành việc gửi đơn hàng từ Landing Page sang **mục Đơn hàng trên Sapo.**

![](https://content.gitbook.com/content/aiAPp1ii3U3gXdxFLih2/blobs/QuOXlMRg78W93PWoaq66/image.png)

![](https://content.gitbook.com/content/aiAPp1ii3U3gXdxFLih2/blobs/GleDaudxIZ1OlfrgTdJ4/image.png)


---

# Agent Instructions: 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:

```
GET https://ladipage-vietnam.gitbook.io/v5-ladipage/ix.-dong-bo-don-hang-sang-cac-nen-tang-website-thuong-mai-dien-tu-va-phan-mem-quan-ly-ban-hang/dong-bo-don-hang-tu-landing-page-sang-sapo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
