返回订单API

dangdang.orders.invoice.site.update

电子发票地址

  • 功能描述:商家将电子发票地址回写到当当订单

    支持的数据格式:xml

    HTTP请求方式:POST

    版本:1.0

  • 系统级输入参数:

    请参考系统级输入参数

    应用级输入参数:


    变量名称 变量命名 变量类型 是否必填 示例 说明

    订单号

    orderId

    String

    12039014469

    订单号

    电子发票地址

    invoiceUrl

    String

    https://www.chinaeinv.com/p.jspa?c=B8665C43A35855A030CB

    电子发票的地址


     

  • 商家接收到的XML文件格式说明:


    变量名称 变量命名 变量类型 说明

    处理结果

    Result

    -


    1操作码

    operCode

    int

    0
    35
    2400
    500

    2操作结果信息

    operation

    string

    0:操作成功
    35:订单编号错误
    2400:url校验不通过
    500 :系统异常


     

  • 商家接收到的XML文件实例:


    <?xml version="1.0" encoding="GBK"?>

    <response>

           <functionID> modifyInvoice</functionID>

           <time>2015-03-01 15:10:50</time>

           <Result>

               <operCode>35</operCode>

               <operation>订单编号错误</operation>

           </Result>

        </response>

     

    实例2

    <?xml version="1.0" encoding="GBK"?>

    <response>

           <functionID> modifyInvoice</functionID>

           <time>2015-03-01 15:10:50</time>

           <Result>

               <operCode>0</operCode>

               <operation>操作成功</operation>

           </Result>

    </response>