TeleportService

<back to all web services

Catalog_PushSingleItem

Requires Authentication
The following routes are available for this service:
POST/Catalog_PushSingleItem
Catalog_PushSingleItem Parameters:
NameParameterData TypeRequiredDescription
uidbodystringYes
namebodystringYes
descriptionbodystringYes
codebodystringYes
articlebodystringYes
unitbodystringNo
pricebodydecimalNo
action_pricebodydecimalNo
retail_pricebodydecimalNo
retail_action_pricebodydecimalNo
category_uidbodystringYes
currency_idbodystringYes
item_urlbodystringNo
barcodebodystringNo
sortnumbodystringNo
actionbodyboolNo
novetlybodyboolNo
popularbodyboolNo
receipt_datebodyDateTimeNo
shop_idbodystringNo
stockbodyCatalogItemStockNo
PropertiesbodyList<CatalogItemProperty>No
Ğ°dditional_propertiesbodyDictionary<string, string>No
recommendationsbodyList<string>No
componentsbodyList<string>No
not_activebodyboolNo
trademarkbodystringNo
in_way_stockbodydecimalNo
statusbodystringNo
heightbodyintNo
widthbodyintNo
depthbodyintNo
CatalogItemStock Parameters:
NameParameterData TypeRequiredDescription
StockformdecimalNo
StockDestinationformList<StockDestination>No
StockDestination Parameters:
NameParameterData TypeRequiredDescription
DestinationformstringNo
StockformdecimalNo
CatalogItemProperty Parameters:
NameParameterData TypeRequiredDescription
property_nameformstringNo
property_valueformstringNo
has_filterformboolNo
filter_typeformstringNo
category_uidformstringNo
sortnumformstringNo
PushItemResponse Parameters:
NameParameterData TypeRequiredDescription
errCodeformintNo
itemIdformstringNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
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-01T00:00:00.0000000","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}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"errCode":0,"itemId":"String"}