---
title: 赠送礼物
slug: world-sdk-guide-ch/Hl04xjaTxgcA8cdirOJkQ
docTags: 
createdAt: 2024-09-03T12:42:22.081Z
---

您可以扣除您的 ZEPETO ZEM 或 ZEPETO Coins，将其作为 ZEPETO 礼物赠送给其他 ZEPETO 用户。

然而，只有在发送者在发送礼物之前至少创建了 30 天的 ZEPETO 账户时，此功能才可用。

:::ApiMethodV2
```json
{
  "name": "向玩家赠送礼物",
  "method": "POST",
  "url": "https://openapi.zepeto.zone/operation/v1/gift/send",
  "description": "",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "oCyJWlO6S5X9_NcroNs8R",
        "language": "shell",
        "code": "curl --request POST \\\n     --url https://openapi.zepeto.zone/operation/v1/gift/send \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json'",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "oCyJWlO6S5X9_NcroNs8R"
  },
  "results": {
    "languages": [
      {
        "id": "UGC4ZIkJ7akjNH_3kMLDu",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"coin\": 0,\n  \"zem\": 0,\n  \"totalBuyCoin\": 0,\n  \"totalBuyZem\": 0\n}"
      },
      {
        "id": "vjhmTOKhwJ4g7neNszYqF",
        "language": "500",
        "customLabel": "",
        "code": "{\n      \"message\": \"错误信息\"\n}"
      }
    ],
    "selectedLanguageId": "vjhmTOKhwJ4g7neNszYqF"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [
      {
        "name": "itemId",
        "kind": "optional",
        "type": "string",
        "description": "物品 ID"
      },
      {
        "name": "message",
        "kind": "optional",
        "type": "string",
        "description": "消息\n- 最多 80 个字符",
        "children": []
      },
      {
        "name": "receiver",
        "kind": "optional",
        "type": "string",
        "description": "接收者\n- userId 或 zepetoId",
        "children": []
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "主体参数",
    "value": "bodyDataParameters"
  },
  "response": [
    {
      "name": "coin",
      "kind": "optional",
      "type": "Number",
      "description": "金币余额",
      "children": []
    },
    {
      "name": "zem",
      "kind": "optional",
      "type": "Number",
      "description": "Zem 余额",
      "children": []
    },
    {
      "name": "totalBuyCoin",
      "kind": "optional",
      "type": "Number",
      "description": "消费的金币",
      "children": []
    },
    {
      "name": "totalBuyZem",
      "kind": "optional",
      "type": "Number",
      "description": "消费的 Zem",
      "children": []
    }
  ],
  "autoGeneratedAnchorSlug": "pEY8cjj8iBkmq8ZtatSmQ",
  "legacyHash": "pEY8cjj8iBkmq8ZtatSmQ"
}
```
:::

