华磊科技

页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

 URL1/createOrderApi.htm?param={"buyerid":"","consignee_address":"收件地址街道,必填","consignee_city":"城市","consignee_mobile":"手机号,选填。为方便派送最好填写","order_returnsign":"退回标志,默认N表示不退回,Y标表示退回。中邮可以忽略该属性","consignee_name":"收件人,必填","trade_type":"ZYXT","consignee_postcode":"邮编,有邮编的国家必填","consignee_state":"州/省","consignee_telephone":"收件电话,必填","country":"收件国家二字代码,必填","customer_id":"客户ID,必填","customer_userid":"登录人ID,必填","orderInvoiceParam":[{"invoice_amount":"申报总价值,必填","invoice_pcs":"件数,必填","invoice_title":"英文品名,必填","invoice_weight":"单件重","item_id":"","item_transactionid":"","sku":"中文品名","sku_code":"配货信息","hs_code":"海关编码"}],"order_customerinvoicecode":"原单号,必填","product_id":"运输方式ID,必填","weight":"总重,选填,如果sku上有单重可不填该项","product_imagepath":"图片地址,多图片地址用分号隔开","order_transactionurl":"产品销售地址","consignee_email":"邮箱,选填","consignee_companyname":"收件公司名,如有最好填写","order_cargoamount":"订单实际金额,用于白关申报","order_insurance":"保险金额"}

以上请求以post方式提交

返回值

{"ack":"true","message":"如果未获取到转单号,则该列存放失败原因(该内容请urldecode后查看)","order_transfercode": "特殊情况下使用,默认不用理会","reference_number":"参考号","tracking_number":"跟踪号",”order_id”:”xxxxxxx”}

...

 URL1/createOrderApi.htm?getTrackingNumber=2&param={"buyerid":"","consignee_address":"收件地址街道,必填","consignee_city":"城市","consignee_mobile":"手机号,选填。为方便派送最好填写","order_returnsign":"退回标志,默认N表示不退回,Y标表示退回。中邮可以忽略该属性","consignee_name":"收件人,必填","trade_type":"ZYXT","consignee_postcode":"邮编,有邮编的国家必填","consignee_state":"州/省","consignee_telephone":"收件电话,必填","country":"收件国家二字代码,必填","customer_id":"客户ID,必填","customer_userid":"登录人ID,必填","orderInvoiceParam":[{"invoice_amount":"申报总价值,必填","invoice_pcs":"件数,必填","invoice_title":"英文品名,必填","invoice_weight":"单件重","item_id":"","item_transactionid":"","sku":"中文品名","sku_code":"配货信息","hs_code":"海关编码"}],"order_customerinvoicecode":"原单号,必填","product_id":"运输方式ID,必填","weight":"总重,选填,如果sku上有单重可不填该项","product_imagepath":"图片地址,多图片地址用分号隔开","order_serveinvoicecode":"跟踪号码","order_transactionurl":"产品销售地址","consignee_email":"邮箱,选填","consignee_companyname":"收件公司名,如有最好填写","order_cargoamount":"订单实际金额,用于白关申报","order_insurance":"保险金额"}

返回值

{"ack":"true","message":"如果未获取到转单号,则该列存放失败原因(该内容请urldecode后查看)","order_transfercode": "特殊情况下使用,默认不用理会","reference_number":"参考号","tracking_number":"跟踪号",”order_id”:”xxxxxxx”}

...

"shipper_address2":"发件人地址2,选填","shipper_address3":"发件人地址3,选填","shipper_city":"发件人城市,选填","shipper_state":"发件人州,选填","shipper_postcode":"发件人邮编,选填","shipper_country":"发件人国家,选填","shipper_telephone":"发件人电话,选填","order_transactionurl":"产品销售地址","consignee_email":"邮箱,选填","consignee_companyname":"收件公司名,如有最好填写","order_cargoamount":"订单实际金额,用于白关申报","order_insurance":"保险金额"}

 

 

代收货款业务

 URL1/createOrderApi.htm?param={"buyerid":"","consignee_address":"收件地址街道,必填","consignee_city":"城市","consignee_mobile":"手机号,选填。为方便派送最好填写","order_returnsign":"退回标志,默认N表示不退回,Y标表示退回。中邮可以忽略该属性","consignee_name":"收件人,必填","trade_type":"ZYXT","consignee_postcode":"邮编,有邮编的国家必填","consignee_state":"州/省","consignee_telephone":"收件电话,必填","country":"收件国家二字代码,必填","customer_id":"客户ID,必填","customer_userid":"登录人ID,必填","orderInvoiceParam":[{"invoice_amount":"申报总价值,必填","invoice_pcs":"件数,必填","invoice_title":"英文品名,必填","invoice_weight":"单件重","item_id":"","item_transactionid":"","sku":"中文品名","sku_code":"配货信息","hs_code":"海关编码"}],"order_customerinvoicecode":"原单号,必填","product_id":"运输方式ID,必填","weight":"总重,选填,如果sku上有单重可不填该项","product_imagepath":"图片地址,多图片地址用分号隔开","shipper_name":"发件人姓名,选填","shipper_companyname":"发件人公司名,选填","shipper_address1":"发件人地址1,选填",

...

"order_codamount":"代收金额","order_codcurrency":"币种,标准三字代码","order_cargoamount":"订单实际金额,用于白关申报","order_insurance":"保险金额"}

 

批量下单接口

 URL1/createOrderBatchApi.htm?param=[{"buyerid":"","consignee_address":"收件地址街道,必填","consignee_city":"城市","consignee_mobile":"手机号,选填。为方便派送最好填写","order_returnsign":"退回标志,默认N表示不退回,Y标表示退回。中邮可以忽略该属性","consignee_name":"收件人,必填","trade_type":"ZYXT","consignee_postcode":"邮编,有邮编的国家必填","consignee_state":"州/省","consignee_telephone":"收件电话,必填","country":"收件国家二字代码,必填","customer_id":"客户ID,必填","customer_userid":"登录人ID,必填","orderInvoiceParam":[{"invoice_amount":"申报总价值,必填","invoice_pcs":"件数,必填","invoice_title":"英文品名,必填","invoice_weight":"单件重","item_id":"","item_transactionid":"","sku":"中文品名","sku_code":"配货信息","hs_code":"海关编码"}],"order_customerinvoicecode":"原单号,必填","product_id":"运输方式ID,必填","weight":"总重,选填,如果sku上有单重可不填该项","product_imagepath":"图片地址,多图片地址用分号隔开","shipper_name":"发件人姓名,选填","shipper_companyname":"发件人公司名,选填","shipper_address1":"发件人地址1,选填",

...

"order_codamount":"代收金额","order_codcurrency":"币种,标准三字代码","order_cargoamount":"订单实际金额,用于白关申报","order_insurance":"保险金额"},

{"buyerid":"","consignee_address":"收件地址街道,必填","consignee_city":"城市","consignee_mobile":"手机号,选填。为方便派送最好填写","order_returnsign":"退回标志,默认N表示不退回,Y标表示退回。中邮可以忽略该属性","consignee_name":"收件人,必填","trade_type":"ZYXT","consignee_postcode":"邮编,有邮编的国家必填","consignee_state":"州/省","consignee_telephone":"收件电话,必填","country":"收件国家二字代码,必填","customer_id":"客户ID,必填","customer_userid":"登录人ID,必填","orderInvoiceParam":[{"invoice_amount":"申报总价值,必填","invoice_pcs":"件数,必填","invoice_title":"英文品名,必填","invoice_weight":"单件重","item_id":"","item_transactionid":"","sku":"中文品名","sku_code":"配货信息","hs_code":"海关编码"}],"order_customerinvoicecode":"原单号,必填","product_id":"运输方式ID,必填","weight":"总重,选填,如果sku上有单重可不填该项","product_imagepath":"图片地址,多图片地址用分号隔开","shipper_name":"发件人姓名,选填","shipper_companyname":"发件人公司名,选填","shipper_address1":"发件人地址1,选填",

...

"order_codamount":"代收金额","order_codcurrency":"币种,标准三字代码","order_cargoamount":"订单实际金额,用于白关申报","order_insurance":"保险金额"}]

返回信息:

{
"data": [
{
"ack": "true",  //下单成功或失败的标准,成功返回true,失败返回false
"message": "", //下单失败时返回原因,urldecode解码
"order_id": "35864", //订单id,请持久化保存,用于打印面单
"order_transfercode": "", //特殊情况下使用,默认不用理会
"reference_number": "SF701708290061B",  //客户的原始单号,参考号
"tracking_number": "RF000000204DEL" //转单号/跟踪号
}
],
"message": "",   返回json不合法或未传param参数
"resultCode": "true"  //仅当json不合法以及未传递param参数时该状态返回false,其他情况下返回true
}

...