Product Report
The method is available for all models.
If you are using an API Key token, one of the accesses in the list is required to call the method
- offers-and-cards-management — Manage products and cards
- offers-and-cards-management:read-only — View products and cards
- all-methods — Full account management
- all-methods:read-only — View all data
Returns a detailed report on the products that you have placed on the Market. You can use the report to find out, for example, about stock balances, storage conditions for your goods, and so on.
, Limit: 5,000 items per minute |
---|
Request
POST
https://api.partner.market.yandex.ru/campaigns/{campaignId}/stats/skus
Path parameters
Name |
Description |
campaignId* |
Type: integer<int64> The store's ID in the merchant profile. To find out the IDs of your stores, use the request GET campaigns. ℹ️ What is a cabinet and a store on the Market?
Min value: |
Body
application/json
{
"shopSkus": [
"string"
]
}
Name |
Description |
shopSkus* |
Type: string[] A list of your SKU IDs.
SKU Usage Rules:
The SKU of the product can be changed in the seller's account on the Market. Read about how to do this. in the Help of the Market for sellers. What is a SKU and how to assign it Min length: Max length: Pattern: Min items: Max items: Unique items |
Responses
200 OK
Product report.
Body
application/json
{
"status": "OK",
"result": {
"shopSkus": [
{
"shopSku": "string",
"marketSku": 0,
"name": "string",
"price": 0,
"categoryId": 0,
"categoryName": "string",
"weightDimensions": {
"length": 0,
"width": 0,
"height": 0,
"weight": 0
},
"warehouses": [
{
"id": 0,
"name": "string",
"stocks": [
{
"type": "FIT",
"count": 0
}
]
}
],
"tariffs": [
{
"type": "AGENCY_COMMISSION",
"percent": 0,
"amount": 0,
"currency": "RUR",
"parameters": [
{
"name": "string",
"value": "string"
}
]
}
],
"pictures": [
"string"
]
}
]
}
}
Name |
Description |
result |
Type: GoodsStatsDTO Product report. |
status |
Type: ApiResponseStatusType The type of response. Possible values:
Enum: |
GoodsStatsDTO
Product report.
Name |
Description |
shopSkus* |
Type: GoodsStatsGoodsDTO[] The list of products. |
ApiResponseStatusType
The type of response. Possible values:
OK
— there are no mistakes.ERROR
— an error occurred while processing the request.
Type |
Description |
Enum: |
GoodsStatsGoodsDTO
Product information.
Name |
Description |
categoryId |
Type: integer<int64> The identifier of the product category on the Market. |
categoryName |
Type: string The name of the product category on the Market. |
marketSku |
Type: integer<int64> SKU on the Market. Min value: |
name |
Type: string Product name. |
pictures |
Type: string[] Links (URLs) of product images in good quality. Min items: |
price |
Type: number The price of the product in the currency that is set in the seller's office on the Market. |
shopSku |
Type: string Your SKU is the product identifier in your system. SKU Usage Rules:
The SKU of the product can be changed in the seller's account on the Market. Read about how to do this. in the Help of the Market for sellers. What is a SKU and how to assign it Min length: Max length: Pattern: |
tariffs |
Type: TariffDTO[] Information about the tariffs that you need to pay for Yandex.Market services. For some services, several different values may be returned. For example, in the FBS model, the cost of a service is Min items: |
warehouses |
Type: GoodsStatsWarehouseDTO[] Information about the warehouses where the goods are stored. The parameter is not received if the product is not in any warehouse.
Min items: |
weightDimensions |
Type: GoodsStatsWeightDimensionsDTO Information about the weight and dimensions of the product.
If the product is already linked to the card ( |
TariffDTO
Information about the tariffs that you need to pay for Yandex.Market services.
Name |
Description |
amount* |
Type: number The value of the tariff. |
currency* |
Type: CurrencyType The currency in which the tariff value is indicated. Enum: |
parameters* |
Type: TariffParameterDTO[] Tariff calculation parameters. |
type* |
Type: TariffType The Market service for which the tariff is calculated. Enum: |
percent ⦸
|
Type: number This parameter is deprecated. Don't use it. The tariff value is expressed as a percentage. |
GoodsStatsWarehouseDTO
Information about the warehouse.
Name |
Description |
stocks* |
Type: WarehouseStockDTO[] Information about the remaining goods in the warehouse. |
id |
Type: integer<int64> The warehouse ID. |
name |
Type: string The name of the warehouse. |
GoodsStatsWeightDimensionsDTO
Information about the weight and dimensions of the product.
If the product is already linked to the card (marketSku
), the response will return the dimensions from the Market card, not the dimensions that you provide.
Name |
Description |
height |
Type: number The height of the product in centimeters. |
length |
Type: number The length of the product in centimeters. |
weight |
Type: number The weight of the product in kilograms. |
width |
Type: number The width of the product in centimeters. |
CurrencyType
Currency codes. Possible values:
RUR
— Russian ruble.UAH
— the Ukrainian hryvnia.BYR
— Belarusian ruble.KZT
— Kazakhstani tenge.UZS
— Uzbek sum.
Type |
Description |
Enum: |
TariffParameterDTO
Details of the calculation of a specific Market service.
Name |
Description |
name* |
Type: string The name of the parameter. |
value* |
Type: string The value of the parameter. |
TariffType
A Market service or an additional tariff to the placement service:
-
AGENCY_COMMISSION
— acceptance of the buyer's payment. -
PAYMENT_TRANSFER
— transfer of the buyer's payment. -
STORAGE
— storage of goods in the Market warehouse during the day. -
SURPLUS
— excess storage in the Market warehouse. -
WITHDRAW
— export of goods from the Market warehouse. -
FEE
— product placement on the Market. -
DELIVERY_TO_CUSTOMER
— delivery to the buyer. -
CROSSREGIONAL_DELIVERY
— delivery to the federal district, city or town. -
CROSSREGIONAL_DELIVERY_RETURN
— delivery of non-purchases and refunds. -
DISPOSAL
— disposal. -
SORTING_CENTER_STORAGE
— storage of non-purchases and refunds. -
EXPRESS_DELIVERY
— express delivery to the buyer. -
FF_XDOC_SUPPLY_BOX
— delivery of goods through a transit warehouse (per box). -
FF_XDOC_SUPPLY_PALLET
— delivery of goods through a transit warehouse (per pallet). -
SORTING
— order processing. -
MIDDLE_MILE
— the average mile. -
RETURN_PROCESSING
— processing of non-purchases and refunds. -
EXPRESS_CANCELLED_BY_PARTNER
— cancellation of an order with express delivery. -
CROSSBORDER_DELIVERY
— delivery from abroad. -
INTAKE_SORTING_BULKY_CARGO
— sorting orders with bulky goods that the Market has taken from the seller's warehouse. -
INTAKE_SORTING_SMALL_GOODS
— sorting orders with small-sized goods that the Market has taken from the seller's warehouse. -
INTAKE_SORTING_DAILY
— organization of picking up orders from the seller's warehouse. -
FF_STORAGE_BILLING
— storage of goods in a warehouse. -
CANCELLED_ORDER_FEE_QI
— cancellation of the order is the fault of the seller. -
LATE_ORDER_EXECUTION_FEE_QI
— late shipment or delivery.
Read more about Yandex.Market services in the Help of the Market for sellers.
Type |
Description |
Enum: |
WarehouseStockDTO
Information about the remaining goods.
Name |
Description |
count* |
Type: integer<int64> The value of the leftovers. |
type* |
Type: WarehouseStockType The type of leftovers. Enum: |
WarehouseStockType
The type of remaining goods in the warehouse:
-
AVAILABLE
(corresponds to the "Available to order" type in the "Stock balances" report in the seller's office on the Market) — an item available for sale. -
DEFECT
(corresponds to the "Marriage" type) — a defective product. -
EXPIRED
(corresponds to the "Expired" type) — an expired product. -
FIT
(corresponds to the "Fit" type) — an item that is available for sale or has already been reserved. -
FREEZE
— the product that is reserved for orders. -
QUARANTINE
(corresponds to the "Quarantine" type) — a product that is temporarily unavailable for sale (for example, the product is being moved from one warehouse to another). -
UTILIZATION
— the product that will be disposed of.
Type |
Description |
Enum: |
400 Bad Request
The request contains incorrect data.
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
Name |
Description |
errors |
Type: ApiErrorDTO[] A list of errors. Min items: |
status |
Type: ApiResponseStatusType The type of response. Possible values:
Enum: |
ApiErrorDTO
The general error format.
Name |
Description |
code* |
Type: string The error code. |
message |
Type: string Description of the error. |
401 Unauthorized
The authorization data is not specified in the request.
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
Name |
Description |
errors |
Type: ApiErrorDTO[] A list of errors. Min items: |
status |
Type: ApiResponseStatusType The type of response. Possible values:
Enum: |
403 Forbidden
The authorization data is incorrect or access to the resource is prohibited.
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
Name |
Description |
errors |
Type: ApiErrorDTO[] A list of errors. Min items: |
status |
Type: ApiResponseStatusType The type of response. Possible values:
Enum: |
404 Not Found
The requested resource was not found.
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
Name |
Description |
errors |
Type: ApiErrorDTO[] A list of errors. Min items: |
status |
Type: ApiResponseStatusType The type of response. Possible values:
Enum: |
420 Method Failure
The resource access limit has been exceeded.
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
Name |
Description |
errors |
Type: ApiErrorDTO[] A list of errors. Min items: |
status |
Type: ApiResponseStatusType The type of response. Possible values:
Enum: |
500 Internal Server Error
Internal server error.
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
Name |
Description |
errors |
Type: ApiErrorDTO[] A list of errors. Min items: |
status |
Type: ApiResponseStatusType The type of response. Possible values:
Enum: |
No longer supported, please use an alternative and newer version.