TeleportService

<back to all web services

Catalog_UpdateItems

Requires Authentication
The following routes are available for this service:
POST/Catalog_UpdateItems
Catalog_UpdateItems Parameters:
NameParameterData TypeRequiredDescription
ItemsbodyList<CatalogUpdateItemRequestModel>No
CatalogUpdateItemRequestModel Parameters:
NameParameterData TypeRequiredDescription
uidformstringNo
item_setformList<ItemSet>No
stock_fboformList<StockFbo>No
price_marketplacesformList<PriceMarketplaces>No
item_matchesformList<ItemMatches>No
repricerformbool?No
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
ErrCodeResponse Parameters:
NameParameterData TypeRequiredDescription
errCodeformintNo
ResponseStatusformResponseStatusNo

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_UpdateItems HTTP/1.1 
Host: wbs.e-teleport.ru 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Items":[{"uid":"String","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"}],"repricer":false}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"errCode":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}