:none;visibility:hidden">
post

/v2/project/{project_id}/user/inventory/item/consume

Client Method. Consumes an item from the current user’s inventory.

Authorization

apiKey - Authorization

Request Parameters

1 Path Parameter

Request Body

Schema
object
sku
string

Unique item ID. The SKU may only contain lowercase Latin alphanumeric characters, dashes, and underscores.

2 validations + required
quantity
number

Items quantity. If item is uncountable, should be ‘null’.

2 validations
instance_id
string

Instance item ID. If item is countable, should be ‘null’.

2 validations

Responses

An item from the user’s inventory was consumed.

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
project_id
$$.env
Authorization