һϢ

1. ͨŷʽ:

HTTP POST

2. ݸʽ

ӦݲJSON

3.

ContentType : application/x-www-form-urlencoded

Key

l  key(32λ)˾ṩվʶַʶͼԴδȨķǷʡ

l  ¼ϵͳϽǡ->ϢȡApi Key

ʵҪдӿ˵

4. 

ǻ̽ӿ˳ӿڰ.

ȡֿϢ GetWarehouse -> ȡϢ GetExpressList-> ȡ SKU Ϣ GetSkuInventoryList-> Create Order

5.  BaseURl

BaseURL + /Api/GetWarehouse(ȡϵͳֿ)

˵

Key

String

Api KeyУ֤

Data

Pageлַ

 

Page

Ƿ

˵

PageSize

Int

ÿҳС

PageNumber

Int

ڼҳ

 

ز

˵

Code

״̬

200 -ɹ

600C 쳣

603C

 

Message

شϢ

Count

Data

ֿб

 

ֿ

˵

WarehouseName

String

ֿ

WarehouseCode

String

ֿ

 

Data={

     "PageSize": 10,

     "PageNumber": 1

}&Key=88888888888888888888888888888888

أ

{

     "Code" : "200" ,

     "Message" : "" ,

     "Count" : 3 ,

     "Data" :[

        {

             "WarehouseCode" : "153" ,

             "WarehouseName" : " ɼ "

        },

        {

             "WarehouseCode" : "148" ,

             "WarehouseName" : " ڶֿ "

        },

        {

             "WarehouseCode" : "129" ,

             "WarehouseName" : " Ĭϲֿ "

        }

    ]

}

BaseURL +/Api/GetExpressList(ȡݺͿݷ)

˵

Key

String

Api KeyУ֤

 

 

ز

˵

Code

״̬

200 -ɹ

600C 쳣

603C

 

Message

شϢ

Data

б

Key = 88888888888888888888888888888888

ֵ

{

     "Code" : "200" ,

     "Message" : null ,

     "Data" :[

        {

             "ServiceList" :[

                 "UPS Ground" ,

                 "UPS Three-Day Select"

            ],

             "Name" : "UPS TEST" ,

             "CarrierName" : "UPS TEST" ,

             "CarrierType" : "UPS" ,

             "UnitType" : -1 ,

             "IsInsure" : false ,

             "IsMultParcel" : true ,

             "IsSignature" : true ,

             "IsPicking" : false ,

             "IsMustItem" : false ,

             "Notes" : "" ,

             "IsFBA" : false ,

             "IsShippingDate" : false ,

             "ShipFromList" :[

 

            ],

             "ShipToList" :[

 

            ]

        },

        {

             "ServiceList" :[

                 "UPS Ground" ,

                 "UPS Three-Day Select"

            ],

             "Name" : "UPS TEST2" ,

             "CarrierName" : "UPS TEST2" ,

             "CarrierType" : "UPS" ,

             "UnitType" : -1 ,

             "IsInsure" : false ,

             "IsMultParcel" : true ,

             "IsSignature" : true ,

             "IsPicking" : false ,

             "IsMustItem" : false ,

             "Notes" : "" ,

             "IsFBA" : false ,

             "IsShippingDate" : false ,

             "ShipFromList" :[

                {

                     "PostalCode" : "24015-2702" ,

                     "Name" : "zzy" ,

                     "Address1" : "1838 Arden Rd SW" ,

                     "Address2" : "" ,

                     "State" : "VA" ,

                     "City" : "Roanoke" ,

                     "Country" : "USA" ,

                     "CountryCode" : "US" ,

                     "PhoneNumber" : "1480618534403068" ,

                     "AddrType" : 1 ,

                     "Company" : ""

                }

            ],

             "ShipToList" :[

 

            ]

        }

    ]

}

BaseURL +/Api/CreateSku(orSKU)

˵

Key

String

Api KeyУ֤

Data

Skuлַ

Sku

˵

SkuId

Int

SkuId=0SKUSkuId>0SKUϢ

Sku

String

Sku

ϵͳΨһʶ

SelfCode

String

SkuԱ

CnTitle

String

EnTitle

String

Ӣ

Weight

Decimal

Length

Decimal

Width

Decimal

Height

Decimal

SafetyAmount

Int

ȫ

DeclarePrice

Decimal

Ʒֵ

ز

˵

Code

״̬

200 -ɹ

600C 쳣

603C

 

Message

شϢ

Data

SkuIdڱ༭SKUϢʹ

 

BaseURL +/Api/GetSkuList(ȡSKUб)

˵

Key

String

Api KeyУ֤

Data

Pageлַ

Page

Ƿ

˵

PageSize

Int

ÿҳС

PageNumber

Int

ڼҳ

 

ز

˵

Code

״̬

200 -ɹ

600C 쳣

603C

 

Message

شϢ

Count

Data

SKUб

 

 

Sku

˵

SkuId

Int

SkuId

Sku

String

Sku

SelfCode

String

SkuԱ

CnTitle

String

EnTitle

String

Ӣ

Weight

Decimal

Length

Decimal

Width

Decimal

Height

Decimal

SafetyAmount

Int

ȫ

DeclarePrice

Decimal

Ʒֵ

 

Data={

     "PageSize": 2,

     "PageNumber": 1

}&Key=88888888888888888888888888888888

أ

{

     "Code" : "200" ,

     "Message" : "" ,

     "Count" : 5 ,

     "Data" :[

        {

             "Sku" : "sku1206" ,

             "EnTitle" : "cothes" ,

             "CnTitle" : " " ,

             "Weight" : 1 ,

             "Length" : 1 ,

             "Width" : 1 ,

             "Height" : 1

        },

        {

             "Sku" : "sku120701" ,

             "EnTitle" : "milk" ,

             "CnTitle" : " ʳ " ,

             "Weight" : 1 ,

             "Length" : 1 ,

             "Width" : 1 ,

             "Height" : 1

        }

    ]

}

BaseURL +/Api/ GetSkuInventoryList ( ȡSKU)

˵

Key

String

Api KeyУ֤

Data

Pageлַ

 

Page

Ƿ

˵

PageSize

Int

ÿҳС

PageNumber

Int

ڼҳ

Sku

String

Sku

WarehouseCode

String

ֿ

 

ز

˵

Code

״̬

200 -ɹ

600C 쳣

603C

 

Message

شϢ

Count

Data

б

 

˵

Sku

String

Sku

SelfCode

String

SkuԱ

Amount

Int

LockedAmount

Int

EffectiveAmount

Int

Ч

SafetyAmount

Int

ȫ

WarehouseCode

String

ֿ

WarehouseName

String

ֿ

 

 

Data={

     "PageSize": 2,

     "PageNumber": 1

}&Key=88888888888888888888888888888888

أ

BaseURL +/Api/GetExpressRates(ȡ)

POST

Ƿ

˵

Key

Api KeyУ֤

Data

Shipment Jsonлַ

 Shipment

Ƿ

˵

Carrier

String

Ӫ

ShipFrom

ShipAddr

Ϣ

ShipTo

ShipAddr

ռϢ

Parcels

List<Parcels>

б

ItemList

List<Item>

SkuϢб 

FreightCalss

String

UPS GFP FREIGHT_CLASS 

Signature

Bool

ǷҪǩĬϲǩ

WeightUnitType

int

λͣ0ʾlb/in,1ʾkg/cm,2ʾoz/in,Ĭ0

 

ShipAddr

Ƿ

˵

PostalCode

String

ʱ

Name

String

Company

String

˾

Address1

String

ַ1

Address2

String

ַ2

State

String

,λ

City

String

Country

String

(US) ,Ŀǰֻ֧US

PhoneNumber

String

AddrType

Int

0. Զж(Ĭ),1ʾҵBUSINESS,2ʾסլRESIDENTIAL

 

Parcel

Ƿ

˵

Weight

Decimal 2λС

Length

Decimal 2λС

Width

Decimal 2λС

Height

Decimal 2λС

߶

Insure

Decimal 2λС

նȣCarrierֱ֧ղſ

 

Item(new)

Ƿ

˵

Sku

String

Sku

Quantity

Int

 

 

ضResponse

˵

Code

״̬

200 -ɹ

600C 쳣

603C

 

Message

شϢ

Rate

Rate Json C Ϣ

 

ʾ

Data = {

     "Carrier": "ups2",

     "ShipFrom": {

         "PostalCode": "47906",

         "Name": "xiaoyang hu",

         "Address1": "1138 anthrop dr",

         "Address2": null,

         "State": "IN",

         "City": "West Lafayette",

         "Country": "US",

         "PhoneNumber": "6267104685",

         "AddrType": 1

     },

     "ShipTo": {

         "PostalCode": "60609",

         "Name": "Jing zhang",

         "Address1": "2023 w 35th st",

         "Address2": null,

         "State": "IL",

         "City": "Chicago",

         "Country": "US",

         "PhoneNumber": "6267104685",

         "AddrType": 1

     },

     "Parcels": [{

         "Weight": 3,

         "Length": 22,

         "Width": 22,

         "Height": 22

     }],

     "ItemList": [{

         "Sku": "TEST123456789",

         "Quantity": 3

     }]

}&Key = 88888888888888888888888888888888

ֵ

{

     "Code": "200",

     "Message": "",

     "Data": [{

         "RateId": "rate_fa3adcab1d084bd290fd92149a8aeb0c",

         "Carrier": "self_ups",

         "CarrierServiceLevel": "Ground",

         "CarrierServiceName": "Ground",

         "ChargeWeight": 3,

         "TotalCharge": 29.42,

         "PackageType": null

     }, {

         "RateId": "rate_fa9cdf649a33426b9cdfd3883f5ec8af",

         "Carrier": "self_ups",

         "CarrierServiceLevel": "3DaySelect",

         "CarrierServiceName": "3DaySelect",

         "ChargeWeight": 3,

         "TotalCharge": 77.59,

         "PackageType": null

     }, {

         "RateId": "rate_8a5d4079079348668e071a1ffdfed6dd",

         "Carrier": "self_ups",

         "CarrierServiceLevel": "NextDayAir",

         "CarrierServiceName": "NextDayAir",

         "ChargeWeight": 3,

         "TotalCharge": 182.84,

         "PackageType": null

     }]

}

BaseURL +/Api/UpLoadLabel (ϴ浥ΪԴlabel ) ͷ

ContentTypeapplication/json

POST

Ƿ

˵

Key

Api Key У֤

thumbnail-file

ļ  pdfļ

ضResponse

˵

Code

״̬

200 -ɹ

600 C

603 C

 

Message

شϢ

Data

url

ʾ

 

 

BaseURL +/Api/UpLoadShippingLabel (ϴ浥ΪԴlabel ) ͷ

ContentTypeapplication/json

POST

Ƿ

˵

Key

Api Key У֤

TraceNumber

浥ٺ

OrderId

id

thumbnail-file

ļ  pdfļ

ضResponse

˵

Code

״̬

200 -ɹ

600 C

603 C

 

Message

شϢ

Data

url

ʾ

 

BaseURL +/Api/UpLoadLabelBase64 (Base64ϴ浥ΪԴlabel) 

POST

Ƿ

˵

Key

Api Key У֤

Base64String

ļBase64ַ

FileName

ļ

ضResponse

˵

Code

״̬

200 -ɹ

600 C

603 C

 

Message

شϢ

Data

url

ʾ

 

BaseURL +/Api/CreateOrder()

POST

Ƿ

˵

Key

Api KeyУ֤

Data

Shipment Json лַ

Shipment

Ƿ

˵

OrderNum

String

ţ8λ

WarehouseCode

String

ֿ

Carrier

String

Ӫ ,߲鿴

CarrierServiceLevel

String

Ӫ̷ ,߲鿴

ShipTo

ShipAddr

ռϢ

Parcels

List<Parcels>

б

ItemList

List<Item>

SkuϢб

SizeFromSys

Bool

False ijԴΪ׼TrueijȡϵͳSKU¼ġ

FreightCalss

String

UPS GFP FREIGHT_CLASS 

LabelUrl

String

Դ label ʱԴlabel浥·

TraceNumber

String

Դlabelʱ

Դlabel浥ٺ

CarrierType

String

Դlabelʱ

Դ labelʱ

 

  UPS, USPS, FEDEX, WAYFAIR, LTL/FTL

IsNeedBol

Bool

Դ labelCarrierTypeΪ LTL/FTLʱ

ǷԶ浥BOL

Remark1

String

ע1

Remark2

String

ע2

WeightUnitType

int

λͣ0ʾlb/in,1ʾkg/cm,2ʾoz/in,Ĭ0

EcOrder

String

̶

AutoChangeService

Bool

FedExʹ(ѯ֧),FedExַ,ǷԶ任FedEx Ground/FedEx Home Deliveryµ

 

ShipAddr

Ƿ

˵

PostalCode

String

ʱ

Name

String

Company

String

˾

Address1

String

ַ1

Address2

String

ַ2

State

String

City

String

Country

String

(US) ,Ŀǰֻ֧US

PhoneNumber

String

AddrType

Int

0. Զж(Ĭ),1ʾҵBUSINESS,2ʾסլRESIDENTIAL

 

Parcel

Ƿ

˵

Weight

Decimal 2λС

Length

Decimal 2λС

Width

Decimal 2λС

Height

Decimal 2λС

߶

Insure

Decimal 2λС

նȣCarrierֱ֧ղſ

Picking

String

ϢCarrierֲ֧ſ

 

Item

Ƿ

˵

Sku

String

Sku

Quantity

Int

 

 

ضResponse

˵

Code

״̬

200 -ɹ

600C 쳣

603C

 

Message

شϢ

Data

OrderInfo

 

OrderInfo

˵

OrderId

id

OrderNum

String

ţ8λҪȨޣԶɡȨޣд

Carrier

String

Ӫ ,߲鿴

CarrierServiceLevel

String

Ӫ̷ ,߲鿴

Created

String

ʱ

Status

Int

״̬

0-  

1-   ܾ

2-  

3-   Ѽ

4-   ѷ

9-   Ѵ

ExpressStatus

Int

0-  

1-   ȡ

2-   ˳ɹ

3-   ʧ

4-   δ

5-   Ѿܾ

Weight

Decimal

ShippingFee

Decimal

˷

OperateFee

Decimal

TraceNumber

String

ٵ

LabelUrl

String

浥صַ

WarehouseName

String

ֿ

WarehouseCode

String

ֿ

Bills

Bill

˵

 

Bill

˵

Title

String

Amount

Decimal

OperateType

Int

0- ۿ1-˿

Remark

String

ע

 

ʾ

Data = {

     "Carrier": "ups2",

     " WarehouseCode": "129",

     "CarrierServiceLevel": "Ground",

     "ShipTo": {

         "PostalCode": "60609",

         "Name": "Jing zhang",

         "Address1": "2023 w 35th st",

         "Address2": null,

         "State": "IL",

         "City": "Chicago",

         "Country": "US",

          "PhoneNumber": "6267104685",

         "AddrType": 1

     },

     "OrderNum": null,

     "Parcels": [{

         "Weight": 3,

         "Length": 22,

         "Width": 22,

         "Height": 22

     }],

     "ItemList": [{

         "Sku": "TEST123456789",

         "Quantity": 3

     }]

}&Key = 88888888888888888888888888888888

ֵ

{

     "Code" : "200" ,

     "Message" : "" ,

     "Data" :{

         "OrderNum" : "22210119" ,

         "Created" : "2021-01-09 21:33:04" ,

         "Status" : 0 ,

         "Weight" : 3 ,

         "ShippingFee" : 73.68 ,

         "Carrier" : "UPS TEST" ,

         "CarrierServiceLevel" : "UPS Ground" ,

         "LabelUrl" : " http://www.xxx.com/UploadFiles/UD/2021-01-09/eb060c49-ae1b-43ea-8b17-d568e0339b36.pdf " ,

         "WarehouseName" : " Ĭϲֿ ",

"WarehouseCode": "129"

    }

}

BaseURL +/Api/ GetOrderList ( ȡб)

˵

Key

String

Api KeyУ֤

Data

ѯлַ

Data

Ƿ

˵

PageInfo

PageInfo

ҳϢ

CreateTimeRange

TimeRange

ʱ䷶Χ

UpdateTimeRange

TimeRange

ʱ䷶Χ

Tag

String

ǩ,ShipOnlyNeedCreateLabelԶǩ

Code

String

 

PageInfo

Ƿ

˵

PageSize

Int

ÿҳС

PageNumber

Int

ڼҳ

 

TimeRange

Ƿ

˵

StartTime

DateTime

ʼʱ

EndTime

DateTime

ʱ

 

ز

˵

Code

״̬

200 -ɹ

600C 쳣

603C

 

Message

شϢ

Count

Data

Orderб

 

Order

˵

OrderId

String

Id

OrderNum

String

Carrier

String

Ӫ

CarrierServiceLevel

String

Ӫ̷

Created

DateTime

ʱ

UpdateTime

DateTime

ʱ

Status

Int

״̬

0- 2-У3-Ѽ4-ѷ9-Ѵ

ExpressStatus

Int

ȡ״̬

0- 1-ȡ2-˳ɹ3-ʧ

LabelUrl

String

浥صַ

TraceNumber

String

ٵ

Tag

String

ǩ,ShipOnlyNeedCreateLabelԶǩ

Remark

String

עϢ

AddrInfo

Addr

ַϢ

Skus

Skuб

SKUϢб

Files

Fileб

Ϣб

 

Addr

˵

ContactName

String

ϵ

Province

String

ʡ

City

String

ZipCode

String

Address1

String

ַ1

Address2

String

ַ2

PhoneNumber

String

ϵ绰

CompanyName

String

˾

 

Sku

˵

SkuId

Int

SkuId

SkuCode

String

Sku

SkuEntitle

String

SkuӢ

SkuCntitle

String

Sku

Amount

Int

Sku

 

File

˵

FileName

String

ļ

Url

String

ļصַ

 

 

ʾ

Data={"PageInfo":{"PageSize":1,"PageNumber":1}}&Key=88888888888888888888888888888888

ֵ

{
    
"Code" : "200" ,
    
"Message" : "" ,
    
"Count" : 846 ,
    
"Data" :[
        {
            
"OrderId" : 929 ,
            
"OrderNum" : "SH0B2329181Z116" ,
            
"Created" : "2023-07-01 14:28:08" ,
            
"UpdateTime" : null ,
            
"Status" : 0 ,
            
"ExpressStatus" : 0 ,
            
"Carrier" : "UPS TEST" ,
            
"CarrierServiceLevel" : "UPS Ground" ,
            
"LabelUrl" : " http://sandbox.dadanla.com/UploadFiles/UD/2023-06-30/184a109f-cb0c-46df-934b-9ac1fa73f928.pdf " ,
            
"TraceNumber" : "1ZXXXXXXXXXXXXXXXX" ,
            
"Tag" : null ,
            
"Remark" : null ,
            
"AddrInfo" :{
                
"ContactName" : "kevin" ,
                
"Province" : "CA" ,
                
"City" : "temple city" ,
                
"ZipCode" : "91780" ,
                
"Address1" : "6269 Rosemead Blvd" ,
                
"Address2" : null ,
                
"PhoneNumber" : "4445559888" ,
                
"CompanyName" : null
            },
            
"Skus" :[
                {
                    
"SkuId" : 51652 ,
                    
"SkuCode" : "A000015" ,
                    
"SkuEntitle" : "onlyfortestandtest" ,
                    
"SkuCntitle" : " ֻΪ˲Բ " ,
                    
"Amount" : 3
                }
            ],
            
"Files" :[
                {
                    
"Url" : " http://localhost/UploadFile/Order_Label_File/9/d8bc3797-4ed7-4f3f-a6e0-ee612e6c3ea6.pdf " ,
                    
"FileName" : "TEST0802.pdf"
                }
            ]
        }
    ]

}

 

 

BaseURL +/Api/ UpdateOrderStatus ( ·״̬)

˵

Key

String

Api KeyУ֤

Data

Jsonַ

 

Data

Ƿ

˵

OrderId

Int

Id

Status

Int

״̬

4-ѷ

Carrier

String

Ӫ

CarrierServiceLevel

String

Ӫ̷

LabelUrl

String

浥µ

 

ʾ

Data={"OrderId":929,"Status":4}&Key=88888888888888888888888888888888

ֵ

{
    
"Code" : "200" ,
    
"Message" : "success" ,
    
"Data" : null
}

 

BaseURL +/Api/GetOrderInfo(ѯ)

POST

Ƿ

˵

Key

Api KeyУ֤

Data

Jsonַ

 

ض Response

˵

Code

״̬

200 -ɹ

600C 쳣

603C

 

Message

شϢ

Data

OrderInfo Json C 浥Ϣ

 

OrderInfo

˵

OrderId

id

OrderNum

String

ţ8λҪȨޣԶɡȨޣд

Carrier

String

Ӫ

CarrierServiceLevel

String

Ӫ̷

Created

String

ʱ

Status

Int

״̬

0- 2-У3-Ѽ4-ѷ9-Ѵ

ExpressStatus

Int

ȡ״̬

0- 1-ȡ2-˳ɹ3-ʧ

Weight

Decimal

ShippingFee

Decimal

˷

OperateFee

Decimal

TraceNumber

String

ٵ

LabelUrl

String

浥صַ

WarehouseName

String

ֿ

WarehouseCode

String

ֿ

Bills

Bill

˵

 

Bill

˵

Title

String

Amount

Decimal

OperateType

Int

0- ۿ1-˿

Remark

String

ע

 

ʾ

Data=[

  "20200107",

  "fh20201215 ",

]&Key=88888888888888888888888888888888

ֵ

{

    "Code":"200",

    "Message":"",

    "Data":[

        {

            "OrderNum":"fh20201215",

            "Created":"2020-12-15 11:40:57",

            "Status":0,

            "Weight":2,

            "ShippingFee":16.23,

            "Carrier":"UPS TEST",

            "CarrierServiceLevel":"UPS Ground",

            "LabelUrl":" http://www.xxx.com/UploadFiles/UD/2020-12-14/ab1141ca-4a44-4c54-9b2b-ea10ce120d9e.pdf ",

 "WarehouseName":" Ĭϲֿ",

"WarehouseCode": "129"

        },

        {

            "OrderNum":"20200107",

            "Created":"2021-01-05 12:55:15",

            "Status":0,

            "Weight":3,

            "ShippingFee":73.68,

            "Carrier":"UPS TEST",

            "CarrierServiceLevel":"UPS Ground",

            "LabelUrl":" http://www.xxx.com/UploadFiles/UD/2021-01-04/4b0b9df2-fddf-426c-8caa-695c3b6f09f0.pdf "

          "WarehouseName":" Ĭϲֿ",

"WarehouseCode": "129"

        }

    ]

}

BaseURL +/Api/CancelOrder(ȡ)

POST

Ƿ

˵

Key

Api KeyУ֤

OrderNum

 

ض Response

˵

Code

״̬

200 -ɹ

600C 쳣

603C

 

Message

شϢ

 

ʾ

OrderNum=KV10645076260&Key = 88888888888888888888888888888888

ֵ

{

    "Code":"200",

    "Message":" ȡɹ"

}

 

BaseURL +/Api/CreateInRequest(Ԥⵥ)

POST

Ƿ

˵

Key

Api KeyУ֤

Data

InRequest Json лַ

 InRequest

Ƿ

˵

OrderNum

String

ⵥţ8λΪϵͳ

WarehouseCode

String

ֿ

BoxType

Int

0- 1-2-

Amount

Int

Weight

decimal

ArriveDate

String

Ԥ

ItemList

List<Item>

SkuϢб

Remark

String

ע

Item

Ƿ

˵

Sku

String

Sku

Quantity

Int

IsApplySku

Bool

ֵдΪTureʱ, SKUϢ

SkuInfo

Sku

SkuϢ

 

ض Response

˵

Code

״̬

200 -ɹ

600C 쳣

603C

 

Message

شϢ

Data

InRequestInfo

 InRequestInfo

˵

OrderNum

String

WarehouseCode

String

ֿ

WarehouseName

String

ֿ

BoxType

Int

0- 1-2-

Weight

decimal

ArriveDate

String

Ԥ

Remark

String

ע

Status

Int

0- ѷ2-ǩգ3-4-С

Deleted

Bool

Ƿɾ

 

ʾ

Data={

 "OrderNum": 2221012501,

   "WarehouseCode": "129",

    "BoxType":0,

    "Amount":2,

    "Weight":2,

     "ItemList": [{

         "Sku": "sku1124",

         "Quantity": 1

     }]

}&Key=88888888888888888888888888888888

ֵ

{

    "Code":"200",

    "Message":"",

    "Data":{

        "OrderNum":"2221012501",

        "WarehouseCode":"129",

        "WarehouseName":" Ĭϲֿ",

        "BoxType":0,

        "Amount":2,

        "ArriveDate":null,

        "Weight":2,

        "Status":0,

        "Remark":null

    }

}

 

BaseURL +/Api/GetInRequestInfo (ѯⵥ)

POST

Ƿ

˵

Key

Api KeyУ֤

Data

Jsonַ

 

ض Response

˵

Code

״̬

200 -ɹ

600C 쳣

603C

 

Message

شϢ

Data

InRequestInfo Json C ⵥϢ

 

 InRequestInfo

˵

OrderNum

String

WarehouseCode

String

ֿ

WarehouseName

String

ֿ

BoxType

Int

0- 1-2-

Weight

decimal

ArriveDate

String

Ԥ

Remark

String

ע

Status

Int

0- ѷ2-ǩգ3-4-С

Details

List<InRequestDetail>

SKUϸ

 

 InRequestDetail

˵

SkuCode

String

SKU

Amount

Int

Ԥ

SignAmount

Int

ǩ

InAmount

String

ԸΪ׼

 

ʾ

Data=[

  " 2221012501",

]&Key=88888888888888888888888888888888

ֵ

{

    "Code":"200",

    "Message":"",

    "Data":[

        {

            "OrderNum":"2221012501",

            "WarehouseCode":"129",

            "WarehouseName":" Ĭϲֿ",

            "BoxType":0,

            "Amount":2,

            "ArriveDate":null,

            "Weight":0,

            "Status":0,

            "Remark":null

        }

    ]

}

BaseURL +/Api/ GetEcOrderList ( ȡ̶б)

˵

Key

String

Api KeyУ֤

Data

ѯлַ

Data

Ƿ

˵

PageInfo

Int

ÿҳС

StartDate

Date

ʱʼ

EndDate

Date

ʱĩ

OrderId

String

̶

ChannelName

String

ShipStatus

String

״̬

Unshipped C δ

Shipping C ѷ

RefundReview C ˿

RefundSucc C ˿ɹ

RefundFail C ˿ʧ

 

PageInfo

Ƿ

˵

PageSize

Int

ÿҳС

PageNumber

Int

ڼҳ

 

ز

˵

Code

״̬

200 -ɹ

600C 쳣

603C

 

Message

شϢ

Count

Data

̶EcOrderб

 

EcOrder

˵

Id

Int

id

OrderId

String

̶

OrderStatus

String

ƽ̨״̬

ShipStatus

String

״̬

ChannelName

String

ChannelId

Int

Id

PurchaseDate

Long

ʱ

ShippingDate

Date

ʱ

CarrierName

String

ݷ

ShipServiceLevel

String

TrackingNumber

String

ShippingPrice

Decimal

ݷ

LabelPdfs

String

Url

ShippingWeight

Decimal

LabelId

Int

Id

LabelStatus

Int

浥״̬

0 C

1-     ˿

2-     ˿ɹ

3-     ˿ʧ

4-     δ浥

OrderNumber

String

Channel

String

EcSite

String

վ

EcShipTo

EcShipTo

ռ˵ַ

EcOrderDetails

List<EcOrderDetail>

EcShipTo

˵

Id

Int

id

OrderLabelId

Int

̶Idid

PostalCode

String

ʱ

Name

String

ռ

Address1

String

ַ1

Address2

String

ַ2

Address3

String

ַ3

City

String

State

String

Country

String

CountryCode

String

Ҽ

PhoneNumber

String

AddrType

Int

ַ

0 -δ֪

1-   ҵ

2-   סլ

DataType

Int

0-   ̶ַ

1-   浥ַ

 

EcOrderDetail

˵

Id

Int

id

OrderId

Int

̶

EcOrderId

Int

̶Id

Title

String

Title

Sku

String

Sku

Upc

String

Upc

Weight

Decimal

ProductTaxCode

String

ProductTaxCode

QuantityPurchased

Int

IItemPrice

Decimal

TotalPrice

Decimal

ܼ

PurchaseDate

Long

ʱ

ConSku

Sku

ϵͳsku

 

Data={

      "PageInfo":{

        "PageSize":100,

        "PageNumber":1

    }}&Key=88888888888888888888888888888888

أ

{

     "Code" : "200" ,

     "Message" : "" ,

     "Count" : 1 ,

     "Data" :[

        {

             "Id" : 64646 ,

             "SubTotal" : 41.99 ,

             "OrderId" : "114-6711175-8888" ,

             "ShipStatus" : "UnShipped" ,

             "OrderStatus" : "Unshipped" ,

             "TotalPrice" : 41.99 ,

             "TotalWeight" : 0 ,

             "ChannelName" : "UUMITTY-US" ,

             "ChannelId" : 369 ,

             "IsPrime" : null ,

             "OwnerId" : 77 ,

             "OwnerName" : "trans test" ,

             "PurchaseDate" : 1640848903000 ,

             "ShippingDate" : null ,

             "CarrierName" : null ,

             "TrackingNumber" : null ,

             "ShippingPrice" : null ,

             "ShipServiceLevel" : null ,

             "LabelPdfs" : null ,

             "ShippingWeight" : null ,

             "LabelStatus" : 4 ,

             "LabelId" : null ,

             "OrderNumber" : null ,

             "Channel" : "amazon" ,

             "EcSite" : "US" ,

             "EcShipTo" :{

                 "Id" : 86496 ,

                 "OrderLabelId" : 64646 ,

                 "PostalCode" : "63103-1934" ,

                 "Name" : "Shanaye Rogers" ,

                 "Address1" : "1209 WASHINGTON AVE APT 201" ,

                 "Address2" : "" ,

                 "Address3" : "" ,

                 "State" : "MO" ,

                 "District" : "" ,

                 "City" : "SAINT LOUIS" ,

                 "Country" : "UNITED STATES" ,

                 "CountryCode" : "US" ,

                 "PhoneNumber" : "+1 763-225-9463 ext. 14942" ,

                 "Type" : 0 ,

                 "AddrType" : 0 ,

                 "DataType" : 0

            },

             "EcOrderDetails" :[

                {

                     "Id" : 66029 ,

                     "OrderId" : "114-6711175-8888" ,

                     "EcOrderId" : 64646 ,

                     "Title" : "Uumitty 3-Pack 40 L Large Folding Basket, Plastic Collapsible Storage Crate, Black" ,

                     "Sku" : "IT-RFWF-AUUT" ,

                     "Upc" : "751300845296" ,

                     "Weight" : 0 ,

                     "ProductTaxCode" : "" ,

                     "QuantityPurchased" : 1 ,

                     "IItemPrice" : 41.99 ,

                     "TotalPrice" : 41.99 ,

                     "PurchaseDate" : 1640848903000 ,

                     "ConSku" :{

                         "Sku" : "TP20203" ,

                         "EnTitle" : "thinkpad" ,

                         "CnTitle" : " " ,

                         "Weight" : 2.5 ,

                         "Length" : 3 ,

                         "Width" : 3 ,

                         "Height" : 3 ,

                         "EffectiveAmount" : 0

                    }

                }

            ]

        }

    ]

}

BaseURL +/Api/ GetEcChannelList ( ȡ̵б)

˵

Key

String

Api KeyУ֤

ز

˵

Code

״̬

200 -ɹ

600C 쳣

603C

 

Message

شϢ

Count

Data

̵EcChannelб

 

EcChannel

˵

Id

Int

id

ChannelName

String

Key=88888888888888888888888888888888

ֵ

{

     "Code" : "200" ,

     "Message" : "" ,

     "Data" :[

        {

             "Id" : 57 ,

             "ChannelName" : "cg22222"

        },

        {

             "Id" : 181 ,

             "ChannelName" : "AN2222-US-amazon"

        }

    ]

}

BaseURL +/Api/ GetEcOrderLabelList ( ȡ̶浥б)

˵

Key

String

Api KeyУ֤

EcOrderId

Int

̶Id

ز

˵

Code

״̬

200 -ɹ

600C 쳣

603C

 

Message

شϢ

Data

EcOrderLabelб

 

EcOrderLabel

˵

Id

Int

id

OrderId

String

̶

EcOrderId

Int

̶Id

CarrierName

String

ݷ

ShipServiceLevel

String

TrackingNumber

String

ShippingPrice

Decimal

ݷ

LabelPdfs

String

Url

ShippingWeight

Decimal

LabelId

Int

Id

LabelStatus

Int

浥״̬

0 C

5-     ˿

6-     ˿ɹ

7-     ˿ʧ

δ浥

ShippingDt

Date

浥ʱ

OrderNumber

String

IsSignature

Bool

ǷǩĬϷ

WarehouseCode

String

ֿ

WarehouseName

String

ֿ

EcParcels

EcParcel

б

EcShipTo

EcShipTo

ռ˵ַ

EcParcel

˵

Id

Int

id

Weight

Decimal

Length

Decimal

Width

Decimal

Height

Decimal

OrderLabelId

Int

Id

TrackingCode

String

ٺ

Carrier

String

ݷ

ServiceLevel

String

OrderId

String

̶

Picking

String

Ϣ

EcOrderId=111&Key=88888888888888888888888888888888

ֵ

{

     "Code" : "200" ,

     "Message" : "" ,

     "Data" :[

        {

             "Id" : 6 ,

             "OrderId" : "174026496648-8888" ,

             "EcOrderId" : 108 ,

             "CarrierName" : "UPS TEST" ,

             "TrackingNumber" : "1Z6F22500329988644" ,

             "ShippingPrice" : 23.78 ,

             "ShippingDt" : "2020-10-13 06:20:56" ,

             "ShipServiceLevel" : "UPS Ground" ,

             "LabelPdfs" : " http://eeships.uskuaidi.com/UploadFiles/UD/1Z6F22500329988644.pdf " ,

             "ShippingWeight" : 3 ,

             "Status" : 1 ,

             "ShipFreightClass" : null ,

             "InsuranceValue" : null ,

             "UpdateStatusCount" : null ,

             "IsUpdateStatus" : true ,

             "NeedUpdateStatus" : null ,

             "OrderNumber" : "0000771602595255" ,

             "IsSignature" : false ,

             "OwnerId" : 77 ,

             "OwnerName" : "trans test" ,

             "WarehouseCode" : 129 ,

             "WarehouseName" : " Ĭϲֿ " ,

             "EcParcels" :[

                {

                     "Id" : 6 ,

                     "Weight" : 2.5 ,

                     "Length" : 5 ,

                     "Width" : 0.2 ,

                     "Height" : 0.1 ,

                     "OrderLabelId" : 6 ,

                     "TrackingCode" : "1Z6F22500329988644" ,

                     "Carrier" : "UPS TEST" ,

                     "ServiceLevel" : "UPS Ground" ,

                     "Reference1" : null ,

                     "Reference2" : null ,

                     "Reference3" : null ,

                     "Code" : null ,

                     "OrderId" : "174026496648-8888" ,

                     "InsuranceValue" : null ,

                     "Picking" : null

                }

            ],

             "EcShipTo" :{

                 "Id" : 114 ,

                 "OrderLabelId" : 6 ,

                 "PostalCode" : "02814-2036" ,

                 "Name" : "Andrew Arsenault" ,

                 "Address1" : "132 Keach Dam Rd" ,

                 "Address2" : null ,

                 "Address3" : null ,

                 "State" : "RI" ,

                 "District" : null ,

                 "City" : "Chepachet" ,

                 "Country" : null ,

                 "CountryCode" : null ,

                 "PhoneNumber" : "4019548691" ,

                 "Type" : 0 ,

                 "AddrType" : 2 ,

                 "DataType" : 1

            }

        },

        {

             "Id" : 7 ,

             "OrderId" : "174026496648-8888" ,

             "EcOrderId" : 108 ,

             "CarrierName" : "UPS TEST" ,

             "TrackingNumber" : "1Z6F22500333198052" ,

             "ShippingPrice" : 23.78 ,

             "ShippingDt" : "2020-10-13 06:22:44" ,

             "ShipServiceLevel" : "UPS Ground" ,

             "LabelPdfs" : " http://eeships.uskuaidi.com/UploadFiles/UD/1Z6F22500333198052.pdf " ,

             "ShippingWeight" : 3 ,

             "Status" : 0 ,

             "ShipFreightClass" : null ,

             "InsuranceValue" : null ,

             "UpdateStatusCount" : null ,

             "IsUpdateStatus" : true ,

             "NeedUpdateStatus" : null ,

             "OrderNumber" : "0000771602595363" ,

             "IsSignature" : false ,

             "OwnerId" : 77 ,

             "OwnerName" : "trans test" ,

             "WarehouseCode" : 129 ,

             "WarehouseName" : " Ĭϲֿ " ,

             "EcParcels" :[

                {

                     "Id" : 7 ,

                     "Weight" : 2.5 ,

                     "Length" : 5 ,

                     "Width" : 0.2 ,

                     "Height" : 0.1 ,

                     "OrderLabelId" : 7 ,

                     "TrackingCode" : "1Z6F22500333198052" ,

                     "Carrier" : "UPS TEST" ,

                     "ServiceLevel" : "UPS Ground" ,

                     "Reference1" : null ,

                     "Reference2" : null ,

                     "Reference3" : null ,

                     "Code" : null ,

                     "OrderId" : "174026496648-8888" ,

                     "InsuranceValue" : null ,

                     "Picking" : null

                }

            ],

             "EcShipTo" :{

                 "Id" : 115 ,

                 "OrderLabelId" : 7 ,

                 "PostalCode" : "02814-2036" ,

                 "Name" : "Andrew Arsenault" ,

                 "Address1" : "132 Keach Dam Rd" ,

                 "Address2" : null ,

                 "Address3" : null ,

                 "State" : "RI" ,

                 "District" : null ,

                 "City" : "Chepachet" ,

                 "Country" : null ,

                 "CountryCode" : null ,

                 "PhoneNumber" : "4019548691" ,

                 "Type" : 0 ,

                 "AddrType" : 2 ,