API接口目录

零售云业务

采购API
订单API
库存API
价格API
商品API
报表API
消息服务API
基础数据API
物流API
零售商认证API
发票API
快修回收API
云仓API
异常码自查工具
suning.retailer.saveminvoicereceiver.create 保存商户发票收件人信息
¥免费

保存商户发票收件人信息

公共参数
请求参数
名称 类型 是否必须 示例值 描述
cityCodeStringN11cityCode
cityNameStringNcityNamecityName
contactPersonStringNcontactPersoncontactPerson
contactPhoneStringNcontactPhonecontactPhone
createTimeStringNcreateTimecreateTime
createUserStringNcreateUsercreateUser
detailAddressStringNdetailAddressdetailAddress
districtCodeStringNdistrictCodedistrictCode
districtNameStringNdistrictNamedistrictName
merchantCodeStringNmerchantCodemerchantCode
provCodeStringNprovCodeprovCode
provNameStringNprovNameprovName
townCodeStringNtownCodetownCode
townNameStringNtownNametownName
updateTimeStringNupdateTimeupdateTime
updateUserStringNupdateUserupdateUser
appIdStringYappIdappId
响应参数
名称 类型 示例值 描述
resultFlagStringYY:成功 N:失败
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <createSaveminvoicereceiver>
      <merchantCode>merchantCode</merchantCode>
      <townName>townName</townName>
      <districtCode>districtCode</districtCode>
      <provName>provName</provName>
      <districtName>districtName</districtName>
      <provCode>provCode</provCode>
      <townCode>townCode</townCode>
      <cityCode>11</cityCode>
      <contactPerson>contactPerson</contactPerson>
      <updateUser>updateUser</updateUser>
      <updateTime>updateTime</updateTime>
      <cityName>cityName</cityName>
      <createTime>createTime</createTime>
      <appId>appId</appId>
      <detailAddress>detailAddress</detailAddress>
      <createUser>createUser</createUser>
      <contactPhone>contactPhone</contactPhone>
    </createSaveminvoicereceiver>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "createSaveminvoicereceiver": {
        "merchantCode": "merchantCode",
        "townName": "townName",
        "districtCode": "districtCode",
        "provName": "provName",
        "districtName": "districtName",
        "provCode": "provCode",
        "townCode": "townCode",
        "cityCode": "11",
        "contactPerson": "contactPerson",
        "updateUser": "updateUser",
        "updateTime": "updateTime",
        "cityName": "cityName",
        "createTime": "createTime",
        "appId": "appId",
        "detailAddress": "detailAddress",
        "createUser": "createUser",
        "contactPhone": "contactPhone"
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_body>
    <createSaveminvoicereceiver>
      <resultFlag>Y</resultFlag>
    </createSaveminvoicereceiver>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_body": {
      "createSaveminvoicereceiver": {
        "resultFlag": "Y"
      }
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.retailer.createsaveminvoicereceiver.missing-parameter:* 参数必填 请检查此参数的值,*号表示参数字段名
isp.sys.service.unavailable.srcdss 服务不可用 请联系苏宁技术人员
公共异常码
API工具
FAQ