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-05-24T16:57:56.3020481+03:00", "purchaseOTV": 12.1, "purchaseDiscount": 13.1, "purchasePrice": 14.1, "isPurchaseKDVInclude": true, "purchaseKDV": 0, "purchaseCurrencyID": "ace53e60-48e7-478c-8d9e-d21a94cf11de", "salePriceGroupOneDto": { "currencyID": "731cc4b3-80ae-4a5e-ae18-ab648d67e81a", "productID": "9e45e39f-c5f4-43a2-b61c-149a60b2cc96", "isKDVInclude": true, "kdv": 0, "price": 2.1, "oiv": 3.1, "otv": 4.1, "oivCode": "sample string 5", "otvCode": "sample string 6", "id": "f9f6840b-fd92-4868-845a-0dc5567aa972", "companyID": "e3554acf-c807-4499-8ee9-4543eedb521a" }, "salePriceGroupTwoDto": { "currencyID": "731cc4b3-80ae-4a5e-ae18-ab648d67e81a", "productID": "9e45e39f-c5f4-43a2-b61c-149a60b2cc96", "isKDVInclude": true, "kdv": 0, "price": 2.1, "oiv": 3.1, "otv": 4.1, "oivCode": "sample string 5", "otvCode": "sample string 6", "id": "f9f6840b-fd92-4868-845a-0dc5567aa972", "companyID": "e3554acf-c807-4499-8ee9-4543eedb521a" }, "salePriceGroupThreeDto": { "currencyID": "731cc4b3-80ae-4a5e-ae18-ab648d67e81a", "productID": "9e45e39f-c5f4-43a2-b61c-149a60b2cc96", "isKDVInclude": true, "kdv": 0, "price": 2.1, "oiv": 3.1, "otv": 4.1, "oivCode": "sample string 5", "otvCode": "sample string 6", "id": "f9f6840b-fd92-4868-845a-0dc5567aa972", "companyID": "e3554acf-c807-4499-8ee9-4543eedb521a" }, "salePriceGroupFourDto": { "currencyID": "731cc4b3-80ae-4a5e-ae18-ab648d67e81a", "productID": "9e45e39f-c5f4-43a2-b61c-149a60b2cc96", "isKDVInclude": true, "kdv": 0, "price": 2.1, "oiv": 3.1, "otv": 4.1, "oivCode": "sample string 5", "otvCode": "sample string 6", "id": "f9f6840b-fd92-4868-845a-0dc5567aa972", "companyID": "e3554acf-c807-4499-8ee9-4543eedb521a" }, "salePriceGroupFiveDto": { "currencyID": "731cc4b3-80ae-4a5e-ae18-ab648d67e81a", "productID": "9e45e39f-c5f4-43a2-b61c-149a60b2cc96", "isKDVInclude": true, "kdv": 0, "price": 2.1, "oiv": 3.1, "otv": 4.1, "oivCode": "sample string 5", "otvCode": "sample string 6", "id": "f9f6840b-fd92-4868-845a-0dc5567aa972", "companyID": "e3554acf-c807-4499-8ee9-4543eedb521a" }, "categoryID": "eef4c3fe-43da-48d9-9da8-3f0e56a59d8b", "brandID": "cbdf6107-e3d0-4af7-be2d-b33ef0544bf7", "unitID": "301e2d29-18a8-4fe3-878c-54204eb49224", "warehouseID": "6daaa97f-3db2-403b-bfc2-ec35eaa35522", "gtip": "sample string 16", "producerCountry": "sample string 17", "isDeleted": true, "buyersItemIdentification": "sample string 19", "id": "1b7c8c9d-d985-4d59-b514-164cc49b4f8f", "companyID": "4c440cde-7832-4e78-b478-2a2e74004bc8" }
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>4c440cde-7832-4e78-b478-2a2e74004bc8</CompanyID> <ID>1b7c8c9d-d985-4d59-b514-164cc49b4f8f</ID> <Barcode>sample string 3</Barcode> <BrandID>cbdf6107-e3d0-4af7-be2d-b33ef0544bf7</BrandID> <BuyersItemIdentification>sample string 19</BuyersItemIdentification> <CategoryID>eef4c3fe-43da-48d9-9da8-3f0e56a59d8b</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>ace53e60-48e7-478c-8d9e-d21a94cf11de</PurchaseCurrencyID> <PurchaseDiscount>13.1</PurchaseDiscount> <PurchaseKDV>KDV0</PurchaseKDV> <PurchaseOTV>12.1</PurchaseOTV> <PurchasePrice>14.1</PurchasePrice> <SalePriceGroupFiveDto> <CompanyID>e3554acf-c807-4499-8ee9-4543eedb521a</CompanyID> <ID>f9f6840b-fd92-4868-845a-0dc5567aa972</ID> <CurrencyID>731cc4b3-80ae-4a5e-ae18-ab648d67e81a</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>9e45e39f-c5f4-43a2-b61c-149a60b2cc96</ProductID> </SalePriceGroupFiveDto> <SalePriceGroupFourDto> <CompanyID>e3554acf-c807-4499-8ee9-4543eedb521a</CompanyID> <ID>f9f6840b-fd92-4868-845a-0dc5567aa972</ID> <CurrencyID>731cc4b3-80ae-4a5e-ae18-ab648d67e81a</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>9e45e39f-c5f4-43a2-b61c-149a60b2cc96</ProductID> </SalePriceGroupFourDto> <SalePriceGroupOneDto> <CompanyID>e3554acf-c807-4499-8ee9-4543eedb521a</CompanyID> <ID>f9f6840b-fd92-4868-845a-0dc5567aa972</ID> <CurrencyID>731cc4b3-80ae-4a5e-ae18-ab648d67e81a</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>9e45e39f-c5f4-43a2-b61c-149a60b2cc96</ProductID> </SalePriceGroupOneDto> <SalePriceGroupThreeDto> <CompanyID>e3554acf-c807-4499-8ee9-4543eedb521a</CompanyID> <ID>f9f6840b-fd92-4868-845a-0dc5567aa972</ID> <CurrencyID>731cc4b3-80ae-4a5e-ae18-ab648d67e81a</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>9e45e39f-c5f4-43a2-b61c-149a60b2cc96</ProductID> </SalePriceGroupThreeDto> <SalePriceGroupTwoDto> <CompanyID>e3554acf-c807-4499-8ee9-4543eedb521a</CompanyID> <ID>f9f6840b-fd92-4868-845a-0dc5567aa972</ID> <CurrencyID>731cc4b3-80ae-4a5e-ae18-ab648d67e81a</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>9e45e39f-c5f4-43a2-b61c-149a60b2cc96</ProductID> </SalePriceGroupTwoDto> <SerialNumber>sample string 9</SerialNumber> <Stock>7.1</Stock> <UnitID>301e2d29-18a8-4fe3-878c-54204eb49224</UnitID> <WarehouseID>6daaa97f-3db2-403b-bfc2-ec35eaa35522</WarehouseID> <WarrantyEndDate>2025-05-24T16:57:56.3020481+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-05-24T16:57:56.3020481+03:00","purchaseOTV":12.1,"purchaseDiscount":13.1,"purchasePrice":14.1,"isPurchaseKDVInclude":true,"purchaseKDV":0,"purchaseCurrencyID":"ace53e60-48e7-478c-8d9e-d21a94cf11de","salePriceGroupOneDto":{"currencyID":"731cc4b3-80ae-4a5e-ae18-ab648d67e81a","productID":"9e45e39f-c5f4-43a2-b61c-149a60b2cc96","isKDVInclude":true,"kdv":0,"price":2.1,"oiv":3.1,"otv":4.1,"oivCode":"sample string 5","otvCode":"sample string 6","id":"f9f6840b-fd92-4868-845a-0dc5567aa972","companyID":"e3554acf-c807-4499-8ee9-4543eedb521a"},"salePriceGroupTwoDto":{"currencyID":"731cc4b3-80ae-4a5e-ae18-ab648d67e81a","productID":"9e45e39f-c5f4-43a2-b61c-149a60b2cc96","isKDVInclude":true,"kdv":0,"price":2.1,"oiv":3.1,"otv":4.1,"oivCode":"sample string 5","otvCode":"sample string 6","id":"f9f6840b-fd92-4868-845a-0dc5567aa972","companyID":"e3554acf-c807-4499-8ee9-4543eedb521a"},"salePriceGroupThreeDto":{"currencyID":"731cc4b3-80ae-4a5e-ae18-ab648d67e81a","productID":"9e45e39f-c5f4-43a2-b61c-149a60b2cc96","isKDVInclude":true,"kdv":0,"price":2.1,"oiv":3.1,"otv":4.1,"oivCode":"sample string 5","otvCode":"sample string 6","id":"f9f6840b-fd92-4868-845a-0dc5567aa972","companyID":"e3554acf-c807-4499-8ee9-4543eedb521a"},"salePriceGroupFourDto":{"currencyID":"731cc4b3-80ae-4a5e-ae18-ab648d67e81a","productID":"9e45e39f-c5f4-43a2-b61c-149a60b2cc96","isKDVInclude":true,"kdv":0,"price":2.1,"oiv":3.1,"otv":4.1,"oivCode":"sample string 5","otvCode":"sample string 6","id":"f9f6840b-fd92-4868-845a-0dc5567aa972","companyID":"e3554acf-c807-4499-8ee9-4543eedb521a"},"salePriceGroupFiveDto":{"currencyID":"731cc4b3-80ae-4a5e-ae18-ab648d67e81a","productID":"9e45e39f-c5f4-43a2-b61c-149a60b2cc96","isKDVInclude":true,"kdv":0,"price":2.1,"oiv":3.1,"otv":4.1,"oivCode":"sample string 5","otvCode":"sample string 6","id":"f9f6840b-fd92-4868-845a-0dc5567aa972","companyID":"e3554acf-c807-4499-8ee9-4543eedb521a"},"categoryID":"eef4c3fe-43da-48d9-9da8-3f0e56a59d8b","brandID":"cbdf6107-e3d0-4af7-be2d-b33ef0544bf7","unitID":"301e2d29-18a8-4fe3-878c-54204eb49224","warehouseID":"6daaa97f-3db2-403b-bfc2-ec35eaa35522","gtip":"sample string 16","producerCountry":"sample string 17","isDeleted":true,"buyersItemIdentification":"sample string 19","id":"1b7c8c9d-d985-4d59-b514-164cc49b4f8f","companyID":"4c440cde-7832-4e78-b478-2a2e74004bc8"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.