测试环境直发下单

来自出口易_wiki
Fangwei.li讨论 | 贡献2024年12月4日 (三) 19:09的版本 (创建页面,内容为“<code> curl --location 'http://openapi.ck1info.com/v1/directExpressOrders?sync=1' \ --header 'Content-Type: application/json; charset=utf-8' \ --header 'Authorizatio...”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索

curl --location 'http://openapi.ck1info.com/v1/directExpressOrders?sync=1' \ --header 'Content-Type: application/json; charset=utf-8' \ --header 'Authorization: Bearer NWI2NjI2ZWUtMTZhOS00ZjY2LTlmZDEtOWVjZGJhZjZhODdi' \ --data-raw '{

   "Location": "SZ",
   "Package": {
       "PackageId": "fw-241204-06",
       "ServiceCode": "USC",
       "ShipToAddress": {
           "HouseNumber": null,
           "Contact": "AAAA",
           "Phone": "9999999999",
           "Email": "GILLETT@gmail.com",
           "Country": "US",
           "Province": "AR",
           "City": "GILLETT",
           "Street1": "PO 001",
           "Street2": "",
           "Postcode": "72055-0423"
       },
       "Weight": 100,
       "Length": 5.0,
       "Width": 5.0,
       "Height": 5.0,
       "Skus": [
           {
               "Sku": null,
               "Quantity": 1,
               "Weight": 100.00,
               "DeclareValue": 0.0,
               "NewDeclareValue": {
                   "Value": 7.99,
                   "Currency": "USD"
               },
               "DeclareNameEn": "Flannel",
               "DeclareNameCn": "毛毯",
               "HsCode": ""
           }
       ],
       "SellPrice": 0.0,
       "SellPriceCurrency": "USD",
       "SalesPlatform": "ebay",
       "Custom": "",
       "Remark": "2024-12-03"
   },
   "Remark": "2024-12-03",
   "SubmitLater": false

}'