Gets a sellable item by SKU for building a catalog.
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 |
The sellable item was successfully received.
Item not found. Make sure the project_id
and the sku
are correct.
{- "item_id": 259774,
- "sku": "electric_shield",
- "type": "virtual_good",
- "name": "Electric shield",
- "description": "Electric shield",
- "price": {
- "amount": "9.99",
- "amount_without_discount": "9.99",
- "currency": "USD"
}, - "virtual_prices": [
- {
- "description": null,
- "item_id": 259765,
- "sku": "gold",
- "name": "Gold",
- "type": "virtual_currency",
- "amount": 10,
- "amount_without_discount": 10,
- "calculated_price": {
- "amount": "10.00",
- "amount_without_discount": "10.00"
}, - "is_default": true
}, - {
- "description": null,
- "item_id": 259766,
- "sku": "silver",
- "name": "Silver",
- "type": "virtual_currency",
- "amount": 20,
- "amount_without_discount": 20,
- "calculated_price": {
- "amount": "20.00",
- "amount_without_discount": "20.00"
}, - "is_default": false
}, - {
- "description": null,
- "item_id": 259767,
- "sku": "bronze",
- "name": "Bronze",
- "type": "virtual_currency",
- "amount": 200,
- "amount_without_discount": 200,
- "calculated_price": {
- "amount": "200.00",
- "amount_without_discount": "200.00"
}, - "is_default": false
}
], - "can_be_bought": true,
- "promotions": [
- {
- "name": "Bonus promotion",
- "date_start": "2020-04-15T16:16:00+03:00",
- "date_end": "2026-04-15T16:16:00+03:00",
- "discount": {
- "percent": "50.00"
}, - "bonus": [
- {
- "quantity": 1,
- "name": "Xsolla Minigun",
- "sku": "minigun_1",
- "type": "virtual_good"
}
]
}
], - "attributes": [ ],
- "is_free": false,
- "groups": [
- {
- "external_id": "armour",
- "name": "Armour"
}
], - "virtual_item_type": "non_consumable",
- "inventory_options": {
- "consumable": null,
- "expiration_period": null
}, - "limits": {
- "per_user": {
- "total": 5,
- "available": 3,
- "recurrent_schedule": {
- "interval_type": "weekly",
- "reset_next_date": 1746057600
}
}
}, - "vp_rewards": [
- {
- "item_id": 175232,
- "sku": "value_point_1",
- "amount": 130,
- "name": "Value point",
}, - {
- "item_id": 186321,
- "sku": "clan_value_point_sku_1",
- "amount": 50,
- "name": "Clan Reward VP 1",
- "is_clan": true
}
], - "custom_attributes": {
- "purchased": 0,
- "attr": "value"
}
}