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 .xml suffix or ?format=xml

HTTP + XML

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/xml
Content-Type: application/xml
Content-Length: length

<Catalog_PushSingleItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TeleportService.ServiceModel">
  <Properties>
    <CatalogItemProperty>
      <category_uid>String</category_uid>
      <filter_type>String</filter_type>
      <has_filter>false</has_filter>
      <property_name>String</property_name>
      <property_value>String</property_value>
      <sortnum>String</sortnum>
    </CatalogItemProperty>
  </Properties>
  <action>false</action>
  <action_price>0</action_price>
  <article>String</article>
  <barcode>String</barcode>
  <category_uid>String</category_uid>
  <code>String</code>
  <components xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </components>
  <currency_id>String</currency_id>
  <depth>0</depth>
  <description>String</description>
  <height>0</height>
  <in_way_stock>0</in_way_stock>
  <item_matches>
    <ItemMatches>
      <market_id>String</market_id>
      <marketplace>String</marketplace>
      <shop>String</shop>
      <shop_id>String</shop_id>
    </ItemMatches>
  </item_matches>
  <item_set>
    <ItemSet>
      <quantity>0</quantity>
      <uid>String</uid>
    </ItemSet>
  </item_set>
  <item_url>String</item_url>
  <name>String</name>
  <not_active>false</not_active>
  <novetly>false</novetly>
  <popular>false</popular>
  <price>0</price>
  <price_marketplaces>
    <PriceMarketplaces>
      <marketplace>String</marketplace>
      <retail_action_price>0</retail_action_price>
      <retail_price>0</retail_price>
      <shop>String</shop>
      <shop_id>String</shop_id>
    </PriceMarketplaces>
  </price_marketplaces>
  <receipt_date>0001-01-01T00:00:00</receipt_date>
  <recommendations xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </recommendations>
  <repricer>false</repricer>
  <retail_action_price>0</retail_action_price>
  <retail_price>0</retail_price>
  <shop_id>String</shop_id>
  <sortnum>String</sortnum>
  <status>String</status>
  <stock>
    <Stock>0</Stock>
    <StockDestination>
      <StockDestination>
        <Destination>String</Destination>
        <Stock>0</Stock>
      </StockDestination>
    </StockDestination>
  </stock>
  <stock_fbo>
    <StockFbo>
      <marketplace>String</marketplace>
      <shop>String</shop>
      <shop_id>String</shop_id>
      <stock>0</stock>
    </StockFbo>
  </stock_fbo>
  <trademark>String</trademark>
  <uid>String</uid>
  <unit>String</unit>
  <width>0</width>
  <аdditional_properties xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </аdditional_properties>
</Catalog_PushSingleItem>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<PushItemResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TeleportService.ServiceModel">
  <errCode>0</errCode>
  <itemId>String</itemId>
</PushItemResponse>