The translation was generated automatically and may contain mistakes
Товар
The object describing the product contains the following fields:
Base fields
id
integer
Product ID.
owner_id
integer
Identification of the owner of the goods.
title
string
Name of goods.
description
string
Description of goods.
price
object
The price. An object with fields:
- •
amount(string) — the price of goods in hundredths of a unit of currency. - •
currency(objectThe currency. An object with fields:- •
id(integerThe currency identifier. - •
name(string) — the designation of the currency.
- •
- •
old_amount(string) — the old price of goods in hundredths of a unit of currency. - •
text(stringA string representation of the price.
dimensions
object
Dimensions of goods. An object with fields:
- •
width(integerwidth in millimetres. - •
height(integerheight in millimetres. - •
length(integerlength in millimetres.
weight
integer
Weight in grams.
category
object
Category of goods. An object with fields:
- •
id(integer) is a category identifier. - •
name(stringName of category. - •
section(objectThe Section. An object with fields:- •
id(integer) is the section identifier. - •
name(stringThe name of the section.
- •
thumb_photo
string
URL of product image.
date
integer
Date of creation of goods in Unixtime format.
availability
integer
Availability status of goods. Possible values:
- •
0— товар доступен. - •
1Goods removed. - •
2goods are not available.
is_favorite
boolean
true if the object is bookmarked by the current user.
sku
string
Article of goods, an arbitrary line up to 50 characters long.
reject_info
object
Information on moderation of goods, if the goods have not passed moderation. An object with fields:
- •
title(string) — the name of the reason for the rejection of the goods. - •
description(stringDescription of the reason for the block. - •
buttons(object) — buttons “Delete” and “Write in support?2?. - •
moderation_status(integerNumerical representation of moderation status. - •
info_link(stringReference to moderation rules. - •
white_to_support_link(stringA reference to support.
Optional fields
The object contains optional fields if a parameter has been passed in the method extended = 1 .
photos
array
Images of goods. An array of objects describing photos .
can_comment
integer
The ability to comment on the product for the current user ( 1 - there is, 0 (No).
can_repost
integer
The ability to repost a product to the current user ( 1 - there is, 0 (No).
likes
object
Posts Tagged ?2?like’. An object with fields:
- •
user_likes(integer) — whether there is a “Like” mark from the current user (1- there is,0(No). - •
count(integerThe number of “likes.?2?
url
string
Reference to goods in external resources.
button_title
string
Text on the product button. Possible values:
- •Buying
- •Go to the store
- •Buying a ticket