- Auth
- API Keys
- Collectables
- Heroes and Characters
- Game
- Asset Candidates
- Assets
- Bones
- Players
- Leaderboards
- Files
- Feature Toggles
- Universal Player Auth
- Merging
- Rarities
- Preferences
- Platforms
- Progressions
- User
- Organisation
- Link Types
- Events/Missions
- Maps
- White Label Login
- Rewards
- Moderation Reports
- Catalogs
- Currency
- Balances
- Messages
- DLC
- Player Segments
- Character Classes
- Subscriptions
- Player Operations
- Roles
- Title Config
- Items
- Entitlements
- Feedback
- Hosts
- Metadata
- Triggers
- Data Migration
- Twitch Drops
- Notifications
Create a catalog item for a currency
POST
https://api.lootlocker.io/admin/game/{game_id}/catalog/item
economy
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://api.lootlocker.io/admin/game//catalog/item' \
--header 'x-auth-token: ' \
--header 'x-auth-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"game_id": ,
"catalog_id": "",
"entity_id": "{{catalog_currency_id}}",
"entity_kind": "currency",
"metadata": [
{
"key": "purchased_amount",
"value": "100000"
}
]
}'
Response Response Example
{
"id": "01GSAY8VWMKHH8FBGEWW8WF3WX",
"name": "my catalog",
"game_id": 123,
"created_at": "2023-02-15T16:24:39Z"
}
Request
Path Params
game_id
stringÂ
required
Example:
{{dev_game_id}}
Header Params
x-auth-token
stringÂ
required
Example:
{{admin_auth_token}}
Body Params application/json
object {0}
Examples
Responses
🟢200Successful request
application/json
Body
id
stringÂ
required
name
stringÂ
required
game_id
integerÂ
required
created_at
stringÂ
required
Modified at 2024-01-19 12:21:05