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 .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
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	errCode: 0,
	itemId: String
}