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

qimen.alibaba.okki.cgs.sales.specification.get (cgs查询销售已选的规格信息)

组合促销场景下,查询客户在小满选择的所有产品

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
quotation_id String 可选 12333 小满返回的方案id
promotion_id String 可选 123 促销id
ali_gid String 可选 123 客户gid

响应参数

名称 类型 示例值 描述
ali_gid String 12323 客户gid
quotation_id String 123 方案id
success Boolean true 是否成功
error_desc String success 错误信息
resp_code String 0 返回code
promotionId String 123 促销id
product_list ProductInfo [] 商品列表(包含购买/赠送)
  • item_list
  • OrderInfo []
  • 方案行
  • └ is_free
  • String
  • 0
  • 是否免费, 0购买, 1赠送
  • └ product_name
  • String
  • OKKI Shops专业A版
  • 方案行商品名称
  • └ type
  • String
  • 1
  • 购买类型(新续签/增购)
  • └ original_amount
  • String
  • 59800
  • 原价
  • └ amount
  • String
  • 59800
  • 折后价
  • └ duration
  • String
  • 12
  • 服务周期
  • └ quotation_item_id
  • String
  • 12333_1
  • 小满方案行id
  • └ specification_description
  • String
  • 产品:OKKI Shops专业A版\n类型:新签\n年限:24月\n账号:5 个\u0028标配 5 个,额外购买 0 个\u0029\n
  • 规格描述
  • └ product_name
  • String
  • OKKI Shops专业版
  • 商品名称
  • └ spu_code
  • String
  • bp017
  • 商品code

请求示例

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

响应示例

{
    "ali_gid":"12323",
    "quotation_id":"123",
    "success":true,
    "error_desc":"success",
    "resp_code":"0",
    "promotionId":"123",
    "product_list":[
        {
                "item_list":[
                    {
                            "is_free":"0",
                            "product_name":"OKKI Shops专业A版",
                            "type":"1",
                            "original_amount":"59800",
                            "amount":"59800",
                            "duration":"12",
                            "quotation_item_id":"12333_1",
                            "specification_description":"产品:OKKI Shops专业A版\\n类型:新签\\n年限:24月\\n账号:5 个\\u0028标配 5 个,额外购买 0 个\\u0029\\n"
                    }
                ],
                "product_name":"OKKI Shops专业版",
                "spu_code":"bp017"
        }
    ]
}

验签示例

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

错误码解释

错误码 错误描述 解决方案

API工具

FAQ

返回
顶部