Developers » Market item
Market item
Object describing market item contains the following fileds:

id
integer
item ID.
owner_id
integer
item owner ID.
title
string
item title.
description
string
item description.
price
object
price. Object with the following fields:
  • amount (integer) item price (hundredth of a currency);
  • currency (object) currency. Object with the following fields:
    • id (integer) currency ID;
    • name (string) currency designation;
  • text (string) string price description.
category
object
item category. Object with the following fields:
  • id (integer) category ID;
  • name (string) ;
  • section (object) section. Object with the following fields:
    • id (integer) section ID;
    • name (string) section name.
thumb_photo
string
URL of the item photo.
date
integer
creation date in Unixtime.
availability
integer
availability status. Possible values:
  • 0 item is available;
  • 1 item is deleted;
  • 2 item is unavailable.

Optional fields (if extended = 1)

photos
array
item photos. An array of photo objects.
can_comment
integer, [0,1]
information whether current user can comment the item.
can_repost
integer, [0,1]
information whether current user can repost the item.
likes
object
information about likes. Object with fthe following fields:
  • user_likes (integer, [0,1]) information whether current user likes the item.
  • count (integer) likes number.