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": "8e653b2b-d9b7-4d6a-b483-0b725a7d4042",
"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": "51928662-ef00-4544-ae50-ec2fae9f3393",
"Id": "79c6e89a-c4b6-497d-b6e5-28d2ea7f2211",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "d41a699e-833b-429e-bf2c-d4279b6b5edf",
"CreatedDate": "2026-09-05T04:23:25.157028-07:00",
"ModifiedBy": "934988de-d24a-424e-af52-3b6a87b0d49c",
"ModifiedDate": "2026-09-05T04:23:25.157028-07:00",
"DeletedBy": "c1977911-fbe0-4fb6-bb2e-2e9c047a64dc",
"DeletedDate": "2026-09-05T04:23:25.157028-07: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": "51928662-ef00-4544-ae50-ec2fae9f3393",
"Id": "79c6e89a-c4b6-497d-b6e5-28d2ea7f2211",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "d41a699e-833b-429e-bf2c-d4279b6b5edf",
"CreatedDate": "2026-09-05T04:23:25.157028-07:00",
"ModifiedBy": "934988de-d24a-424e-af52-3b6a87b0d49c",
"ModifiedDate": "2026-09-05T04:23:25.157028-07:00",
"DeletedBy": "c1977911-fbe0-4fb6-bb2e-2e9c047a64dc",
"DeletedDate": "2026-09-05T04:23:25.157028-07:00"
}
],
"Id": "b445a534-5fef-4b77-af39-2551cedc9b0d",
"Detail": "sample string 5",
"IsActive": true,
"CreatedBy": "3783572b-6dd8-4a43-9904-fc43c1fd1f7d",
"CreatedDate": "2026-09-05T04:23:25.157028-07:00",
"ModifiedBy": "67479511-2c6a-490b-b98b-78a805c968fb",
"ModifiedDate": "2026-09-05T04:23:25.157028-07:00",
"DeletedBy": "d8560f81-6d3b-47dd-82dc-3cf20f993c72",
"DeletedDate": "2026-09-05T04:23:25.157028-07: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">3783572b-6dd8-4a43-9904-fc43c1fd1f7d</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-05T04:23:25.157028-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">d8560f81-6d3b-47dd-82dc-3cf20f993c72</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-05T04:23:25.157028-07: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">b445a534-5fef-4b77-af39-2551cedc9b0d</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">67479511-2c6a-490b-b98b-78a805c968fb</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-05T04:23:25.157028-07:00</ModifiedDate>
<CountryId>3</CountryId>
<ProducList>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">d41a699e-833b-429e-bf2c-d4279b6b5edf</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-05T04:23:25.157028-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">c1977911-fbe0-4fb6-bb2e-2e9c047a64dc</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-05T04:23:25.157028-07: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">79c6e89a-c4b6-497d-b6e5-28d2ea7f2211</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">934988de-d24a-424e-af52-3b6a87b0d49c</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-05T04:23:25.157028-07: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>51928662-ef00-4544-ae50-ec2fae9f3393</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">d41a699e-833b-429e-bf2c-d4279b6b5edf</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-05T04:23:25.157028-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">c1977911-fbe0-4fb6-bb2e-2e9c047a64dc</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-05T04:23:25.157028-07: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">79c6e89a-c4b6-497d-b6e5-28d2ea7f2211</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">934988de-d24a-424e-af52-3b6a87b0d49c</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-05T04:23:25.157028-07: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>51928662-ef00-4544-ae50-ec2fae9f3393</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
</ProducList>
<ProvideID>8e653b2b-d9b7-4d6a-b483-0b725a7d4042</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. |