List available courier
Developing
POST
/api/v1/public/orders/available-courier
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/public/orders/available-courier' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"store_id": {{store_id}},
"pickup_address_id": {{pickup_id}}
}'
Response Response Example
{
"status_code": 200,
"data": [
{
"id": 9,
"priority": 1,
"integration_id": 187,
"prefix": "nandh",
"name": "N&H Logistics",
"description": "N&H Logistics là công ty cung cấp giải pháp Fulfillment tổng thể từ lưu kho, hoàn tất đơn hàng, vận chuyển đến quản lý hậu cần cho doanh nghiệp trên đa nền tảng.",
"logo": "https://nh-wms.sgp1.cdn.digitaloceanspaces.com/oms/AppIcon~ios-marketing.png",
"tracking_url": null,
"rating": 5,
"is_fulfill_now": false,
"is_seller_own_fleet": false,
"use_lib": null
},
{
"id": 16,
"priority": 2,
"integration_id": 172,
"courier_name": "Self-ship orders",
"use_insurance": true,
"can_check_content": true,
"prefix": "sof",
"name": "Tự Vận Chuyển (Self-ship orders)",
"description": "Hình thức người bán tự vận chuyển cho đơn hàng của mình. Tự quản lý quá trình vận chuyển và giao hàng đối với những đơn hàng mà người bán đã nhận.",
"logo": "https://nh-wms.sgp1.cdn.digitaloceanspaces.com/oms/delivery.png",
"tracking_url": null,
"rating": 4,
"is_fulfill_now": false,
"is_seller_own_fleet": true,
"use_lib": null
}
],
"error": false,
"error_code": null,
"log_id": null,
"messages": "",
"total": 2
}
Request
Header Params
Authorization
string
required
Default:
{{your_api_key_here}}
Body Params application/json