深圳鼎润捷通供应链有限公司


创建订单

<p>创建订单</p> <h5>简要描述</h5> <ul> <li>无</li> </ul> <h5>请求URL</h5> <ul> <li><code>{{host}}/api/open/order_add</code></li> </ul> <h5>请求方式</h5> <ul> <li>post</li> </ul> <h5>Header</h5> <table> <thead> <tr> <th>字段名</th> <th>示例值</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>apikey</td> <td>6519827339</td> <td>是</td> <td>string</td> <td>apikey</td> </tr> <tr> <td>timestamp</td> <td>1724288542</td> <td>是</td> <td>string</td> <td>时间戳</td> </tr> <tr> <td>sign</td> <td>2fb775334b02d663127a8a9fd1edbc64</td> <td>是</td> <td>string</td> <td>签名</td> </tr> <tr> <td>accept</td> <td>application/json</td> <td>是</td> <td>string</td> <td>accept</td> </tr> <tr> <td>content-type</td> <td>application/json;charset=UTF-8</td> <td>是</td> <td>string</td> <td>content-type</td> </tr> <tr> <td>lang</td> <td>en-us</td> <td>是</td> <td>string</td> <td>lang</td> </tr> </tbody> </table> <h5>请求参数示例</h5> <pre><code>{ &amp;quot;reference_no&amp;quot;: &amp;quot;AW14587122891165522&amp;quot;, &amp;quot;business_type&amp;quot;: &amp;quot;9610&amp;quot;, &amp;quot;order_status&amp;quot;: 0, &amp;quot;shipping_method&amp;quot;: &amp;quot;CNFED-IP5000B&amp;quot;, &amp;quot;country_code&amp;quot;: &amp;quot;US&amp;quot;, &amp;quot;order_weight&amp;quot;: 1.25, &amp;quot;order_volume&amp;quot;: null, &amp;quot;order_pieces&amp;quot;: 1, &amp;quot;platform&amp;quot;: &amp;quot;Amazon&amp;quot;, &amp;quot;platform_number&amp;quot;: &amp;quot;TDS-986548-630&amp;quot;, &amp;quot;total_amount&amp;quot;: 170.32, &amp;quot;total_amount_currency&amp;quot;: &amp;quot;CNY&amp;quot;, &amp;quot;bg_currency_code&amp;quot;: &amp;quot;USD&amp;quot;, &amp;quot;remark&amp;quot;: null, &amp;quot;back_hand_type&amp;quot;: &amp;quot;返海外 仓&amp;quot;, &amp;quot;shipper_name&amp;quot;: &amp;quot;张三&amp;quot;, &amp;quot;shipper_company&amp;quot;: &amp;quot;张三公司&amp;quot;, &amp;quot;shipper_country_code&amp;quot;: &amp;quot;CN&amp;quot;, &amp;quot;shipper_province&amp;quot;: &amp;quot;广东省&amp;quot;, &amp;quot;shipper_city&amp;quot;: &amp;quot;深圳市&amp;quot;, &amp;quot;shipper_area&amp;quot;: &amp;quot;希望小区&amp;quot;, &amp;quot;shipper_street&amp;quot;: &amp;quot;坂田街道吉华路509号&amp;quot;, &amp;quot;shipper_postcode&amp;quot;: &amp;quot;51800&amp;quot;, &amp;quot;shipper_telephone&amp;quot;: &amp;quot;0755-86858698&amp;quot;, &amp;quot;shipper_mobile&amp;quot;: &amp;quot;13367154259&amp;quot;, &amp;quot;shipper_email&amp;quot;: &amp;quot;81562632654@gmai.com&amp;quot;, &amp;quot;consignee_name&amp;quot;: &amp;quot;Anri Kawatani&amp;quot;, &amp;quot;consignee_company&amp;quot;: &amp;quot;Kawatani CO.&amp;quot;, &amp;quot;consignee_doorplate&amp;quot;: &amp;quot;S5869&amp;quot;, &amp;quot;consignee_province&amp;quot;: &amp;quot;Osaka Fu&amp;quot;, &amp;quot;consignee_city&amp;quot;: &amp;quot;Matsubara Shi&amp;quot;, &amp;quot;consignee_area&amp;quot;: null, &amp;quot;consignee_street&amp;quot;: &amp;quot;6-3-33 Miyakenaka,Matsubara-shi,Osaka,Japan,580-0046&amp;quot;, &amp;quot;consignee_street2&amp;quot;: &amp;quot;6-3-33 Miyakenaka,Matsubara-shi,Osaka,Japan,580-0046 -2&amp;quot;, &amp;quot;consignee_street3&amp;quot;: &amp;quot;6-3-33 Miyakenaka,Matsubara-shi,Osaka,Japan,580-0046 -3&amp;quot;, &amp;quot;consignee_mobile&amp;quot;: &amp;quot;13365245878&amp;quot;, &amp;quot;consignee_telephone&amp;quot;: &amp;quot;85693411&amp;quot;, &amp;quot;consignee_email&amp;quot;: &amp;quot;62554552144@d-rain.cn&amp;quot;, &amp;quot;consignee_postcode&amp;quot;: &amp;quot;218600&amp;quot;, &amp;quot;consignee_tax_no&amp;quot;: &amp;quot;218600&amp;quot;, &amp;quot;user_id&amp;quot;: 1, &amp;quot;create_time&amp;quot;: &amp;quot;2024-10-31 15:22:37&amp;quot;, &amp;quot;update_time&amp;quot;: &amp;quot;2024-10-31 15:22:37&amp;quot;, &amp;quot;is_pull_erp&amp;quot;: false, &amp;quot;wh_code&amp;quot;: &amp;quot;东二区&amp;quot;, &amp;quot;items&amp;quot;: [ { &amp;quot;sku_code&amp;quot;: &amp;quot;TX-56985632&amp;quot;, &amp;quot;art_no&amp;quot;: &amp;quot;HS7854&amp;quot;, &amp;quot;cn_name&amp;quot;: &amp;quot;检测工具&amp;quot;, &amp;quot;en_name&amp;quot;: &amp;quot;Car scanning detecto&amp;quot;, &amp;quot;net_weight&amp;quot;: 0.23, &amp;quot;cross_weight&amp;quot;: 0.26, &amp;quot;quantity&amp;quot;: 3, &amp;quot;unit&amp;quot;: &amp;quot;个&amp;quot;, &amp;quot;unit_price&amp;quot;: 12.56, &amp;quot;material&amp;quot;: &amp;quot;test&amp;quot;, &amp;quot;use&amp;quot;: &amp;quot;self use&amp;quot;, &amp;quot;brand&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;hg_info&amp;quot;: { &amp;quot;hg_hs_code&amp;quot;: &amp;quot;87767890&amp;quot;, &amp;quot;hg_cn_name&amp;quot;: &amp;quot;检测工具&amp;quot;, &amp;quot;hg_en_name&amp;quot;: &amp;quot;Car scanning detecto&amp;quot;, &amp;quot;hg_brand&amp;quot;: &amp;quot;维修&amp;quot;, &amp;quot;hg_unit_price&amp;quot;: 12.56, &amp;quot;hg_quantity&amp;quot;: 3, &amp;quot;hg_total_amount&amp;quot;: 100.9, &amp;quot;hg_unit_one&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;hg_unit_one_weight&amp;quot;: 8.56, &amp;quot;hg_unit_second&amp;quot;: &amp;quot;个&amp;quot;, &amp;quot;hg_unit_second_weight&amp;quot;: 2, &amp;quot;hg_transaction_unit&amp;quot;: &amp;quot;个&amp;quot;, &amp;quot;hg_source_of_goods&amp;quot;: &amp;quot;深圳&amp;quot;, &amp;quot;hg_country_of_origin&amp;quot;: &amp;quot;中国&amp;quot;, &amp;quot;hg_declaration_elements&amp;quot;: &amp;quot;1|0|汽车维修检测用|连 接汽车电脑诊断座,读取车辆数据|检测|品牌THINKCAR||型号TCBD6&amp;quot;, &amp;quot;hg_exemption_method&amp;quot;: &amp;quot;一般征税&amp;quot; } }, { &amp;quot;sku_code&amp;quot;: &amp;quot;TX-56985632-3&amp;quot;, &amp;quot;art_no&amp;quot;: &amp;quot;HS7854&amp;quot;, &amp;quot;cn_name&amp;quot;: &amp;quot;检测工具&amp;quot;, &amp;quot;en_name&amp;quot;: &amp;quot;Car scanning detecto&amp;quot;, &amp;quot;net_weight&amp;quot;: 0.23, &amp;quot;cross_weight&amp;quot;: 0.26, &amp;quot;quantity&amp;quot;: 3, &amp;quot;unit&amp;quot;: &amp;quot;个&amp;quot;, &amp;quot;unit_price&amp;quot;: 12.56, &amp;quot;material&amp;quot;: &amp;quot;test&amp;quot;, &amp;quot;use&amp;quot;: &amp;quot;self use&amp;quot;, &amp;quot;brand&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;hg_info&amp;quot;: { &amp;quot;hg_hs_code&amp;quot;: &amp;quot;87767890&amp;quot;, &amp;quot;hg_cn_name&amp;quot;: &amp;quot;检测工具&amp;quot;, &amp;quot;hg_en_name&amp;quot;: &amp;quot;Car scanning detecto&amp;quot;, &amp;quot;hg_brand&amp;quot;: &amp;quot;维修&amp;quot;, &amp;quot;hg_unit_price&amp;quot;: 12.56, &amp;quot;hg_quantity&amp;quot;: 3, &amp;quot;hg_total_amount&amp;quot;: 100.9, &amp;quot;hg_unit_one&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;hg_unit_one_weight&amp;quot;: 8.56, &amp;quot;hg_unit_second&amp;quot;: &amp;quot;个&amp;quot;, &amp;quot;hg_unit_second_weight&amp;quot;: 2, &amp;quot;hg_transaction_unit&amp;quot;: &amp;quot;个&amp;quot;, &amp;quot;hg_source_of_goods&amp;quot;: &amp;quot;深圳&amp;quot;, &amp;quot;hg_country_of_origin&amp;quot;: &amp;quot;中国&amp;quot;, &amp;quot;hg_declaration_elements&amp;quot;: &amp;quot;1|0|汽车维修检测用|连 接汽车电脑诊断座,读取车辆数据|检测|品牌THINKCAR||型号TCBD6&amp;quot;, &amp;quot;hg_exemption_method&amp;quot;: &amp;quot;一般征税&amp;quot; } } ] }</code></pre> <h5>请求json字段说明</h5> <table> <thead> <tr> <th>字段名</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>reference_no</td> <td>是</td> <td>string</td> <td>客户单号</td> </tr> <tr> <td>business_type</td> <td>是</td> <td>string</td> <td>业务类型,如9610,1210</td> </tr> <tr> <td>shipping_method</td> <td>是</td> <td>string</td> <td>渠道代码</td> </tr> <tr> <td>country_code</td> <td>是</td> <td>string</td> <td>国家二字码</td> </tr> <tr> <td>order_weight</td> <td>是</td> <td>string</td> <td>订单重量</td> </tr> <tr> <td>order_volume</td> <td>否</td> <td>object</td> <td>订单体积</td> </tr> <tr> <td>order_pieces</td> <td>否</td> <td>string</td> <td>包裹数量</td> </tr> <tr> <td>platform</td> <td>否</td> <td>string</td> <td>来源,如Amazon,ebay等</td> </tr> <tr> <td>platform_number</td> <td>否</td> <td>string</td> <td>平台订单号</td> </tr> <tr> <td>total_amount</td> <td>是</td> <td>string</td> <td>订单总金额</td> </tr> <tr> <td>total_amount_currency</td> <td>是</td> <td>string</td> <td>订单总金额币种</td> </tr> <tr> <td>bg_currency_code</td> <td>否</td> <td>string</td> <td>报关币种</td> </tr> <tr> <td>remark</td> <td>否</td> <td>object</td> <td>订单备注</td> </tr> <tr> <td>back_hand_type</td> <td>否</td> <td>string</td> <td>退货方式</td> </tr> <tr> <td>shipper_name</td> <td>是</td> <td>string</td> <td>发件人名称</td> </tr> <tr> <td>shipper_company</td> <td>否</td> <td>string</td> <td>发件人公司</td> </tr> <tr> <td>shipper_country_code</td> <td>是</td> <td>string</td> <td>发件人国家二字码</td> </tr> <tr> <td>shipper_province</td> <td>是</td> <td>string</td> <td>发件人省/州</td> </tr> <tr> <td>shipper_city</td> <td>是</td> <td>string</td> <td>发件人城市</td> </tr> <tr> <td>shipper_street</td> <td>是</td> <td>string</td> <td>发件人详细地址</td> </tr> <tr> <td>shipper_postcode</td> <td>是</td> <td>string</td> <td>发件人邮编</td> </tr> <tr> <td>shipper_telephone</td> <td>是</td> <td>string</td> <td>发件人联系电话</td> </tr> <tr> <td>shipper_mobile</td> <td>否</td> <td>string</td> <td>发件人联系手机</td> </tr> <tr> <td>shipper_email</td> <td>否</td> <td>string</td> <td>发件人邮编</td> </tr> <tr> <td>consignee_name</td> <td>是</td> <td>string</td> <td>收货人名称</td> </tr> <tr> <td>consignee_company</td> <td>是</td> <td>string</td> <td>收货人公司</td> </tr> <tr> <td>consignee_doorplate</td> <td>否</td> <td>string</td> <td>收货人门牌号</td> </tr> <tr> <td>consignee_province</td> <td>是</td> <td>string</td> <td>收货人省/州</td> </tr> <tr> <td>consignee_city</td> <td>是</td> <td>string</td> <td>收货人城市</td> </tr> <tr> <td>consignee_street</td> <td>是</td> <td>string</td> <td>收货人详细地址</td> </tr> <tr> <td>consignee_street2</td> <td>否</td> <td>string</td> <td>收货人详细地址2</td> </tr> <tr> <td>consignee_street3</td> <td>否</td> <td>string</td> <td>收货人详细地址3</td> </tr> <tr> <td>consignee_mobile</td> <td>是</td> <td>string</td> <td>收货人联系手机</td> </tr> <tr> <td>consignee_telephone</td> <td>否</td> <td>string</td> <td>收货人联系电话</td> </tr> <tr> <td>consignee_email</td> <td>是</td> <td>string</td> <td>收货人联系邮箱</td> </tr> <tr> <td>consignee_postcode</td> <td>是</td> <td>string</td> <td>收货人邮编</td> </tr> <tr> <td>consignee_tax_no</td> <td>否</td> <td>string</td> <td>收货人相关税号</td> </tr> <tr> <td>wh_code</td> <td>否</td> <td>string</td> <td>仓库代码</td> </tr> <tr> <td>items</td> <td>是</td> <td>array</td> <td>订单货物信息</td> </tr> <tr> <td>items.sku_code</td> <td>是</td> <td>string</td> <td>SKU代码</td> </tr> <tr> <td>items.art_no</td> <td>否</td> <td>string</td> <td>货号</td> </tr> <tr> <td>items.cn_name</td> <td>是</td> <td>string</td> <td>中文品名</td> </tr> <tr> <td>items.en_name</td> <td>是</td> <td>string</td> <td>英文品名</td> </tr> <tr> <td>items.net_weight</td> <td>是</td> <td>string</td> <td>商品净重</td> </tr> <tr> <td>items.cross_weight</td> <td>否</td> <td>string</td> <td>商品毛重</td> </tr> <tr> <td>items.quantity</td> <td>是</td> <td>string</td> <td>数量</td> </tr> <tr> <td>items.unit</td> <td>否</td> <td>string</td> <td>单位</td> </tr> <tr> <td>items.unit_price</td> <td>是</td> <td>string</td> <td>售价</td> </tr> <tr> <td>items.material</td> <td>否</td> <td>string</td> <td>材质</td> </tr> <tr> <td>items.use</td> <td>否</td> <td>string</td> <td>用途</td> </tr> <tr> <td>items.brand</td> <td>否</td> <td>string</td> <td>品牌</td> </tr> <tr> <td>items.hg_info</td> <td>否</td> <td>object</td> <td>申报信息</td> </tr> <tr> <td>items.hg_info.hg_hs_code</td> <td>否</td> <td>string</td> <td>海关编码</td> </tr> <tr> <td>items.hg_info.hg_cn_name</td> <td>否</td> <td>string</td> <td>申报中文名称</td> </tr> <tr> <td>items.hg_info.hg_en_name</td> <td>否</td> <td>string</td> <td>申报英文名称</td> </tr> <tr> <td>items.hg_info.hg_brand</td> <td>否</td> <td>string</td> <td>申报品牌</td> </tr> <tr> <td>items.hg_info.hg_unit_price</td> <td>否</td> <td>string</td> <td>申报单价</td> </tr> <tr> <td>items.hg_info.hg_quantity</td> <td>否</td> <td>string</td> <td>申报数量</td> </tr> <tr> <td>items.hg_info.hg_total_amount</td> <td>否</td> <td>string</td> <td>申报总金额</td> </tr> <tr> <td>items.hg_info.hg_unit_one</td> <td>否</td> <td>string</td> <td>申报法定第一单位</td> </tr> <tr> <td>items.hg_info.hg_unit_one_weight</td> <td>否</td> <td>string</td> <td>申报法定第一单位重量</td> </tr> <tr> <td>items.hg_info.hg_unit_second</td> <td>否</td> <td>string</td> <td>申报法定第二单位</td> </tr> <tr> <td>items.hg_info.hg_unit_second_weight</td> <td>否</td> <td>string</td> <td>申报法定第二单位重量</td> </tr> <tr> <td>items.hg_info.hg_transaction_unit</td> <td>否</td> <td>string</td> <td>成交单位</td> </tr> <tr> <td>items.hg_info.hg_source_of_goods</td> <td>否</td> <td>string</td> <td>货源</td> </tr> <tr> <td>items.hg_info.hg_country_of_origin</td> <td>否</td> <td>string</td> <td>原产国</td> </tr> <tr> <td>items.hg_info.hg_declaration_elements</td> <td>否</td> <td>string</td> <td>申报要素</td> </tr> <tr> <td>items.hg_info.hg_exemption_method</td> <td>否</td> <td>string</td> <td>征免方式</td> </tr> </tbody> </table> <h5>成功返回示例</h5> <pre><code>{ &amp;quot;code&amp;quot;: 1, &amp;quot;msg&amp;quot;: &amp;quot;订单创建成功&amp;quot;, &amp;quot;time&amp;quot;: 1730451301, &amp;quot;data&amp;quot;: { &amp;quot;order_no&amp;quot;: &amp;quot;DR306609013693208&amp;quot;, &amp;quot;awb_no&amp;quot;: &amp;quot;DES456985112&amp;quot;, &amp;quot;reference_no&amp;quot;: &amp;quot;AW14587122891165522&amp;quot; }, &amp;quot;log_id&amp;quot;: &amp;quot;9bfb91de74ce19d38956db12cd2004b8&amp;quot; }</code></pre> <h5>成功返回示例的参数说明</h5> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>string</td> <td>1:成功 ,0: 失败</td> </tr> <tr> <td>msg</td> <td>string</td> <td>提示信息</td> </tr> <tr> <td>time</td> <td>string</td> <td>无</td> </tr> <tr> <td>data.order_no</td> <td>string</td> <td>订单订单号</td> </tr> <tr> <td>data.awb_no</td> <td>string</td> <td>转单号</td> </tr> <tr> <td>data.reference_no</td> <td>string</td> <td>客户单号</td> </tr> <tr> <td>log_id</td> <td>string</td> <td>日志ID</td> </tr> </tbody> </table> <h5>失败返回示例</h5> <pre><code>{ &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;: &amp;quot;Signature timeout&amp;quot;, &amp;quot;data&amp;quot;: [], &amp;quot;track_id&amp;quot;: &amp;quot;2bef4a39c5de410e170db134fbc7e686&amp;quot; }</code></pre> <h5>失败返回示例的参数说明</h5> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>string</td> <td>1:成功 ,0: 失败</td> </tr> <tr> <td>msg</td> <td>string</td> <td>提示信息</td> </tr> <tr> <td>data</td> <td>array</td> <td>数据</td> </tr> <tr> <td>track_id</td> <td>string</td> <td>日志ID</td> </tr> </tbody> </table>

页面列表

ITEM_HTML