GET api/Trades?tid={tid}
获取指定单号的订单信息,结果中包含订单明细记录
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tid |
订单编号 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取指定单号的订单信息,结果中包含订单明细记录
ApiResponseOfTrade| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Result | Trade |
None. |
|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 1,
"Result": {
"order_list": [
{
"oid": "sample string 1",
"num": 2.0,
"price": 3.0,
"status": 4,
"refund_status": 5,
"goods_id": "sample string 6",
"spec_id": "sample string 7",
"goods_no": "sample string 8",
"spec_no": "sample string 9",
"goods_name": "sample string 10",
"spec_name": "sample string 11",
"adjust_amount": 12.0,
"discount": 13.0,
"share_discount": 14.0,
"cid": "sample string 15"
},
{
"oid": "sample string 1",
"num": 2.0,
"price": 3.0,
"status": 4,
"refund_status": 5,
"goods_id": "sample string 6",
"spec_id": "sample string 7",
"goods_no": "sample string 8",
"spec_no": "sample string 9",
"goods_name": "sample string 10",
"spec_name": "sample string 11",
"adjust_amount": 12.0,
"discount": 13.0,
"share_discount": 14.0,
"cid": "sample string 15"
}
],
"tid": "sample string 1",
"trade_status": 2,
"pay_status": 3,
"delivery_term": 4,
"trade_time": "sample string 5",
"pay_time": "sample string 6",
"buyer_nick": "sample string 7",
"buyer_email": "sample string 8",
"pay_id": "sample string 9",
"pay_account": "sample string 10",
"receiver_name": "sample string 11",
"receiver_province": "sample string 12",
"receiver_city": "sample string 13",
"receiver_district": "sample string 14",
"receiver_address": "sample string 15",
"receiver_mobile": "sample string 16",
"receiver_telno": "sample string 17",
"receiver_zip": "sample string 18",
"logistics_type": 19,
"invoice_type": 20,
"invoice_title": "sample string 21",
"invoice_content": "sample string 22",
"buyer_message": "sample string 23",
"seller_memo": "sample string 24",
"seller_flag": 25,
"post_amount": 26.0,
"cod_amount": 27.0,
"ext_cod_fee": 28.0,
"other_amount": 29.0,
"paid": 30.0,
"id_card_type": 31,
"id_card": "sample string 32",
"cust_data": "sample string 33",
"is_auto_wms": 34,
"wms_type": 35,
"warehouse_no": "sample string 36"
},
"IsSuccess": true,
"Message": "sample string 3"
}