**版本：202201**

# 礼品卡

创建和管理顾客在结账时可核销为余额的礼品卡。

礼品卡是商家发行的预付储值凭证，顾客可在后续购物时抵扣使用。每张礼品卡包含初始面值、当前余额、 可选的到期时间，并可关联到具体顾客或订单。

提供单张或批量创建礼品卡、按多种条件查询和搜索礼品卡列表、查询礼品卡详情、更新可编辑字段 （到期时间、备注、模板）以及禁用不再可用的礼品卡等接口。

- [创建礼品卡](/zh-CN/api/202201/create-gift-card) `POST /openapi/2022-01/gift_cards`: 使用提供的详情创建新礼品卡。

- [查询礼品卡列表](/zh-CN/api/202201/gift-card-list) `GET /openapi/2022-01/gift_cards`: 分页返回符合过滤条件的礼品卡列表。

- [查询礼品卡详情](/zh-CN/api/202201/get-gift-card-details) `GET /openapi/2022-01/gift_cards/:id`: 通过礼品卡 ID 获取指定礼品卡的详情。

- [更新礼品卡](/zh-CN/api/202201/update-gift-card) `PUT /openapi/2022-01/gift_cards/:id`: 通过礼品卡 ID 更新现有礼品卡的详细信息。

- [禁用礼品卡](/zh-CN/api/202201/disable-gift-card) `POST /openapi/2022-01/gift_cards/:id/disable`: 通过礼品卡 ID 禁用指定礼品卡。
