- Overview
- Getting Started
- Common Errors
- API
- Config
- Product
- Product Inventory
- Order
- Shipment
- Shipment Inbound
- Courier
- Address Directory
- Status
- Webhooks
List shipping service of courier
Developing
POST
/api/v1/public/orders/available-shipping-services
Last modified:2025-02-03 06:28:12
Request
Header Params
Authorization
string
optional
Default:
6pGkII/faXeTxkNR1wOXRKZniSG25HgtPoDr3dLcuAcegBUKinCDkkdpxeSULdtPE0I7P8nM7dWTPRUyhzgtvQ==
Body Params application/json
tracking_code
string
required
pickup_address_id
integer
required
box_id
integer
required
courier_id
integer
required
courier_integration_id
integer
required
config
object
required
fulfill_now
integer
required
Example
{
"tracking_code": "NHOV1904705391",
"pickup_address_id": 167,
"box_id": 120,
"courier_id": 16,
"courier_integration_id": 172,
"config": {
"fulfill_now": 0
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://stg-oms.nandh.vn/api/v1/public/orders/available-shipping-services' \
--header 'Authorization: 6pGkII/faXeTxkNR1wOXRKZniSG25HgtPoDr3dLcuAcegBUKinCDkkdpxeSULdtPE0I7P8nM7dWTPRUyhzgtvQ==' \
--header 'Content-Type: application/json' \
--data-raw '{
"tracking_code": "NHOV1904705391",
"pickup_address_id": 167,
"box_id": 120,
"courier_id": 16,
"courier_integration_id": 172,
"config": {
"fulfill_now": 0
}
}'
Responses
🟢200OK
application/json
Body
status_code
integer
required
data
array [object {31}]
required
service_code
string
required
service_name
string
required
service_type_name
string
required
service_id
integer
required
courier_id
integer
required
courier_prefix
string
required
courier_integration_id
integer
required
courier_ship_id
integer
required
courier_ship_name
string
required
courier_ship_logo
string
required
courier_ship_rating
integer
required
distance
null
required
priority
integer
required
delivery_time_rank
integer
required
fee_rank
integer
required
only_fulfill
boolean
required
require_tracking
boolean
required
is_fulfill_now
boolean
required
support_check_content
boolean
required
support_use_insurance
boolean
required
is_bridge
boolean
required
is_seller_own_fleet
boolean
required
min_estimate_time
integer
required
max_estimate_time
integer
required
estimate_time
string
required
fee_currency
string
required
total_fee
integer
required
shipping_fee
object
required
vas_fee
object
required
fulfillment_fee
object
required
discount
object
required
error
boolean
required
error_code
null
optional
log_id
null
optional
messages
string
required
total
integer
required
Example
{
"status_code": 200,
"data": [
{
"service_code": "NH_VTP_EC_VCBO",
"service_name": "Chuyển phát đường bộ",
"service_type_name": "",
"service_id": 35,
"courier_id": 9,
"courier_prefix": "nandh",
"courier_integration_id": 187,
"courier_ship_id": 1,
"courier_ship_name": "Viettel Post",
"courier_ship_logo": "https://storage.googleapis.com/omisell-cloud/logo/courier/viettelpost.svg",
"courier_ship_rating": 4,
"distance": null,
"priority": 0,
"delivery_time_rank": 0,
"fee_rank": 0,
"only_fulfill": false,
"require_tracking": false,
"is_fulfill_now": false,
"support_check_content": false,
"support_use_insurance": false,
"is_bridge": true,
"is_seller_own_fleet": false,
"min_estimate_time": 3,
"max_estimate_time": 5,
"estimate_time": "3-5 days",
"fee_currency": "VND",
"total_fee": 5400,
"shipping_fee": {
"shipping_fee": 5000,
"handling_fee": 0,
"heavy_weight_fee": 0,
"stop_fee": 0,
"remote_fee": 0,
"vat_fee": 400,
"line_haul_fee": 0
},
"vas_fee": {
"vas_fee": 0,
"insurance_fee": 0,
"exchange_goods_fee": 0,
"pricing_fee": 0,
"cod_fee": 0
},
"fulfillment_fee": {
"handover_fee": 0,
"material_fee": 0,
"bubble_wrap_fee": 0
},
"discount": {
"courier_discount": 0
}
},
{
"service_code": "NH_VTP_EC_PTN",
"service_name": "Nội tỉnh nhanh",
"service_type_name": "",
"service_id": 32,
"courier_id": 9,
"courier_prefix": "nandh",
"courier_integration_id": 187,
"courier_ship_id": 1,
"courier_ship_name": "Viettel Post",
"courier_ship_logo": "https://storage.googleapis.com/omisell-cloud/logo/courier/viettelpost.svg",
"courier_ship_rating": 4,
"distance": null,
"priority": 0,
"delivery_time_rank": 0,
"fee_rank": 0,
"only_fulfill": false,
"require_tracking": false,
"is_fulfill_now": false,
"support_check_content": false,
"support_use_insurance": false,
"is_bridge": true,
"is_seller_own_fleet": false,
"min_estimate_time": 3,
"max_estimate_time": 5,
"estimate_time": "3-5 days",
"fee_currency": "VND",
"total_fee": 22000,
"shipping_fee": {
"shipping_fee": 20370,
"handling_fee": 0,
"heavy_weight_fee": 0,
"stop_fee": 0,
"remote_fee": 0,
"vat_fee": 1630,
"line_haul_fee": 0
},
"vas_fee": {
"vas_fee": 0,
"insurance_fee": 0,
"exchange_goods_fee": 0,
"pricing_fee": 0,
"cod_fee": 0
},
"fulfillment_fee": {
"handover_fee": 0,
"material_fee": 0,
"bubble_wrap_fee": 0
},
"discount": {
"courier_discount": 0
}
}
],
"error": false,
"error_code": null,
"log_id": null,
"messages": "",
"total": 2
}
Modified at 2025-02-03 06:28:12