注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > CRM猎户座前台

qimen.alibaba.okki.sales.specification.get (ggs小满动态表单查询销售选择的规格信息)

ggs小满动态表单查询销售选择的规格信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
quotation_id String 可选 123 报价单id
promotion_id String 必须 123 促销id
ali_gid String 必须 123 阿里gid

响应参数

名称 类型 示例值 描述
gid String 12323 阿里gid
quotation_id String 123 小满报价单id
success Boolean true 调用是否成功
error_desc String success 错误描述
resp_code String 0 响应码
promotion_id String 123 促销id
quotation_items QuotationItems [] 报价行,包含销售选择的规格信息
  • └ spu_code
  • String
  • be561
  • 产品code
  • └ final_price
  • String
  • 800.00
  • 最终价格=原价-优惠价
  • └ discount_price
  • String
  • 200.00
  • 优惠价格
  • └ is_free
  • Number
  • 0
  • 是否免费,0表示付费行,1表示赠送行
  • └ specification
  • String
  • 时长12月,账号10个,空间512G
  • 规格
  • └ currency
  • String
  • NTD
  • 币种
  • └ origin_price
  • String
  • 1000.00
  • 原价
  • └ product_name
  • String
  • OKKI Smart
  • 产品名
  • └ quotation_item_id
  • String
  • 2345_1
  • 报价行id

请求示例

{"quotation_id":"123","promotion_id":"123","ali_gid":"123"}

响应示例

{
    "gid":"12323",
    "quotation_id":"123",
    "success":true,
    "error_desc":"success",
    "resp_code":"0",
    "promotion_id":"123",
    "quotation_items":[
        {
                "spu_code":"be561",
                "final_price":"800.00",
                "discount_price":"200.00",
                "is_free":0,
                "specification":"时长12月,账号10个,空间512G",
                "currency":"NTD",
                "origin_price":"1000.00",
                "product_name":"OKKI Smart",
                "quotation_item_id":"2345_1"
        }
    ]
}

验签示例

{"success":"不等于true","error_desc":"Illegal request","resp_code":"sign-check-failure"}

错误码解释

错误码 错误描述 解决方案

API工具

FAQ

返回
顶部