Skip to main content
POST
Add items to an entity's inventory

Body

application/json

Add items to an entity's inventory: entity_id, item_id, and count (defaults to 1). Auto-creates an 8-slot inventory if absent.

The body is of type any.

Response

200 - application/json

Items added; ok is false with a message if the entity is missing or the inventory is full.

ok
boolean
required
message
string | null