简要描述:

兑换码详情--获取商品列表(兑换码类型为1即商品时才调用该接口)

请求域名:

  • http://xx.com

请求URL:

plugin.exchange-code.api.create

请求参数说明:

参数名 是否必须 类型 说明
exchange_code_id 是 int 兑换码日志id (从兑换码使用--获取兑换码日志接口获取)
dispatch_type_id 否 int 配送方式
goods 是 json 订单商品数组
address 是 json 地址信息
invoice_type 是 int 发票类型(0:电子发票,1:纸质发票)
rise_type 是 int 发票抬头(0:单位,1:个人)
call 是 string 称呼
ncompany_numberote 否 string 单位识别号
goods 是否必须 类型 说明
goods_id 是 int 商品id
goods_option_id 否 int 规格id
total 是 int 购买数量

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "order_ids": "201"
    }
}

返回参数说明:

参数名 类型 说明
order_ids int 订单id 之后走聚合支付接口 order.merge-pay