POST | /Catalog_AddItems |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Categories | body | List<CatalogItemCategory> | No | |
Items | body | List<CatalogItem> | No | |
LoadMode | body | LoadMode | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
uid | form | string | No | |
name | form | string | No | |
parent_uid | form | string | No | |
sortnum | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
uid | form | string | No | |
name | form | string | No | |
description | form | string | No | |
code | form | string | No | |
article | form | string | No | |
unit | form | string | No | |
price | form | decimal | No | |
action_price | form | decimal | No | |
retail_price | form | decimal | No | |
retail_action_price | form | decimal | No | |
category_uid | form | string | No | |
currency_id | form | string | No | |
item_url | form | string | No | |
barcode | form | string | No | |
sortnum | form | string | No | |
action | form | bool | No | |
novetly | form | bool | No | |
popular | form | bool | No | |
shop_id | form | string | No | |
repricer | form | bool | No | |
Pictures | form | List<CatalogItemPictures> | No | |
Properties | form | List<CatalogItemProperty> | No | |
аdditional_properties | form | Dictionary<string, string> | No | |
recommendations | form | List<string> | No | |
components | form | List<string> | No | |
not_active | form | bool | No | |
trademark | form | string | No | |
in_way_stock | form | decimal | No | |
status | form | string | No | |
height | form | int | No | |
width | form | int | No | |
depth | form | int | No | |
item_set | form | List<ItemSet> | No | |
stock_fbo | form | List<StockFbo> | No | |
price_marketplaces | form | List<PriceMarketplaces> | No | |
item_matches | form | List<ItemMatches> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
picture | form | string | No | |
order | form | int | 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 |
begin | |
load | |
endWithCleaning | |
endWithUpdate |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Catalog_AddItems HTTP/1.1
Host: wbs.e-teleport.ru
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Categories":[{"uid":"String","name":"String","parent_uid":"String","sortnum":"String"}],"Items":[{"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,"shop_id":"String","repricer":false,"Pictures":[{"picture":"String","order":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,"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"}]}],"LoadMode":"begin"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {}