market

market.get

Returns items list for a community.

To call this method, you can use:
• user access token (access right required: market — this is issued in exceptional cases by a request to support at devsupport@corp.vk.com)

Parameters

owner_id

string

ID of the community that owns the items market.

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

Required parameter

album_id

positive

ID of a collection to return items from.

count

positive

Number of items to return.

offset

positive

Offset needed to return a specific subset of results.

extended

checkbox

1 – method will return additional fields: likes, can_comment, can_repost, photos, views_count. These parameters are not returned by default.

date_from

string

date_to

string

need_variants

checkbox

with_disabled

checkbox

Result

Returns the total results number in count field and an array of objects describing market items in items field.

Error codes

Common errors may occur during execution

Linked versions

Go to API versions page
  • In the object goods The price object returns.. old_amount_text Textual representation of the old price.