{"templateId":"openapi_docs","sharedDataIds":{"openAPIDocsStore":"oas-@l10n/ja/api/liveops/index.yaml","sidebar":"sidebar-@l10n/ja/liveops-en.sidebars.yaml"},"props":{"definitionId":"@l10n/ja/api/liveops/index.yaml","dynamicMarkdocComponents":[],"baseSlug":"/ja/api/liveops","seo":{"title":"概要","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]},"description":"Daily rewards motivate users to log into the store every day to receive free items. The behavior when a day is skipped depends on the [chain type](/ja/api/liveops/daily-chain-admin/admin-create-daily-chain#daily-chain-admin/admin-create-daily-chain/t=request&path=&oneof=0/type). For daily rewards to work correctly, you need to configure [user authentication](/ja/api/catalog#section/Authentication). Unauthenticated users can see the full daily reward chain but cannot claim rewards. For detailed information on configuring daily rewards, refer to the [Daily rewards](/ja/liveops/promotion-tools/daily-rewards/) section.\n\nChains are configured using the API calls from the **Admin** subsection. To grant rewards, use the API calls from the **Client** subsection.\n\nDaily chain configuration scenario:\n\n1. Create items using the API calls from the **Admin** subsection of the [Virtual items and currency](/ja/api/catalog/virtual-items-currency-admin/admin-get-virtual-items-list/) or [Bundles](/ja/api/catalog/bundles-admin/admin-create-bundle) groups.\n2. Create a chain using the [Create daily reward](/ja/api/liveops/daily-chain-admin/admin-create-daily-chain) API call.\n3. Activate the chain by passing the `\"is_enabled\": true` parameter to the [Create daily reward](/ja/api/liveops/daily-chain-admin/admin-create-daily-chain/) API call.\n4. Request the list of available chains using the [Get current user's daily rewards](/ja/api/liveops/daily-chain-client/get-daily-chains-list) API call, passing the [user JWT](/ja/api/catalog/section/authentication/authentication-using-user's-jwt). The response contains all active chains with their steps and statuses.\n5. Set up item granting via [webhooks](/ja/webhooks/section/osnovnye-polozheniya).\n6. Grant the user their daily reward using the [Claim daily reward step](/ja/api/liveops/daily-chain-client/claim-user-daily-chain-step-reward) API call, passing `daily_chain_id` and `step_number`.\n\n![Daily rewards](https://cdn.xsolla.net/developers/current/images/api_docs/daily-rewards.svg)"},"itemId":"daily-chain-overview","disableAutoScroll":true,"metadata":{},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"xsolla.redocly.app","port":4000,"ipAddress":"185.30.21.18"},"lang":"ja","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"realm"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/ja/api/liveops/daily-chain-overview","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}