Xsolla-logo

Get sellable item by SKUClient-side

get/v2/project/{project_id}/items/sku/{sku}

Gets a sellable item by SKU for building a catalog.

Note

This endpoint, accessible without authorization, returns generic data. However, authorization enriches the response with user-specific details for a personalized result, such as available user limits and promotions.
SecurityXsollaLoginUserJWT
Request
path Parameters
project_id
required
integer

Project ID. You can find this parameter in your Publisher Account next to the name of the project.

Example: 59080
sku
required
string

Item SKU.

Example: electric_shield
query Parameters
promo_code
string [ 1 .. 128 ] characters

Unique case sensitive code. Contains letters and numbers.

Example: promo_code=WINTER2021
show_inactive_time_limited_items
integer
Default: 0

Shows time-limited items that are not available to the user. The validity period of such items has not started or has already expired.

Example: show_inactive_time_limited_items=1
Responses
200

The sellable item was successfully received.

404

Item not found. Make sure the project_id and the sku are correct.

Request samples
Response samples
application/json
{}