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": "cb0308c3-9fa7-4c5f-b07b-50539638544f",
"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": "26d17082-7588-4cc8-bba5-a58760dca30e",
"Id": "6234ec59-4b0a-4008-9ab3-0c69cfaef9e8",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "90722995-ae8f-4a77-a945-3123c01fbe65",
"CreatedDate": "2025-12-11T00:35:26.2371564-08:00",
"ModifiedBy": "b62dbd48-0e34-4fa7-a022-4bf954200ad4",
"ModifiedDate": "2025-12-11T00:35:26.2371564-08:00",
"DeletedBy": "0109f122-5a47-4c14-a9d4-0540d919b1c8",
"DeletedDate": "2025-12-11T00:35:26.2371564-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": "26d17082-7588-4cc8-bba5-a58760dca30e",
"Id": "6234ec59-4b0a-4008-9ab3-0c69cfaef9e8",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "90722995-ae8f-4a77-a945-3123c01fbe65",
"CreatedDate": "2025-12-11T00:35:26.2371564-08:00",
"ModifiedBy": "b62dbd48-0e34-4fa7-a022-4bf954200ad4",
"ModifiedDate": "2025-12-11T00:35:26.2371564-08:00",
"DeletedBy": "0109f122-5a47-4c14-a9d4-0540d919b1c8",
"DeletedDate": "2025-12-11T00:35:26.2371564-08:00"
}
],
"Id": "e9b663cf-4450-4e36-9cce-75656968dad6",
"Detail": "sample string 5",
"IsActive": true,
"CreatedBy": "192d13bf-a9b1-42e1-b123-919a3196b849",
"CreatedDate": "2025-12-11T00:35:26.2371564-08:00",
"ModifiedBy": "336f3635-e0ae-429a-a608-27f8430a7311",
"ModifiedDate": "2025-12-11T00:35:26.238158-08:00",
"DeletedBy": "bdde71dc-4fa3-4d9e-be2a-18e35bfa1e0c",
"DeletedDate": "2025-12-11T00:35:26.238158-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">192d13bf-a9b1-42e1-b123-919a3196b849</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:26.2371564-08:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">bdde71dc-4fa3-4d9e-be2a-18e35bfa1e0c</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:26.238158-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">e9b663cf-4450-4e36-9cce-75656968dad6</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">336f3635-e0ae-429a-a608-27f8430a7311</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:26.238158-08:00</ModifiedDate>
<CountryId>3</CountryId>
<ProducList>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">90722995-ae8f-4a77-a945-3123c01fbe65</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:26.2371564-08:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">0109f122-5a47-4c14-a9d4-0540d919b1c8</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:26.2371564-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">6234ec59-4b0a-4008-9ab3-0c69cfaef9e8</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">b62dbd48-0e34-4fa7-a022-4bf954200ad4</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:26.2371564-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>26d17082-7588-4cc8-bba5-a58760dca30e</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">90722995-ae8f-4a77-a945-3123c01fbe65</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:26.2371564-08:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">0109f122-5a47-4c14-a9d4-0540d919b1c8</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:26.2371564-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">6234ec59-4b0a-4008-9ab3-0c69cfaef9e8</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">b62dbd48-0e34-4fa7-a022-4bf954200ad4</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:26.2371564-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>26d17082-7588-4cc8-bba5-a58760dca30e</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
</ProducList>
<ProvideID>cb0308c3-9fa7-4c5f-b07b-50539638544f</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. |