Skip to Content
MinexonMinexon

inventory.item

Returns an inventory item and its operation key.

GET/api/v1/{locale}/inventory/{slug}

API scope inventory.item

Request

Send Authorization: Bearer <key> with each request.

Requires a signed-in player and applicable permission.

Path parameters

FieldTypeRequirementDescription
localetr or enRequiredRequest locale.
slugstringRequiredURL slug of the resource.

Query parameters

FieldTypeRequirementDescription
statusstringOptionalall, available, queued, delivered or review.

This endpoint takes no request body.

Run samples from your application server. See Quickstart for variables and sessions.

curl --fail-with-body --request GET \
  -H "Authorization: Bearer $MINEXON_API_KEY" \
  -b "$MINEXON_COOKIE_JAR" -c "$MINEXON_COOKIE_JAR" \
  "${MINEXON_BASE_URL}/api/v1/en/inventory/example"

Response

HTTP 200 · application/json

The fields below are inside the response’s data object.

FieldTypeRequirementDescription
localestringRequiredResponse locale.
errorstring or nullConditionalAction error. Can be empty on success.
errorsarray or objectConditionalField or form validation errors.
noticestring or nullConditionalAction notice.
itemobjectRequiredInventory item and use history.
selectedJSON valueConditionalCategory or filter selected on this screen.
slugstringConditionalRecord slug.
canGiftbooleanRequiredWhether gifting is enabled.
operationJSON valueConditionalValue determined by screen and configuration.
operationKeystringRequiredOperation key for the next use or gift request.
Nested fields
FieldTypeRequirementDescription
item.quantityintegerRequiredQuantity available.
item.canUsebooleanRequiredWhether the item can be delivered to a game server.
item.revisionintegerRequiredItem revision to include in an operation request.

Selected fields from an example response

{
  "data": {
    "locale": "en",
    "item": {},
    "canGift": true
  }
}

Flow and error cases

Shared error and authentication contract