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
repricerbodyboolNo
item_setbodyList<ItemSet>No
stock_fbobodyList<StockFbo>No
price_marketplacesbodyList<PriceMarketplaces>No
item_matchesbodyList<ItemMatches>No
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
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
PushItemResponse Parameters:
NameParameterData TypeRequiredDescription
errCodeformintNo
itemIdformstringNo

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

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