POST api/seller-sells
Продажи продавца
Request Information
URI Parameters
None.
Body Parameters
SalesRequest
SellerSalesRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| id_seller |
идентификатор продавца |
integer |
None. |
| 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. |
| sign |
подпись sha256({id_seller}{product_ids}{date_start}{date_finish}{returned}{page}{rows}{seller_secret}) lowcase |
string |
None. |
Request Formats
application/json, text/json
{
"id_seller": 1,
"product_ids": [
1,
2
],
"date_start": "sample string 2",
"date_finish": "sample string 3",
"returned": 4,
"page": 5,
"rows": 6,
"sign": "sample string 7"
}
application/x-www-form-urlencoded
Sample not available.
application/xml, text/xml
<digiseller.request>
<id_seller>1</id_seller>
<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>
<sign>sample string 7</sign>
</digiseller.request>
Response Information
Resource Description
SalesResponse
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.