Skip to content

Documentation


Documentation / @blizzard-api/wow / item

Function: item() ​

item(itemId): object

Defined in: wow/src/item/index.ts:20

Get an item by ID.

Parameters ​

itemId ​

number

The item ID.

Returns ​

The item. See ItemResponse.

_responseType? ​

optional _responseType?: ItemResponse

Internal

The response type of the resource

namespace? ​

optional namespace?: BlizzardNamespaces

parameters? ​

optional parameters?: Record<string, unknown>

path ​

path: string

The request path. Dynamic path segments should be encoded with encodeURIComponent.