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
1 Query Parameter

Request Body

Schema
object
$schema: http://json-schema.org/draft-04/schema#
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