# Get sellable item by SKU Gets a sellable item by SKU for building a catalog. NoteThis 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. Endpoint: GET /v2/project/{project_id}/items/sku/{sku} Version: 2.0.0 Security: XsollaLoginUserJWT ## Path parameters: - `project_id` (integer, required) Project ID. You can find this parameter in your Publisher Account next to the name of the project. Example: 59080 - `sku` (string, required) Item SKU. Example: "electric_shield" ## Query parameters: - `promo_code` (string) Unique case sensitive code. Contains letters and numbers. Example: "WINTER2021" - `show_inactive_time_limited_items` (integer) 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: 1 - `additional_fields[]` (array) The list of additional fields. These fields will be in the response if you send them in your request. Enum: "media_list", "order", "long_description", "custom_attributes", "item_order_in_group" ## Response 200 fields (application/json): - `item_id` (integer) Internal unique item ID that is provided upon item creation. Example: 259774 - `sku` (string) Unique item ID. The SKU may contain only lowercase and uppercase Latin alphanumeric characters, periods, dashes, and underscores. Example: "electric_shield" - `name` (string) Item name. Example: "Electric shield" - `groups` (array) Groups the item belongs to. Example: [{"external_id":"exclusive","name":"Exclusive"}] - `groups.external_id` (string) A unique identifier for the group, typically used for referencing it in API requests or external systems. Example: "exclusive" - `groups.name` (string) Name of the group. Example: "Exclusive" - `groups.item_order_in_group` (integer) The item’s position within the group, used to determine its display order. This field is included in the response only if requested via the additional_fields[] query parameter. Example: 1 - `attributes` (array) List of attributes and their values corresponding to the item. Can be used for catalog filtering. Example: {"value":{"external_id":"genre","name":"Жанр","values":[{"external_id":"genre_e3364991f92e751689a68b96598a5a5a84010b85","value":"Casual"},{"external_id":"genre_eba07bfd0f982940773cba3744d97264dd58acd7","value":"Strategy"},{"external_id":"genre_b8d0c6d8f0524c2b2d79ebb93aa3cd0e8b5199a8","value":"Mobile"}]}} - `attributes.external_id` (string) Unique attribute ID. The external_id may contain only lowercase and uppercase Latin alphanumeric characters, dashes, and underscores. Example: "attribute_1" - `attributes.name` (object) Name of attribute. Example: "Genre" - `attributes.values` (array) - `attributes.values.external_id` (string) Unique value ID for an attribute. The external_id may only contain lowercase Latin alphanumeric characters, dashes, and underscores. Example: "attribute_value" - `attributes.values.value` (string) Value of attribute. Example: "Strategy" - `type` (string) Type of item: virtual_good/virtual_currency/bundle/game_key/physical_good. Enum: "virtual_good", "virtual_currency", "bundle", "game_key", "physical_good" - `description` (string) Item description. Example: "Electric shield" - `image_url` (string) Image URL. Example: "https://cdn3.xsolla.com/img/misc/images/d2d6b1b517e6a7f3765c3bb5a3cfb87d.png" - `is_free` (boolean) If true, the item is free. - `price` (object) Item prices. - `price.amount` (string) Discounted item price. Example: "9.99" - `price.amount_without_discount` (string) Item price. Example: "9.99" - `price.currency` (string) Item price currency. Three-letter code per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). Example: "USD" - `virtual_prices` (array) Virtual prices. - `virtual_prices.amount` (integer) Discounted item price in virtual currency. Example: 10 - `virtual_prices.calculated_price` (object) - `virtual_prices.calculated_price.amount` (string) - `virtual_prices.calculated_price.amount_without_discount` (string) - `virtual_prices.sku` (string) Virtual currency item SKU. Example: "gold" - `virtual_prices.is_default` (boolean) Whether price is default for item. Example: true - `virtual_prices.image_url` (string) Image of virtual currency. Example: "https://cdn3.xsolla.com/img/misc/images/e2e9ce8b00eb0190c161c4258b899101.png" - `virtual_prices.name` (string) Virtual currency name. Example: "Gold" - `virtual_prices.type` (string) Virtual currency type. Example: "virtual_currency" - `virtual_prices.description` (string,null) Virtual currency description. - `can_be_bought` (boolean) If true, the user can buy an item. Example: true - `promotions` (array) Applied promotions for specific items in the cart. The array is returned in the following cases: * A discount promotion is configured for a specific item. * A promo code with the Discount on selected items setting is applied. If no item-level promotions are applied, an empty array is returned. - `promotions.name` (string) - `promotions.date_start` (string,null) - `promotions.date_end` (string,null) - `promotions.discount` (object,null) - `promotions.discount.percent` (string,null) - `promotions.discount.value` (string,null) - `promotions.bonus` (array) - `promotions.bonus.sku` (string) - `promotions.bonus.quantity` (integer) - `promotions.bonus.type` (string) Bonus item type. Enum: "virtual_good", "virtual_currency", "bundle", "physical_good", "game_key", "nft" - `promotions.bonus.name` (string) Bonus item name. Not available for physical_good bonus item type. - `promotions.bonus.image_url` (string) Bonus item image URL. Not available for physical_good bonus item type. - `promotions.bonus.bundle_type` (string) Bonus bundle item type. Available only for bundle bonus item type. Enum: "standard", "virtual_currency_package" - `promotions.limits` (object) - `promotions.limits.per_user` (object) - `promotions.limits.per_user.available` (integer) - `promotions.limits.per_user.total` (integer) - `virtual_item_type` (string) Type of virtual item. Enum: "consumable", "non_consumable", "non_renewing_subscription" - `limits` (object,null) Item limits. - `limits.per_user` (object,null) Item limits for a user. - `limits.per_user.total` (integer) Maximum number of items a single user can purchase. Example: 5 - `limits.per_user.available` (integer) Remaining number of items the current user can purchase. Example: 3 - `limits.per_user.recurrent_schedule` (object) Item limits recurrent refresh period for a user. - `limits.per_user.recurrent_schedule.interval_type` (string) Recurrent refresh period type. Enum: "daily", "weekly", "monthly", "hourly" - `limits.per_user.recurrent_schedule.reset_next_date` (integer) Date and time when limits reset (Unix Timestamp). Example: 1677553200 - `limits.per_user.limit_exceeded_visibility` (string) Determines the visibility of the item in the catalog after the purchase limit is reached, until the next limit reset. Applies to items for which recurring limit resets are configured in the recurrent_schedule array. If limit resets are not configured, the item doesn't appear in the catalog after the purchase limit is reached, regardless of the limit_exceeded_visibility value. Enum: "show", "hide" - `limits.per_item` (object,null) Item limits for an item. - `limits.per_item.total` (integer) Maximum number of items all users can purchase. Example: 5 - `limits.per_item.available` (integer) Remaining number of items all users can purchase. Example: 3 - `custom_attributes` (object) A JSON object containing item attributes and values. - `vp_rewards` (array) Value point item reward. - `vp_rewards.item_id` (integer) Internal unique item ID. Example: 1 - `vp_rewards.sku` (string) Unique value point ID. - `vp_rewards.amount` (integer) Amount of value points. - `vp_rewards.name` (string) Value point name. - `vp_rewards.is_clan` (boolean) Whether the value point is used in clan reward chains. Example: true ## Response 404 fields (application/json): - `statusCode` (integer) Example: 404 - `errorCode` (integer) Example: 4001 - `errorMessage` (string) Example: "[0401-4001]: Item with sku = 'electric_shiel' not found"