Xsolla-logoXsolla Developers
or
To Publisher Account

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
additional_fields[]
Array of strings

The list of additional fields. These fields will be in the response if you send them in your request.

Items Enum: "media_list" "order" "long_description" "custom_attributes" "item_order_in_group"
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
{}