Get In touch

1 929 450 1916

주문 생성


  1. POST /api-json/pms/createorder.aspx?key=271bd87a-60bd-4ef8-b3bc-5192e2e72de310000

쿼리 요청 매개변수

parameter nametyperequiredlengthdescribeexample eg
keyStringrequired api key271bd87a-60bd-4ef8-b3bc-5192e2e72de3

본문 요청 예시

{
    "customer_ID":"10002",
    "status":"10",
    "from_PersonName":"Lily",
    "from_CountryCode":"US",
    "from_CompanyName":"",
    "from_AddressLine1":"5031 Halison Street",
    "from_AddressLine2":"",
    "from_AddressLine3":"",
    "from_PostalCode":"90503",
    "from_Zip4":"",
    "from_City":"Torrance",
    "from_StateProvinceCode":"CA",
    "from_PhoneNumber":"0000000000",
    "from_TaxNo":"",
    "to_PersonName":"test",
    "to_CountryCode":"US",
    "to_CompanyName":"",
    "to_AddressLine1":"847 Spring Creek Court",
    "to_AddressLine2":"",
    "to_AddressLine3":"",
    "to_PostalCode":"60007",
    "to_Zip4":"",
    "to_City":"Elk Grove Village",
    "to_StateProvinceCode":"IL",
    "to_PhoneNumber":"0000000000",
    "to_TaxNo":"",
    "orderNo":"20210806001",
    "serviceCode":"UPS-G",
    "remark":"备注",
    "Distribution":"配货信息",
    "Source":"来源",
    "items":[
        {
            "Unit":"LB",
            "weight":1,           
            "length":1,
            "width":1,
            "height":1,
            "SKU":"SKU",
            "Quantity":1
        },
        {
            "Unit":"LB",
            "weight":1,          
            "length":1,
            "width":1,
            "height":1,
            "SKU":"SKU",
            "Quantity":1           
        }
    ]
}
 

본문 요청 매개변수

Body parameter nameType _Required _Length _Describe _example eg
customer_IDString  customer ID10000
statusString  Order Status10 (draft) or 30 (reviewed/generated (depending on service settings))
from_PersonNameStringrequired sender nameLily
from_CountryCodeStringrequired Shipping country codeUS
from_CompanyNameStringoptional Sending company**.OLD
from_AddressLine1Stringrequired Sending address 15031 Halison Street
from_AddressLine2Stringoptional Sending address 2 
from_AddressLine3Stringoptional Sending address 3 
from_PostalCodeStringrequired send zip code91765
from_Zip4Stringoptional small zip code0000
from_CityString  sender cityLonderzeel
from_StateProvinceCodeStringoptional From Statelonghuaqu
from_PhoneNumberString  Sending contact information0000000000
from_TaxNoString  Shipping Tax ID0000000000
to_PersonNameStringrequired recipient nameLily
to_CountryCodeStringrequired Recipient country codeUS
to_CompanyNameStringoptional receiver**.OLD
to_AddressLine1Stringrequired Recipient address 15031 Halison Street
to_AddressLine2Stringoptional Recipient address 2 
to_AddressLine3Stringoptional Recipient address 3 
to_PostalCodeStringrequired Receiving zip code91765
to_Zip4Stringoptional small zip code0000
to_CityString  Recipient cityLonderzeel
to_StateProvinceCodeStringoptional recipient statelonghuaqu
to_PhoneNumberString  Receiving contact information0000000000
to_TaxNoString  Receiving tax number0000000000
orderNoStringrequired Reference Number/Order Number0000000000
serviceCodeStringrequired service codeUPS
remarkString  Remarktest
DistributionString  Shipping Informationtest
SourceString  sourcetest
itemsJSONrequired package informationThe parameters are as follows
items parameter nametyperequiredlengthdescribeexample eg
UnitStringrequired unitLB/KG LB corresponds to IN KG corresponds to CM
weightfloat  weight1
lengthfloat  long1
widthfloat  Width1
heightfloat  high1
heightfloat  high1
SKUstring  SKUSKU
Quantityint  Quantity of products in the package1

성공적인 응답의 예

{ 
    "result":"success", 
    "code":"100", 
    "No":"Single Number", 
    "serviceCode":"Service Code", 
    "totalRate":"Total Cost", 
    "items":[ 
        { 
            "tracingNo":"waybill number", 
            "description":"description", 
            "amount":fee 
        }, 
        { 
            "tracingNo":"waybill number", 
            "description":"description", 
            "amount":fee 
        } 
    ] 
}
 

실패 응답의 예

{
    "result":"failure",
    "code":"101",
    "message":"错误信息" 
}
 

응답 매개변수

parameter namedescribetype
result Whether it is successful (success/failure)
codeerror code100 is success
messageprompt descriptionstring

에러 코드

the codedescribe
100success
101fail

우리는 방대한 세계적 수준의 서비스와 업계 경험을 제공합니다.

서비스

위치

연락처 정보

Copyright @ 2023 NIWO Partners Inc. All Rights Reserved