POST api/Product/UpdateDiscountBundle
Request Information
URI Parameters
None.
Body Parameters
ProductBundle| Name | Description | Type | Additional information |
|---|---|---|---|
| ProvideID | globally unique identifier |
None. |
|
| ProviderName | string |
None. |
|
| CountryId | integer |
None. |
|
| ProducList | Collection of ProductBundleItemModel |
None. |
|
| Id | globally unique identifier |
None. |
|
| Detail | string |
None. |
|
| IsActive | boolean |
None. |
|
| CreatedBy | globally unique identifier |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedBy | globally unique identifier |
None. |
|
| ModifiedDate | date |
None. |
|
| DeletedBy | globally unique identifier |
None. |
|
| DeletedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProvideID": "fa56468b-395c-44a9-bb3a-628ea1a097f4",
"ProviderName": "sample string 2",
"CountryId": 3,
"ProducList": [
{
"Name": "sample string 1",
"Price": "sample string 2",
"PriceWithDiscount": "sample string 3",
"Discount": 4.0,
"SKU": "sample string 5",
"ProductURL": "sample string 6",
"ImageURL": "sample string 7",
"ProviderID": "6fa0ce69-8574-433d-8c9f-a7b136f929da",
"Id": "d6b9fe18-f07f-4002-8293-430f63143df3",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "14030f09-87bf-4440-9ac2-5b2e7b75c8e2",
"CreatedDate": "2026-11-04T03:38:39.988658-08:00",
"ModifiedBy": "1141ede5-e6b9-4624-a55c-abcc0f45be1f",
"ModifiedDate": "2026-11-04T03:38:39.988658-08:00",
"DeletedBy": "ec6ff9f9-9a20-412a-b36b-7a5b47b9b42a",
"DeletedDate": "2026-11-04T03:38:39.988658-08:00"
},
{
"Name": "sample string 1",
"Price": "sample string 2",
"PriceWithDiscount": "sample string 3",
"Discount": 4.0,
"SKU": "sample string 5",
"ProductURL": "sample string 6",
"ImageURL": "sample string 7",
"ProviderID": "6fa0ce69-8574-433d-8c9f-a7b136f929da",
"Id": "d6b9fe18-f07f-4002-8293-430f63143df3",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "14030f09-87bf-4440-9ac2-5b2e7b75c8e2",
"CreatedDate": "2026-11-04T03:38:39.988658-08:00",
"ModifiedBy": "1141ede5-e6b9-4624-a55c-abcc0f45be1f",
"ModifiedDate": "2026-11-04T03:38:39.988658-08:00",
"DeletedBy": "ec6ff9f9-9a20-412a-b36b-7a5b47b9b42a",
"DeletedDate": "2026-11-04T03:38:39.988658-08:00"
}
],
"Id": "7ceaca60-b701-4304-b624-acca0cb2c08b",
"Detail": "sample string 5",
"IsActive": true,
"CreatedBy": "0e2b9047-b52c-4d9f-8800-cbe34887b4b5",
"CreatedDate": "2026-11-04T03:38:39.988658-08:00",
"ModifiedBy": "46b35576-db94-49bd-ae69-fd558661a3f9",
"ModifiedDate": "2026-11-04T03:38:39.988658-08:00",
"DeletedBy": "8b96670d-0e22-47bd-8221-6cd861fcd4ec",
"DeletedDate": "2026-11-04T03:38:39.988658-08:00"
}
application/xml, text/xml
Sample:
<ProductBundle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Inventory">
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">0e2b9047-b52c-4d9f-8800-cbe34887b4b5</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:38:39.988658-08:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">8b96670d-0e22-47bd-8221-6cd861fcd4ec</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:38:39.988658-08:00</DeletedDate>
<Detail xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">sample string 5</Detail>
<Id xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">7ceaca60-b701-4304-b624-acca0cb2c08b</Id>
<IsActive xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">true</IsActive>
<ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">46b35576-db94-49bd-ae69-fd558661a3f9</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:38:39.988658-08:00</ModifiedDate>
<CountryId>3</CountryId>
<ProducList>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">14030f09-87bf-4440-9ac2-5b2e7b75c8e2</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:38:39.988658-08:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">ec6ff9f9-9a20-412a-b36b-7a5b47b9b42a</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:38:39.988658-08:00</DeletedDate>
<Detail xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">sample string 10</Detail>
<Id xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">d6b9fe18-f07f-4002-8293-430f63143df3</Id>
<IsActive xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">true</IsActive>
<ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">1141ede5-e6b9-4624-a55c-abcc0f45be1f</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:38:39.988658-08:00</ModifiedDate>
<Discount>4</Discount>
<ImageURL>sample string 7</ImageURL>
<Name>sample string 1</Name>
<Price>sample string 2</Price>
<PriceWithDiscount>sample string 3</PriceWithDiscount>
<ProductURL>sample string 6</ProductURL>
<ProviderID>6fa0ce69-8574-433d-8c9f-a7b136f929da</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">14030f09-87bf-4440-9ac2-5b2e7b75c8e2</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:38:39.988658-08:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">ec6ff9f9-9a20-412a-b36b-7a5b47b9b42a</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:38:39.988658-08:00</DeletedDate>
<Detail xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">sample string 10</Detail>
<Id xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">d6b9fe18-f07f-4002-8293-430f63143df3</Id>
<IsActive xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">true</IsActive>
<ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">1141ede5-e6b9-4624-a55c-abcc0f45be1f</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:38:39.988658-08:00</ModifiedDate>
<Discount>4</Discount>
<ImageURL>sample string 7</ImageURL>
<Name>sample string 1</Name>
<Price>sample string 2</Price>
<PriceWithDiscount>sample string 3</PriceWithDiscount>
<ProductURL>sample string 6</ProductURL>
<ProviderID>6fa0ce69-8574-433d-8c9f-a7b136f929da</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
</ProducList>
<ProvideID>fa56468b-395c-44a9-bb3a-628ea1a097f4</ProvideID>
<ProviderName>sample string 2</ProviderName>
</ProductBundle>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |