POST api/seller-sells/v2?token={token}
Продажи продавца
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token |
string |
string |
Required |
Body Parameters
SellerSalesV2Request
SellerSalesV2Request| Name | Description | Type | Additional information |
|---|---|---|---|
| product_ids |
идентификаторы товаров в виде массива. если не указаны, возвращается статистика по всем товарам |
Collection of integer |
None. |
| date_start |
начальная дата yyyy-MM-dd HH:mm:ss |
string |
None. |
| date_finish |
конечная дата yyyy-MM-dd HH:mm:ss |
string |
None. |
| returned |
возвраты 0 - включить возвраты; 1 - исключить возвраты; 2 - только возвраты |
integer |
None. |
| page |
номер страницы (если не указывать номер страницы, то отображается первая страница) |
integer |
None. |
| rows |
количество записей на странице (по умолчанию 10, не более 5000) |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"product_ids": [
1,
2
],
"date_start": "sample string 2",
"date_finish": "sample string 3",
"returned": 4,
"page": 5,
"rows": 6
}
application/x-www-form-urlencoded
Sample:
application/xml, text/xml
Sample:
<digiseller.request>
<product_ids>
<id>1</id>
<id>2</id>
</product_ids>
<date_start>sample string 2</date_start>
<date_finish>sample string 3</date_finish>
<returned>4</returned>
<page>5</page>
<rows>6</rows>
</digiseller.request>
Response Information
Resource Description
SalesResponse
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.