Economy API POST Endpoints
User Inventory Operations
Manage user inventory.
Available actions:
addItem- add item to inventory (requires userId, item).removeItem- remove item from inventory (requires userId, itemName, amount).clearInventory- clear entire inventory (requires userId).
POST
Authorizations
API key for accessing CivOps endpoints.
Passed in the Authorization: Bearer <key> header.
REQUIRED FOR ALL CIVOPS ENDPOINTS (except /health).
Query Parameters
Operation type.
Available options:
addItem, removeItem, clearInventory Body
application/json
The body is of type object.
Response
Operation successfully completed.
The response is of type object.