创建运单
<h1>[切换英文](<a href="https://www.showdoc.com.cn/2581666458826562/11479416845060130">https://www.showdoc.com.cn/2581666458826562/11479416845060130</a> "切换英文")</h1>
<h5>简要描述</h5>
<ul>
<li>创建运单接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://www.37-express.com/qyfr/api/parcel/v2/</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>设置头部(HEADER)</h5>
<ul>
<li>Content-Type: application/json</li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;"><strong>account</strong></td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">object</td>
<td>账号信息</td>
</tr>
<tr>
<td style="text-align: left;">account/email</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户名</td>
</tr>
<tr>
<td style="text-align: left;">account/password</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>密码</td>
</tr>
<tr>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;"><strong>createShipment</strong></td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">object</td>
<td>正文数据</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/carrier</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>派送商的ID号或者代码。可参见<a href="https://www.showdoc.com.cn/1673998693694655/7912392114288807">派送商代码和ID文档</a></td>
</tr>
<tr>
<td style="text-align: left;">createShipment/platformOrderNumber</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>您的唯一参考单号</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/createTrackingNumber</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>是否需要接口返回运单号和快递单。可取值为:true,false,1,0,如果没有该节点或者什么都不填就认为是true</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/getPdfFile</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>是否返回快递单文件,由于面单PDF文件较大,不返回面单文件可以加快数据传输速度,如果createTrackingNumber参数为0或false,则该参数无效。可取值为:true,false,1,0,如果没有该节点或者什么都不填就认为是true</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/notPrintReceipt</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>可取值为1, 为1侧不打印凭证</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/category</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>包裹类别,是一个整数值,默认值是3:<br/>1 礼品<br/>2 商业样板<br/>3 商业快件<br/>4 文件<br/>5 其它<br/>6 个人物品<br/>注:以公司名义寄件不允许提交个人物品的包裹类别</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/invoiceFile</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>发票文件(<em>.pdf,</em>.jpg,*.png),必须是BASE64编码字符串</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/invoiceFileType</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>发票文件类型pdf,jpg,png,空值为pdf</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/originCountry</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>包裹中物品的原产国,填写的是国家代码,例如:US</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/invoiceNumber</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>发票号</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/invoiceDate</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>发票日期,格式必须是:YYYY-MM-DD</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/delivery_instructions</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>Delivery Instructions</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/senderType</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>1 为 快捷下单, 2 为 自定义下单,特殊线路Colissimo International才使用,默认为2</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/labelSize</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>派送商的面单尺寸。可参见<a href="https://www.showdoc.com.cn/1673998693694655/7880433316385623">获取各派送商的报价-label_size_options</a></td>
</tr>
<tr>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;"><strong>createShipment/parcels</strong></td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">array</td>
<td>包裹明细</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/parcels/weight</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">float</td>
<td>包裹重量,单位:kg</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/parcels/length</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">float</td>
<td>包裹长度,单位:cm</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/parcels/width</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">float</td>
<td>包裹宽度,单位:cm</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/parcels/height</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">float</td>
<td>包裹高度,单位:cm</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/parcels/amount</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">float</td>
<td>包裹价值,为0时侧不参保险,如果填写了价值,自动计算保险费,默认为,0单位:欧</td>
</tr>
<tr>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;"><strong>createShipment/parcels/articles</strong></td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">array</td>
<td>包裹里的物品信息</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/parcels/articles/description</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>物品名称</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/parcels/articles/quantity</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>这种物品的数量</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/parcels/articles/value</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">float</td>
<td>单件物品的价值,单位:EUR</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/parcels/articles/weight</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">float</td>
<td>单件物品的重量,单位:KG</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/parcels/articles/hsCode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>物品的海关税号。<a href="https://www.showdoc.com.cn/1673998693694655/7925888546303853">这里可以查询</a></td>
</tr>
<tr>
<td style="text-align: left;">createShipment/parcels/articles/originCountry</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>原产国家,例如:FR</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/parcels/articles/brand</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>物品的品牌</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/parcels/articles/spec</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>物品的规格</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/parcels/articles/barcode</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>物品的条形码</td>
</tr>
<tr>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;"><strong>createShipment/senderAddress</strong></td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">object</td>
<td>寄件人地址</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/senderAddress/prefix</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>寄件人称呼</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/senderAddress/firstName</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>寄件人名字</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/senderAddress/lastName</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>寄件人姓氏</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/senderAddress/companyName</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>寄件人公司,如果没有填写姓名,则公司必须填写</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/senderAddress/countryCode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>寄件地址国家代码,例如:FR</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/senderAddress/region</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>寄件地址州/省</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/senderAddress/city</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>寄件地址城市</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/senderAddress/street</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>寄件街道地址</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/senderAddress/street2</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>寄件附加街道地址</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/senderAddress/postalCode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>寄件地址邮编</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/senderAddress/phoneNumber</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>寄件人电话</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/senderAddress/email</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>寄件人邮箱</td>
</tr>
<tr>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;"><strong>createShipment/receiverAddress</strong></td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">object</td>
<td>收件人地址</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/receiverAddress/prefix</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>收件人称呼</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/receiverAddress/firstName</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>收件人名字</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/receiverAddress/lastName</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>收件人姓氏</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/receiverAddress/companyName</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>收件人公司,如果没有填写姓名,则公司必须填写</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/receiverAddress/countryCode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>收件地址国家代码,例如:US</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/receiverAddress/region</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>收件地址州/省</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/receiverAddress/city</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>收件地址城市</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/receiverAddress/district</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>城市的区/县。如果是中国,这是必填的</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/receiverAddress/street</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>收件街道地址</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/receiverAddress/street2</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>收件附加街道地址</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/receiverAddress/postalCode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>收件地址邮编</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/receiverAddress/phoneNumber</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>收件人电话</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/receiverAddress/email</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>收件人邮箱</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/receiverAddress/idCard</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>收件人证件号码</td>
</tr>
<tr>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;"><strong>createShipment/upsAccessPointAddress</strong></td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">object</td>
<td>UPS驿站地址</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/upsAccessPointAddress/name</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>UPS驿站名称</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/upsAccessPointAddress/countryCode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>UPS驿站地址国家代码,例如:FR</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/upsAccessPointAddress/city</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>UPS驿站地址城市</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/upsAccessPointAddress/street</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>UPS驿站街道地址</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/upsAccessPointAddress/street2</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>UPS驿站附加街道地址</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/upsAccessPointAddress/postalCode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>UPS驿站地址邮编</td>
</tr>
<tr>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;"><strong>createShipment/mondialrelayPointAddress</strong></td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">object</td>
<td>Mondial Relay驿站地址</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/mondialrelayPointAddress/id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>Mondial Relay驿站ID</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/mondialrelayPointAddress/name</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>Mondial Relay驿站名称</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/mondialrelayPointAddress/countryCode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>Mondial Relay驿站地址国家代码,例如:FR</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/mondialrelayPointAddress/city</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>Mondial Relay驿站地址城市</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/mondialrelayPointAddress/street</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>Mondial Relay驿站街道地址</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/mondialrelayPointAddress/street2</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>Mondial Relay驿站附加街道地址</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/mondialrelayPointAddress/postalCode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>Mondial Relay驿站地址邮编</td>
</tr>
<tr>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;"><strong>createShipment/appointmentPickup</strong></td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">object</td>
<td>预约上门取件</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/appointmentPickup/pickupDate</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">date</td>
<td>预约上门取件日期,格式必须是:YYYY-MM-DD</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/appointmentPickup/company</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>您的公司名</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/appointmentPickup/name</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>联系人</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/appointmentPickup/countryCode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>国家,目前只允许FR</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/appointmentPickup/city</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>上门城市</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/appointmentPickup/street</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>上门街道地址</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/appointmentPickup/room</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>门牌号</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/appointmentPickup/floor</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>楼层</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/appointmentPickup/postalCode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>上门地址的邮编</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/appointmentPickup/phoneNumber</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>联系电话</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/appointmentPickup/isHome</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>是否家庭地址。是用Y,否用N</td>
</tr>
<tr>
<td style="text-align: left;">createShipment/appointmentPickup/remarks</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>其它特别说明</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code>{
&quot;account&quot;: {
&quot;email&quot;: &quot;test@test.com&quot;,
&quot;password&quot;: &quot;test_test_test_test&quot;
},
&quot;createShipment&quot;: {
&quot;carrier&quot;:&quot;ups_access_point&quot;,
&quot;platformOrderNumber&quot;:&quot;A-12345678&quot;,
&quot;createTrackingNumber&quot;:true,
&quot;getPdfFile&quot;:true,
&quot;parcels&quot;: [
{&quot;weight&quot;: 2,&quot;length&quot;: 12,&quot;width&quot;: 32,&quot;height&quot;: 23,&quot;articles&quot;:[
{&quot;description&quot;:&quot;Cadeaux Personnels&quot;,&quot;quantity&quot;:2,&quot;value&quot;:12,&quot;weight&quot;:1,&quot;hsCode&quot;:&quot;38000000&quot;}
]},
{&quot;weight&quot;: 3,&quot;length&quot;: 11,&quot;width&quot;: 33,&quot;height&quot;: 88,&quot;articles&quot;:[
{&quot;description&quot;:&quot;Vêtements&quot;,&quot;quantity&quot;:1,&quot;value&quot;:10,&quot;weight&quot;:1.5,&quot;hsCode&quot;:&quot;61000000&quot;},
{&quot;description&quot;:&quot;Vêtements&quot;,&quot;quantity&quot;:1,&quot;value&quot;:20,&quot;weight&quot;:1.5,&quot;hsCode&quot;:&quot;61000000&quot;}
]}
],
&quot;senderAddress&quot;: {
&quot;firstName&quot;: &quot;Jessica&quot;,
&quot;lastName&quot;: &quot;La plus belle&quot;,
&quot;companyName&quot;: &quot;Cindy H&quot;,
&quot;countryCode&quot;: &quot;FR&quot;,
&quot;city&quot;: &quot;AUBERVILLIERS&quot;,
&quot;street&quot;: &quot;8-10 RUE DE LA HAIE COQ&quot;,
&quot;postalCode&quot;: &quot;93300&quot;,
&quot;phoneNumber&quot;: &quot;0148340955&quot;,
&quot;email&quot;: &quot;cindyhbyazalee@gmail.com&quot;
},
&quot;receiverAddress&quot;: {
&quot;firstName&quot;: &quot;yangyang&quot;,
&quot;lastName&quot;: &quot;xiao&quot;,
&quot;companyName&quot;: &quot;TEST COMPANY&quot;,
&quot;countryCode&quot;: &quot;DK&quot;,
&quot;city&quot;: &quot;COPENHAGEN&quot;,
&quot;street&quot;: &quot;OSTERBROGAGE 114 2ND&quot;,
&quot;postalCode&quot;: &quot;2100&quot;,
&quot;phoneNumber&quot;: &quot;004531905171&quot;,
&quot;email&quot;: &quot;xiaoyangyang@ftl-express.com&quot;
},
&quot;upsAccessPointAddress&quot;:{
&quot;name&quot;:&quot;TABAC PRESSE CARPE DIEM&quot;,
&quot;countryCode&quot;:&quot;FR&quot;,
&quot;city&quot;:&quot;AJACCIO&quot;,
&quot;street&quot;:&quot;27 BOULEVARD DOMINIQUE PAOLI&quot;,
&quot;postalCode&quot;:&quot;20090&quot;
}
}
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
&quot;success&quot;: true,
&quot;createShipment&quot;:{
&quot;incrementId&quot;: 78284091,
&quot;pdfUrlToken&quot;: &quot;jdfhjdf84387hs7shdjk82h83jad0oe5&quot;,
&quot;pdfUrl&quot;: &quot;https://www.37-express.com/qyfr/api/parcel/print/increment_id/78284091/token/jdfhjdf84387hs7shdjk82h83jad0oe5/&quot;,
&quot;trackingNumber&quot;: [&quot;1Z6660YVYZ96488032&quot;,&quot;1Z6660YVYZ98316053&quot;],
&quot;pdfContent&quot;: &quot;BASE64编码&quot;
}
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">incrementId</td>
<td style="text-align: left;">string</td>
<td>唯一运单编号</td>
</tr>
<tr>
<td style="text-align: left;">pdfUrlToken</td>
<td style="text-align: left;">string</td>
<td>用于打印面单的token</td>
</tr>
<tr>
<td style="text-align: left;">pdfUrl</td>
<td style="text-align: left;">string</td>
<td>用于打印面单的URL</td>
</tr>
<tr>
<td style="text-align: left;">trackingNumber</td>
<td style="text-align: left;">array</td>
<td>派送商的跟踪单号,只有createShipment/createTrackingNumber参数为true时才有</td>
</tr>
<tr>
<td style="text-align: left;">pdfContent</td>
<td style="text-align: left;">string</td>
<td>快递单PDF文件内容,BASE64编码,只有createShipment/createTrackingNumber参数为true时才有</td>
</tr>
</tbody>
</table>
<h5>出错返回示例</h5>
<pre><code>{
&quot;success&quot;: false,
&quot;message&quot;: &quot;Invalid login or password.&quot;
}</code></pre>