TeleportService

<back to all web services

Catalog_AddItems

Requires Authentication
The following routes are available for this service:
POST/Catalog_AddItems
Catalog_AddItems Parameters:
NameParameterData TypeRequiredDescription
CategoriesbodyList<CatalogItemCategory>No
ItemsbodyList<CatalogItem>No
LoadModebodyLoadModeNo
CatalogItemCategory Parameters:
NameParameterData TypeRequiredDescription
uidformstringNo
nameformstringNo
parent_uidformstringNo
sortnumformstringNo
CatalogItem Parameters:
NameParameterData TypeRequiredDescription
uidformstringNo
nameformstringNo
descriptionformstringNo
codeformstringNo
articleformstringNo
unitformstringNo
priceformdecimalNo
action_priceformdecimalNo
retail_priceformdecimalNo
retail_action_priceformdecimalNo
category_uidformstringNo
currency_idformstringNo
item_urlformstringNo
barcodeformstringNo
sortnumformstringNo
actionformboolNo
novetlyformboolNo
popularformboolNo
shop_idformstringNo
repricerformboolNo
PicturesformList<CatalogItemPictures>No
PropertiesformList<CatalogItemProperty>No
аdditional_propertiesformDictionary<string, string>No
recommendationsformList<string>No
componentsformList<string>No
not_activeformboolNo
trademarkformstringNo
in_way_stockformdecimalNo
statusformstringNo
heightformintNo
widthformintNo
depthformintNo
item_setformList<ItemSet>No
stock_fboformList<StockFbo>No
price_marketplacesformList<PriceMarketplaces>No
item_matchesformList<ItemMatches>No
CatalogItemPictures Parameters:
NameParameterData TypeRequiredDescription
pictureformstringNo
orderformintNo
CatalogItemProperty Parameters:
NameParameterData TypeRequiredDescription
property_nameformstringNo
property_valueformstringNo
has_filterformboolNo
filter_typeformstringNo
category_uidformstringNo
sortnumformstringNo
ItemSet Parameters:
NameParameterData TypeRequiredDescription
uidformstringNo
quantityformdecimalNo
StockFbo Parameters:
NameParameterData TypeRequiredDescription
shopformstringNo
shop_idformstringNo
marketplaceformstringNo
stockformdecimalNo
PriceMarketplaces Parameters:
NameParameterData TypeRequiredDescription
shopformstringNo
shop_idformstringNo
marketplaceformstringNo
retail_priceformdecimalNo
retail_action_priceformdecimalNo
ItemMatches Parameters:
NameParameterData TypeRequiredDescription
shopformstringNo
shop_idformstringNo
marketplaceformstringNo
market_idformstringNo
LoadMode Enum:
begin
load
endWithCleaning
endWithUpdate

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + 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

{}