Sage.PL.WebAPI.Interface.Products.Interfaces Namespace > IProductPricesController Interface > IProductPricesController Methods > Update Method > Update Method (Int32, ProductPricesEdit) | | Drukuj |
.NET Framework Class Library
IProductPricesController.Update Method (Int32, ProductPricesEdit)
Metoda umożliwia aktualizację cen towaru o podanym id.
[PUT] /api/ProductPrices/Update?productId=id_towaru
Namespace: Sage.PL.WebAPI.Interface.Products.Interfaces
Assembly: Sage.PL.WebAPI.Interface.Products (in Sage.PL.WebAPI.Interface.Products.dll) Version: 24.2.1.0 (24.2.1.0)
Visual Basic |
Function Update ( _ |
C# |
IHttpActionResult Update( |
Visual C++ |
IHttpActionResult^ Update( |
JavaScript |
function update(productId, prices); |
productId
Type: System.Int32
[FromUri] Id towaru.
prices
Type: Sage.PL.WebAPI.Interface.Products.ViewModels.Prices.ProductPricesEdit
[FromBody] Obiekt agregujący ceny towaru do aktualizacji.
>Metoda nie zwraca żadnej zawartości.
IProductPricesController Interface