Gets a sellable items list from the specified group for building a catalog.
limit | integer Limit for the number of elements on the page. Example: limit=50 |
offset | integer Number of the element from which the list is generated (the count starts from 0). Example: offset=0 |
locale | string Default: "en" Response language. Two-letter lowercase language code per ISO 639-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. Available fields |
country | string Two-letter uppercase country code per ISO 3166-1 alpha-2. Shows regional prices and restrictions for a catalog if those were specified while creating an item. Note
If you do not specify the country explicitly, it will be set based on user's IP address. Example: country=US |
The list of sellable items from the specified group was successfully received.
The group wasn’t found. Make sure that the external_id
is correct and the group isn’t turned off or deleted.
{- "items": [
- {
- "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,
- "attributes": [ ],
- "is_free": false,
- "groups": [
- {
- "external_id": "armour",
- "name": "Armour"
}
], - "virtual_item_type": "non_consumable",
- "inventory_options": {
- "consumable": null,
- "expiration_period": [
- {
- "item_id": 259775,
- "sku": "royal_shield",
- "type": "virtual_good",
- "name": "Royal shield",
- "description": "Royal shield",
- "price": {
- "amount": "19.99",
- "amount_without_discount": "19.99",
- "currency": "USD"
}, - "virtual_prices": [
- {
- "description": null,
- "item_id": 259765,
- "sku": "gold",
- "name": "Gold",
- "type": "virtual_currency",
- "amount": 20,
- "amount_without_discount": 20,
- "calculated_price": {
- "amount": "20.00",
- "amount_without_discount": "20.00"
}, - "is_default": true
}, - {
- "description": null,
- "item_id": 259766,
- "sku": "silver",
- "name": "Silver",
- "type": "virtual_currency",
- "amount": 40,
- "amount_without_discount": 40,
- "calculated_price": {
- "amount": "40.00",
- "amount_without_discount": "40.00"
}, - "is_default": false
}, - {
- "description": null,
- "item_id": 259767,
- "sku": "bronze",
- "name": "Bronze",
- "type": "virtual_currency",
- "amount": 400,
- "amount_without_discount": 400,
- "calculated_price": {
- "amount": "400.00",
- "amount_without_discount": "400.00"
}, - "is_default": false
}
], - "can_be_bought": true,
- "attributes": [ ],
- "is_free": false,
- "groups": [
- {
- "external_id": "armour",
- "name": "Armour"
}
], - "virtual_item_type": "non_consumable",
- "inventory_options": {
- "consumable": null,
- "expiration_period": null
}
}, - {
- "item_id": 259776,
- "sku": "ancient_helmet",
- "type": "virtual_good",
- "name": "Ancient helmet",
- "description": "Ancient helmet",
- "price": {
- "amount": "1.99",
- "amount_without_discount": "1.99",
- "currency": "USD"
}, - "virtual_prices": [
- {
- "description": null,
- "item_id": 259765,
- "sku": "gold",
- "name": "Gold",
- "type": "virtual_currency",
- "amount": 2,
- "amount_without_discount": 2,
- "calculated_price": {
- "amount": "2.00",
- "amount_without_discount": "2.00"
}, - "is_default": true
}, - {
- "description": null,
- "item_id": 259766,
- "sku": "silver",
- "name": "Silver",
- "type": "virtual_currency",
- "amount": 4,
- "amount_without_discount": 4,
- "calculated_price": {
- "amount": "4.00",
- "amount_without_discount": "4.00"
}, - "is_default": false
}, - {
- "description": null,
- "item_id": 259767,
- "sku": "bronze",
- "name": "Bronze",
- "type": "virtual_currency",
- "amount": 40,
- "amount_without_discount": 40,
- "calculated_price": {
- "amount": "40.00",
- "amount_without_discount": "40.00"
}, - "is_default": false
}
], - "can_be_bought": true,
- "attributes": [ ],
- "is_free": false,
- "groups": [
- {
- "external_id": "armour",
- "name": "Armour"
}
], - "virtual_item_type": "non_consumable",
- "inventory_options": {
- "consumable": null,
- "expiration_period": null
}
}, - {
- "item_id": 259777,
- "sku": "wooden_helmet",
- "type": "virtual_good",
- "name": "Wooden helmet",
- "description": "Wooden helmet",
- "price": {
- "amount": "0.99",
- "amount_without_discount": "0.99",
- "currency": "USD"
}, - "virtual_prices": [
- {
- "description": null,
- "item_id": 259765,
- "sku": "gold",
- "name": "Gold",
- "type": "virtual_currency",
- "amount": 1,
- "amount_without_discount": 1,
- "calculated_price": {
- "amount": "1.00",
- "amount_without_discount": "1.00"
}, - "is_default": true
}, - {
- "description": null,
- "item_id": 259766,
- "sku": "silver",
- "name": "Silver",
- "type": "virtual_currency",
- "amount": 2,
- "amount_without_discount": 2,
- "calculated_price": {
- "amount": "2.00",
- "amount_without_discount": "2.00"
}, - "is_default": false
}, - {
- "description": null,
- "item_id": 259767,
- "sku": "bronze",
- "name": "Bronze",
- "type": "virtual_currency",
- "amount": 20,
- "amount_without_discount": 20,
- "calculated_price": {
- "amount": "20.00",
- "amount_without_discount": "20.00"
}, - "is_default": false
}
], - "can_be_bought": true,
- "attributes": [ ],
- "is_free": false,
- "groups": [
- {
- "external_id": "armour",
- "name": "Armour"
}
], - "virtual_item_type": "non_consumable",
- "inventory_options": {
- "consumable": null,
- "expiration_period": null
}
}
]
}, - "limits": {
- "$ref": "../examples/Catalog_item_limits.yaml"
}
}
]
}