TeleportService

<back to all web services

Catalog_UpdateStocks

Requires Authentication
The following routes are available for this service:
POST/Catalog_UpdateStocks
Catalog_UpdateStocks Parameters:
NameParameterData TypeRequiredDescription
ItemsbodyList<CatalogStock>No
CatalogStock Parameters:
NameParameterData TypeRequiredDescription
uidformstringNo
stockformdecimalNo
in_way_stockformdecimalNo
receipt_dateformDateTimeNo
StockDestinationformList<StockDestination>No
StockDestination Parameters:
NameParameterData TypeRequiredDescription
DestinationformstringNo
StockformdecimalNo

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

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Catalog_UpdateStocks HTTP/1.1 
Host: wbs.e-teleport.ru 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Items":[{"uid":"String","stock":0,"in_way_stock":0,"receipt_date":"0001-01-01T00:00:00.0000000","StockDestination":[{"Destination":"String","Stock":0}]}]}