POST api/Product/Update
Request Information
URI Parameters
None.
Body Parameters
ProductUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
Name | string |
None. |
|
ProductType | ProductType |
None. |
|
Barcode | string |
None. |
|
Description | string |
None. |
|
Photo | string |
None. |
|
IsStockTracking | boolean |
None. |
|
Stock | decimal number |
None. |
|
MinStockValue | decimal number |
None. |
|
SerialNumber | string |
None. |
|
Model | string |
None. |
|
IsWarranty | boolean |
None. |
|
WarrantyEndDate | date |
None. |
|
PurchaseOTV | decimal number |
None. |
|
PurchaseDiscount | decimal number |
None. |
|
PurchasePrice | decimal number |
None. |
|
IsPurchaseKDVInclude | boolean |
None. |
|
PurchaseKDV | KDV |
None. |
|
PurchaseCurrencyID | globally unique identifier |
None. |
|
SalePriceGroupOneDto | SalePriceGroupUpdateDto |
None. |
|
SalePriceGroupTwoDto | SalePriceGroupUpdateDto |
None. |
|
SalePriceGroupThreeDto | SalePriceGroupUpdateDto |
None. |
|
SalePriceGroupFourDto | SalePriceGroupUpdateDto |
None. |
|
SalePriceGroupFiveDto | SalePriceGroupUpdateDto |
None. |
|
CategoryID | globally unique identifier |
None. |
|
BrandID | globally unique identifier |
None. |
|
UnitID | globally unique identifier |
None. |
|
WarehouseID | globally unique identifier |
None. |
|
Gtip | string |
None. |
|
ProducerCountry | string |
None. |
|
IsDeleted | boolean |
None. |
|
BuyersItemIdentification | string |
None. |
|
ID | globally unique identifier |
Required |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "code": "sample string 1", "name": "sample string 2", "productType": 1, "barcode": "sample string 3", "description": "sample string 4", "photo": "sample string 5", "isStockTracking": true, "stock": 7.1, "minStockValue": 8.1, "serialNumber": "sample string 9", "model": "sample string 10", "isWarranty": true, "warrantyEndDate": "2025-08-05T21:15:06.3468711+03:00", "purchaseOTV": 12.1, "purchaseDiscount": 13.1, "purchasePrice": 14.1, "isPurchaseKDVInclude": true, "purchaseKDV": 0, "purchaseCurrencyID": "ec9c5496-ed47-45f1-9e56-a394695fc53b", "salePriceGroupOneDto": { "currencyID": "8c92f7df-dc1d-439f-ab6e-2ebd62cdea44", "productID": "313a3b97-3e83-4a23-9e25-8270ff8f939d", "isKDVInclude": true, "kdv": 0, "price": 2.1, "oiv": 3.1, "otv": 4.1, "oivCode": "sample string 5", "otvCode": "sample string 6", "id": "f6e4226f-26e3-4714-be75-b7592f6de1f6", "companyID": "c1eae8a1-5a8e-4f0e-bb6a-9b3eb8a17a9d" }, "salePriceGroupTwoDto": { "currencyID": "8c92f7df-dc1d-439f-ab6e-2ebd62cdea44", "productID": "313a3b97-3e83-4a23-9e25-8270ff8f939d", "isKDVInclude": true, "kdv": 0, "price": 2.1, "oiv": 3.1, "otv": 4.1, "oivCode": "sample string 5", "otvCode": "sample string 6", "id": "f6e4226f-26e3-4714-be75-b7592f6de1f6", "companyID": "c1eae8a1-5a8e-4f0e-bb6a-9b3eb8a17a9d" }, "salePriceGroupThreeDto": { "currencyID": "8c92f7df-dc1d-439f-ab6e-2ebd62cdea44", "productID": "313a3b97-3e83-4a23-9e25-8270ff8f939d", "isKDVInclude": true, "kdv": 0, "price": 2.1, "oiv": 3.1, "otv": 4.1, "oivCode": "sample string 5", "otvCode": "sample string 6", "id": "f6e4226f-26e3-4714-be75-b7592f6de1f6", "companyID": "c1eae8a1-5a8e-4f0e-bb6a-9b3eb8a17a9d" }, "salePriceGroupFourDto": { "currencyID": "8c92f7df-dc1d-439f-ab6e-2ebd62cdea44", "productID": "313a3b97-3e83-4a23-9e25-8270ff8f939d", "isKDVInclude": true, "kdv": 0, "price": 2.1, "oiv": 3.1, "otv": 4.1, "oivCode": "sample string 5", "otvCode": "sample string 6", "id": "f6e4226f-26e3-4714-be75-b7592f6de1f6", "companyID": "c1eae8a1-5a8e-4f0e-bb6a-9b3eb8a17a9d" }, "salePriceGroupFiveDto": { "currencyID": "8c92f7df-dc1d-439f-ab6e-2ebd62cdea44", "productID": "313a3b97-3e83-4a23-9e25-8270ff8f939d", "isKDVInclude": true, "kdv": 0, "price": 2.1, "oiv": 3.1, "otv": 4.1, "oivCode": "sample string 5", "otvCode": "sample string 6", "id": "f6e4226f-26e3-4714-be75-b7592f6de1f6", "companyID": "c1eae8a1-5a8e-4f0e-bb6a-9b3eb8a17a9d" }, "categoryID": "64ad960f-ffbd-488c-b516-4225f1c90d7c", "brandID": "fd672053-fa43-4abc-acb8-8b731eb6f609", "unitID": "78c6b3ee-34b5-4bc4-9348-967f87e7d831", "warehouseID": "5165cab4-91ec-46e7-88cc-983cae064110", "gtip": "sample string 16", "producerCountry": "sample string 17", "isDeleted": true, "buyersItemIdentification": "sample string 19", "id": "a7a01315-6f31-4b9f-a3ff-bde8c4d25e1c", "companyID": "d3320adc-bb60-42c4-bf1d-079b17b16e7b" }
application/xml, text/xml
Sample:
<ProductUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>d3320adc-bb60-42c4-bf1d-079b17b16e7b</CompanyID> <ID>a7a01315-6f31-4b9f-a3ff-bde8c4d25e1c</ID> <Barcode>sample string 3</Barcode> <BrandID>fd672053-fa43-4abc-acb8-8b731eb6f609</BrandID> <BuyersItemIdentification>sample string 19</BuyersItemIdentification> <CategoryID>64ad960f-ffbd-488c-b516-4225f1c90d7c</CategoryID> <Code>sample string 1</Code> <Description>sample string 4</Description> <Gtip>sample string 16</Gtip> <IsDeleted>true</IsDeleted> <IsPurchaseKDVInclude>true</IsPurchaseKDVInclude> <IsStockTracking>true</IsStockTracking> <IsWarranty>true</IsWarranty> <MinStockValue>8.1</MinStockValue> <Model>sample string 10</Model> <Name>sample string 2</Name> <Photo>sample string 5</Photo> <ProducerCountry>sample string 17</ProducerCountry> <ProductType>Product</ProductType> <PurchaseCurrencyID>ec9c5496-ed47-45f1-9e56-a394695fc53b</PurchaseCurrencyID> <PurchaseDiscount>13.1</PurchaseDiscount> <PurchaseKDV>KDV0</PurchaseKDV> <PurchaseOTV>12.1</PurchaseOTV> <PurchasePrice>14.1</PurchasePrice> <SalePriceGroupFiveDto> <CompanyID>c1eae8a1-5a8e-4f0e-bb6a-9b3eb8a17a9d</CompanyID> <ID>f6e4226f-26e3-4714-be75-b7592f6de1f6</ID> <CurrencyID>8c92f7df-dc1d-439f-ab6e-2ebd62cdea44</CurrencyID> <IsKDVInclude>true</IsKDVInclude> <KDV>KDV0</KDV> <OIV>3.1</OIV> <OIVCode>sample string 5</OIVCode> <OTV>4.1</OTV> <OTVCode>sample string 6</OTVCode> <Price>2.1</Price> <ProductID>313a3b97-3e83-4a23-9e25-8270ff8f939d</ProductID> </SalePriceGroupFiveDto> <SalePriceGroupFourDto> <CompanyID>c1eae8a1-5a8e-4f0e-bb6a-9b3eb8a17a9d</CompanyID> <ID>f6e4226f-26e3-4714-be75-b7592f6de1f6</ID> <CurrencyID>8c92f7df-dc1d-439f-ab6e-2ebd62cdea44</CurrencyID> <IsKDVInclude>true</IsKDVInclude> <KDV>KDV0</KDV> <OIV>3.1</OIV> <OIVCode>sample string 5</OIVCode> <OTV>4.1</OTV> <OTVCode>sample string 6</OTVCode> <Price>2.1</Price> <ProductID>313a3b97-3e83-4a23-9e25-8270ff8f939d</ProductID> </SalePriceGroupFourDto> <SalePriceGroupOneDto> <CompanyID>c1eae8a1-5a8e-4f0e-bb6a-9b3eb8a17a9d</CompanyID> <ID>f6e4226f-26e3-4714-be75-b7592f6de1f6</ID> <CurrencyID>8c92f7df-dc1d-439f-ab6e-2ebd62cdea44</CurrencyID> <IsKDVInclude>true</IsKDVInclude> <KDV>KDV0</KDV> <OIV>3.1</OIV> <OIVCode>sample string 5</OIVCode> <OTV>4.1</OTV> <OTVCode>sample string 6</OTVCode> <Price>2.1</Price> <ProductID>313a3b97-3e83-4a23-9e25-8270ff8f939d</ProductID> </SalePriceGroupOneDto> <SalePriceGroupThreeDto> <CompanyID>c1eae8a1-5a8e-4f0e-bb6a-9b3eb8a17a9d</CompanyID> <ID>f6e4226f-26e3-4714-be75-b7592f6de1f6</ID> <CurrencyID>8c92f7df-dc1d-439f-ab6e-2ebd62cdea44</CurrencyID> <IsKDVInclude>true</IsKDVInclude> <KDV>KDV0</KDV> <OIV>3.1</OIV> <OIVCode>sample string 5</OIVCode> <OTV>4.1</OTV> <OTVCode>sample string 6</OTVCode> <Price>2.1</Price> <ProductID>313a3b97-3e83-4a23-9e25-8270ff8f939d</ProductID> </SalePriceGroupThreeDto> <SalePriceGroupTwoDto> <CompanyID>c1eae8a1-5a8e-4f0e-bb6a-9b3eb8a17a9d</CompanyID> <ID>f6e4226f-26e3-4714-be75-b7592f6de1f6</ID> <CurrencyID>8c92f7df-dc1d-439f-ab6e-2ebd62cdea44</CurrencyID> <IsKDVInclude>true</IsKDVInclude> <KDV>KDV0</KDV> <OIV>3.1</OIV> <OIVCode>sample string 5</OIVCode> <OTV>4.1</OTV> <OTVCode>sample string 6</OTVCode> <Price>2.1</Price> <ProductID>313a3b97-3e83-4a23-9e25-8270ff8f939d</ProductID> </SalePriceGroupTwoDto> <SerialNumber>sample string 9</SerialNumber> <Stock>7.1</Stock> <UnitID>78c6b3ee-34b5-4bc4-9348-967f87e7d831</UnitID> <WarehouseID>5165cab4-91ec-46e7-88cc-983cae064110</WarehouseID> <WarrantyEndDate>2025-08-05T21:15:06.3468711+03:00</WarrantyEndDate> </ProductUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"code":"sample string 1","name":"sample string 2","productType":1,"barcode":"sample string 3","description":"sample string 4","photo":"sample string 5","isStockTracking":true,"stock":7.1,"minStockValue":8.1,"serialNumber":"sample string 9","model":"sample string 10","isWarranty":true,"warrantyEndDate":"2025-08-05T21:15:06.3468711+03:00","purchaseOTV":12.1,"purchaseDiscount":13.1,"purchasePrice":14.1,"isPurchaseKDVInclude":true,"purchaseKDV":0,"purchaseCurrencyID":"ec9c5496-ed47-45f1-9e56-a394695fc53b","salePriceGroupOneDto":{"currencyID":"8c92f7df-dc1d-439f-ab6e-2ebd62cdea44","productID":"313a3b97-3e83-4a23-9e25-8270ff8f939d","isKDVInclude":true,"kdv":0,"price":2.1,"oiv":3.1,"otv":4.1,"oivCode":"sample string 5","otvCode":"sample string 6","id":"f6e4226f-26e3-4714-be75-b7592f6de1f6","companyID":"c1eae8a1-5a8e-4f0e-bb6a-9b3eb8a17a9d"},"salePriceGroupTwoDto":{"currencyID":"8c92f7df-dc1d-439f-ab6e-2ebd62cdea44","productID":"313a3b97-3e83-4a23-9e25-8270ff8f939d","isKDVInclude":true,"kdv":0,"price":2.1,"oiv":3.1,"otv":4.1,"oivCode":"sample string 5","otvCode":"sample string 6","id":"f6e4226f-26e3-4714-be75-b7592f6de1f6","companyID":"c1eae8a1-5a8e-4f0e-bb6a-9b3eb8a17a9d"},"salePriceGroupThreeDto":{"currencyID":"8c92f7df-dc1d-439f-ab6e-2ebd62cdea44","productID":"313a3b97-3e83-4a23-9e25-8270ff8f939d","isKDVInclude":true,"kdv":0,"price":2.1,"oiv":3.1,"otv":4.1,"oivCode":"sample string 5","otvCode":"sample string 6","id":"f6e4226f-26e3-4714-be75-b7592f6de1f6","companyID":"c1eae8a1-5a8e-4f0e-bb6a-9b3eb8a17a9d"},"salePriceGroupFourDto":{"currencyID":"8c92f7df-dc1d-439f-ab6e-2ebd62cdea44","productID":"313a3b97-3e83-4a23-9e25-8270ff8f939d","isKDVInclude":true,"kdv":0,"price":2.1,"oiv":3.1,"otv":4.1,"oivCode":"sample string 5","otvCode":"sample string 6","id":"f6e4226f-26e3-4714-be75-b7592f6de1f6","companyID":"c1eae8a1-5a8e-4f0e-bb6a-9b3eb8a17a9d"},"salePriceGroupFiveDto":{"currencyID":"8c92f7df-dc1d-439f-ab6e-2ebd62cdea44","productID":"313a3b97-3e83-4a23-9e25-8270ff8f939d","isKDVInclude":true,"kdv":0,"price":2.1,"oiv":3.1,"otv":4.1,"oivCode":"sample string 5","otvCode":"sample string 6","id":"f6e4226f-26e3-4714-be75-b7592f6de1f6","companyID":"c1eae8a1-5a8e-4f0e-bb6a-9b3eb8a17a9d"},"categoryID":"64ad960f-ffbd-488c-b516-4225f1c90d7c","brandID":"fd672053-fa43-4abc-acb8-8b731eb6f609","unitID":"78c6b3ee-34b5-4bc4-9348-967f87e7d831","warehouseID":"5165cab4-91ec-46e7-88cc-983cae064110","gtip":"sample string 16","producerCountry":"sample string 17","isDeleted":true,"buyersItemIdentification":"sample string 19","id":"a7a01315-6f31-4b9f-a3ff-bde8c4d25e1c","companyID":"d3320adc-bb60-42c4-bf1d-079b17b16e7b"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.