Developers » API methods » Market » market.getById
Returns information about market items by their ids.
This method can be called with a user token. Access rights required: market.
item_idsList of objects, in the following format:
{owner id}_{item id},{owner id}_{item id}

Use a negative value to designate a community ID. For example owner_id = -1 corresponds to VKontakte API (club1) community ID.

item_ids value example:

list of comma-separated words, required parameter
extended1 to return additional fields: likes, can_comment, can_repost, photos, views_count. By default: 0.
flag, either 1 or 0
Returns the total results number in count field and an array of objects describing market items in items field.
Global errors can occur while running. See their descriptions on this page.
Version historyShow all
, old_amount_text .
Affects methods market.get, market.getById
In the product object, the date and views_count fields are now only returned to the admin of the community the product belongs to.

In the order object, the information about the recipient and delivery is moved from the main object to two new subobjects: delivery and recepient.
The product object now has a new dimensions object, which includes the products dimensions and weight. Theyre only returned if these fields were specified in the products description when editing or saving it.
Affects methods market.get, market.getById