跳到主要内容
版本:202201

查询折扣码详情

GET 

/openapi/2022-01/price_rules/:price_rule_id/discount_codes/:discount_code_id

获取指定价格规则下特定折扣码的详细信息。

请求

Path参数

    price_rule_id string必填

    折扣码关联的价格规则 ID。

    discount_code_id string必填

    折扣码 ID。

响应

200

数据结构
    discount_code object
    idstring
    示例: f819c126-a581-4d66-a909-08282dd35916
    price_rule_idstring
    示例: 588fea0b-f15d-4c1d-9390-23661f0194fa
    codestring
    示例: VIJK8GB0
    created_atstring
    示例: 2022-06-17 07:48:29
    updated_atstring
    示例: 2022-06-17 07:48:29
    use_with_otherstring
    示例: 1
    usage_countstring
    示例: 0