修仙 API背包
POST
/business/xiuxian/inventory/accept_gift接收指定的赠予物品。
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/business/xiuxian/inventory/accept_gift" \ -H "Content-Type: application/json" \ -d '{ "gift_id": 0 }'{ "code": 0, "message": "接收赠予成功", "data": { "profile": { "user_id": "b1_p1" }, "gift": { "gift_id": 1, "item_name": "回灵丹", "count": 3 } }, "time": 1779502528}