{
"reference_no": "test-002",
"sm_code": "UPS商业地址01",
"remark": "测试订单",
"po_code": "",
"vat_code": "",
"parcel_quantity": 1,
"parcel_declared_value": 12,
"oa_firstname": "ONT2",
"oa_company": "AMAZON",
"oa_street_address1": "1910 E central Ave",
"oa_street_address2": "",
"oa_postcode": "92408",
"oa_state": "CA",
"oa_city": "San Bernardino",
"oa_country": "US",
"oa_doorplate": "",
"oa_telphone": "8882804331",
"warehouse_code": "ONT2",
"signature_service": "SSF",
"box_list": [
{
"box_length": 11,
"box_width": 11,
"box_height": 11,
"box_actual_weight": 10.000
},
{
"box_length": 10,
"box_width": 10,
"box_height": 10,
"box_actual_weight": 8.000
}
],
"shipper_address": {
"shipper_name": "Sender Name",
"shipper_company": "Company Name",
"shipper_telphone": "88383748",
"shipper_country": "US",
"shipper_state_province": "CA",
"shipper_city": "LA",
"shipper_address1": "1910 E central Ave",
"shipper_address2": "",
"shipper_postal_code": "90001",
"shipper_doorplate": "",
}
}curl --location --request POST '/api/svc/createOrder' \
--header 'Content-Type: application/json' \
--data-raw '{
"reference_no": "test-002",
"sm_code": "UPS商业地址01",
"remark": "测试订单",
"po_code": "",
"vat_code": "",
"parcel_quantity": 1,
"parcel_declared_value": 12,
"oa_firstname": "ONT2",
"oa_company": "AMAZON",
"oa_street_address1": "1910 E central Ave",
"oa_street_address2": "",
"oa_postcode": "92408",
"oa_state": "CA",
"oa_city": "San Bernardino",
"oa_country": "US",
"oa_doorplate": "",
"oa_telphone": "8882804331",
"warehouse_code": "ONT2",
"signature_service": "SSF",
"box_list": [
{
"box_length": 11,
"box_width": 11,
"box_height": 11,
"box_actual_weight": 10.000
},
{
"box_length": 10,
"box_width": 10,
"box_height": 10,
"box_actual_weight": 8.000
}
],
"shipper_address": {
"shipper_name": "Sender Name",
"shipper_company": "Company Name",
"shipper_telphone": "88383748",
"shipper_country": "US",
"shipper_state_province": "CA",
"shipper_city": "LA",
"shipper_address1": "1910 E central Ave",
"shipper_address2": "",
"shipper_postal_code": "90001",
"shipper_doorplate": "",
}
}'{
"code": 200,
"result": {
"reference_no": "Sample_refence",
"order_code": "J0000000000000000006",
"order_address_type": "Commercial",
"order_status": 2,
"order_sub_status": 0,
"order_waiting_status": 0,
"sync_service_status": 1,
"logistics_err": "",
"labels": [{
"tracking_number": "1Z0VV9660322826150",
"label_url": "http://jinqu-oms-130478380120.cos.ap-shanghai.myqcloud.com/LogisticsOmsService/label2pdf/20240612/570feb202026dbb7c690f12026dc47d3.pdf",
"file_type": "pdf"
}],
"fee": [{
"ft_code": "shipping",
"amount": "6.13",
"currency_code": "USD",
"ft_name": "运输费"
}, {
"ft_code": "FSC",
"amount": "0.95",
"currency_code": "USD",
"ft_name": "燃油附加费"
}],
"fee_detail": [{
"ft_code": "shipping",
"amount": "6.13",
"tracking_number": "",
"box_code": "J0000000000000000006-1",
"currency_code": "USD",
"ft_name": "运输费"
}, {
"ft_code": "FSC",
"amount": "0.95",
"tracking_number": "",
"box_code": "J0000000000000000006-1",
"currency_code": "USD",
"ft_name": "燃油附加费"
}]
},
"msg": "Success"
}