Graph API Version

User Game Items

Reading

You can't perform this operation on this endpoint.

Creating

You can't perform this operation on this endpoint.

Updating

You can update a User by making a POST request to /{user_id}/game_items.

Parameters

ParameterDescription
action
enum {MARK, CONSUME, DROP}

Action to trigger on an inventory item

Required
app_id
application ID

Overrides the application from the user access token. Must be another app within the business

drop_table_id
game_drop_table ID

What loot drop table to trigger for the DROP action

ext_id
string

External id assigned by the game for the item

item_id
game_item ID

What item id to target for the MARK and CONSUME actions

quantity
int64

SELF_EXPLANATORY

Return Type

Struct {
id: unsigned integer,
count: unsigned integer,
created: timestamp,
item_def: string,
status: enum,
updated: timestamp,
ext_id: string,
}

Validation Rules

ErrorDescription
100Invalid parameter

Deleting

You can't perform this operation on this endpoint.