> For the complete documentation index, see [llms.txt](https://mamba-dongdong.gitbook.io/pc-im/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mamba-dongdong.gitbook.io/pc-im/you-hui-quan/fa-song-you-hui-quan.md).

# 发送优惠券

#### 请求说明

```
POST https://ms.shougongker.com/index.php?c=Pc&a=sendCoupon  HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=utf-8
```

请求中Headers的设置请参考[接口概述](https://mamba-dongdong.gitbook.io/pc-im/jie-kou-gai-shu)

#### 请求参数

| 字段名   | 变量名        | 必填 | 类型  | 示例值    | 描述            |
| ----- | ---------- | -- | --- | ------ | ------------- |
| 用户ID  | uid        | 是  | int | 165191 | 优惠券接收对象的手工客ID |
| 优惠券ID | coupon\_id | 是  | int | 1      | 优惠券ID         |

#### 返回结果

| 字段名  | 变量名    | 必填 | 类型     | 示例值 | 描述                                         |
| ---- | ------ | -- | ------ | --- | ------------------------------------------ |
| 状态码  | status | 是  | int    | 200 | 状态码                                        |
| 返回信息 | info   | 否  | string | ok  | 接口具体状态信息                                   |
| 数据   | data   | 是  | object |     | 接口返回的具体数据，如果数据为空，则data为空对象，具体数据在data对面里面体现 |

#### 返回示例

```
{
    "status": 200,
    "info": "ok",
}
```
