API リファレンス
ZEPETO World Open API
贈り物を贈る
1 分
あなたはzepeto zemやzepetoコインを控除して、他のzepetoユーザーにzepetoギフトアイテムとして提供することができます。 ただし、この機能は、送信者がギフトを送信する30日前にzepetoアカウントを作成している場合にのみ利用可能です。 { "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" \[] } ] }