> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.bentoweb.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# E-Marketplace - Save shipping API (Seller own fleet)

**Endpoint:** [POST /order/save_shipping](https://app.swaggerhub.com/apis/SemanticTouch/BentoWebOrderAPI/1.0.0-oas3#/Order/post_order_save_shipping)

#### 📌 ข้อมูลเพิ่มเติมสำหรับการจัดส่งผ่าน E-Marketplace

##### ✅ สำหรับ **Seller Own Fleet**

(ใช้ในกรณีที่ร้านค้าจัดส่งเอง)

#### **Shopee**

```
{
  "shipping_datetime": "2024-04-01 18:00:00",  // วันที่และเวลาจัดส่ง
  "shipping_type": "non_integrated",  // ประเภทการจัดส่ง (สำหรับกรณีไม่ได้ใช้ระบบขนส่งที่เชื่อมต่อ)
  "shipping_ems": "{trackNo}",  // หมายเลขติดตามพัสดุ (Tracking Number)
  "shipping_method": "{shippingKey}",  // รหัสวิธีจัดส่ง
  "order_id": "{orderId}",  // รหัสคำสั่งซื้อ
  "store_id": "{storeId}"  // รหัสร้านค้า
}
```

กรณีใช้ Shopee Shipping Provider Pickup/Dropoff [ดูได้ที่นี่](https://help.bentoweb.com/th/article/shopee-pickup-11guvoe/?bust=1743060143610)

#### **Lazada**

```
{
  "shipping_datetime": "2024-04-01 18:00:00",  
  "shipping_ems": "{trackNo}",  
  "shipping_method": "{shippingKey}",  
  "order_id": "{orderId}",  
  "store_id": "{storeId}"  
}
```

กรณีใช้ Lazada Shipping Provider Dropoff [ดูได้ที่นี่](https://help.bentoweb.com/th/article/lazada-dropoff-1k9kbef/?bust=1752657996045)

#### **TikTok Shop**

```
{
  "shipping_datetime": "2024-04-01 18:00:00",  
  "shipping_ems": "{trackNo}",  
  "shipping_method": "{shippingKey}",  
  "order_id": "{orderId}",  
  "store_id": "{storeId}"  
}
```

กรณีใช้ TikTok Shop Shipping Provider Pickup/Dropoff [ดูได้ที่นี่](https://help.bentoweb.com/th/article/tiktokshop-pickupdropoff-15vwc7q/?bust=1752658914305)

🔹 **หมายเหตุ:**

* `shipping_datetime` ควรอยู่ในรูปแบบ `"YYYY-MM-DD HH:MM:SS"`
    
* `shipping_ems`, `shipping_method`, `order_id`, และ `store_id` เป็นค่าที่ต้องใส่ให้ถูกต้องตามระบบของแต่ละแพลตฟอร์ม
*  `shipping_method` คีย์ของช่องทางการขนส่ง (ใช้ค่าจาก [GET /order/order-full/{order_id}](https://app.swaggerhub.com/apis/SemanticTouch/BentoWebOrderAPI/1.0.0-oas3#/Order/get_order_order_full__order_id_) ใน key shipping_method เช่น sstp:{ตัวเลข})
