POST | /Catalog_PushSingleItem |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
uid | body | string | Yes | |
name | body | string | Yes | |
description | body | string | Yes | |
code | body | string | Yes | |
article | body | string | Yes | |
unit | body | string | No | |
price | body | decimal | No | |
action_price | body | decimal | No | |
retail_price | body | decimal | No | |
retail_action_price | body | decimal | No | |
category_uid | body | string | Yes | |
currency_id | body | string | Yes | |
item_url | body | string | No | |
barcode | body | string | No | |
sortnum | body | string | No | |
action | body | bool | No | |
novetly | body | bool | No | |
popular | body | bool | No | |
receipt_date | body | DateTime | No | |
shop_id | body | string | No | |
stock | body | CatalogItemStock | No | |
Properties | body | List<CatalogItemProperty> | No | |
аdditional_properties | body | Dictionary<string, string> | No | |
recommendations | body | List<string> | No | |
components | body | List<string> | No | |
not_active | body | bool | No | |
trademark | body | string | No | |
in_way_stock | body | decimal | No | |
status | body | string | No | |
height | body | int | No | |
width | body | int | No | |
depth | body | int | No | |
repricer | body | bool | No | |
item_set | body | List<ItemSet> | No | |
stock_fbo | body | List<StockFbo> | No | |
price_marketplaces | body | List<PriceMarketplaces> | No | |
item_matches | body | List<ItemMatches> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Stock | form | decimal | No | |
StockDestination | form | List<StockDestination> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Destination | form | string | No | |
Stock | form | decimal | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
property_name | form | string | No | |
property_value | form | string | No | |
has_filter | form | bool | No | |
filter_type | form | string | No | |
category_uid | form | string | No | |
sortnum | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
uid | form | string | No | |
quantity | form | decimal | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
shop | form | string | No | |
shop_id | form | string | No | |
marketplace | form | string | No | |
stock | form | decimal | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
shop | form | string | No | |
shop_id | form | string | No | |
marketplace | form | string | No | |
retail_price | form | decimal | No | |
retail_action_price | form | decimal | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
shop | form | string | No | |
shop_id | form | string | No | |
marketplace | form | string | No | |
market_id | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
errCode | form | int | No | |
itemId | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Catalog_PushSingleItem HTTP/1.1
Host: wbs.e-teleport.ru
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
uid: String,
name: String,
description: String,
code: String,
article: String,
unit: String,
price: 0,
action_price: 0,
retail_price: 0,
retail_action_price: 0,
category_uid: String,
currency_id: String,
item_url: String,
barcode: String,
sortnum: String,
action: False,
novetly: False,
popular: False,
receipt_date: 0001-01-01,
shop_id: String,
stock:
{
Stock: 0,
StockDestination:
[
{
Destination: String,
Stock: 0
}
]
},
Properties:
[
{
property_name: String,
property_value: String,
has_filter: False,
filter_type: String,
category_uid: String,
sortnum: String
}
],
аdditional_properties:
{
String: String
},
recommendations:
[
String
],
components:
[
String
],
not_active: False,
trademark: String,
in_way_stock: 0,
status: String,
height: 0,
width: 0,
depth: 0,
repricer: False,
item_set:
[
{
uid: String,
quantity: 0
}
],
stock_fbo:
[
{
shop: String,
shop_id: String,
marketplace: String,
stock: 0
}
],
price_marketplaces:
[
{
shop: String,
shop_id: String,
marketplace: String,
retail_price: 0,
retail_action_price: 0
}
],
item_matches:
[
{
shop: String,
shop_id: String,
marketplace: String,
market_id: String
}
]
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { errCode: 0, itemId: String }