post

/v2/project/{project_id}/inventory/purchase

Adds the specified items by purchase to the specified user inventories.

Authorization

basic

Request Parameters

1 Path Parameter

Request Body

Schema
array[object]
$schema: http://json-schema.org/draft-04/schema#
user
object
required
comment
string

Operation description. For example: “Monthly challenge rewards”.

3 validations
platform
string

Publishing platform the user plays on.

2 validations
purchase
object
required
items
array[object]
1 validation + required

Responses

Successful user purchase

1 Example
Schema
object
$schema: http://json-schema.org/draft-04/schema#
count
integer
1 validation
operations
array[object]

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
project_id
$$.env
2 variables not set
username
password