跳到主要内容
版本:202201

领取优惠券

POST 

/openapi/2022-01/coupons/receive

将指定优惠券分配给顾客。

请求

请求体

    customer_idstring必填

    Customer's ID to receive coupons

    coupon_idsstring[]必填

    Coupons' IDs

响应

200

数据结构
    statusinteger
    默认值: 0
    示例: 0
    items object[]
  • Array [
  • idstring
    示例: 202314454241654711
    statusinteger
    默认值: 0
    示例: 0
    valuestring
    示例: 0
    stockinteger
    默认值: 0
    示例: 20
    coupon_statusinteger
    默认值: 0
    示例: 1
    received_countinteger
    默认值: 0
    示例: 1
    discount_textstring
    示例:
    prerequisite_textstring
    示例:
    is_first_orderboolean
    默认值: true
    示例: false
  • ]
  • limitinteger
    默认值: 0
    示例: 0
    has_moreboolean
    默认值: true
    示例: false
    cursorstring
    示例: 0