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": "34502c93-a36e-4938-8329-2029aaabcc73",
"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": "4deb893b-c127-47d4-a3d9-4b8b822a560f",
"Id": "1dc19392-fef7-4a72-bc31-1bd5ca9188e8",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "bde383d3-1fa8-4337-8885-d5d874c92e64",
"CreatedDate": "2026-10-29T13:23:49.455917-07:00",
"ModifiedBy": "fe7a175a-8441-4a9e-8b89-8be52c8ac572",
"ModifiedDate": "2026-10-29T13:23:49.455917-07:00",
"DeletedBy": "bf609c9c-5856-439c-82a2-1f61281b4077",
"DeletedDate": "2026-10-29T13:23:49.455917-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": "4deb893b-c127-47d4-a3d9-4b8b822a560f",
"Id": "1dc19392-fef7-4a72-bc31-1bd5ca9188e8",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "bde383d3-1fa8-4337-8885-d5d874c92e64",
"CreatedDate": "2026-10-29T13:23:49.455917-07:00",
"ModifiedBy": "fe7a175a-8441-4a9e-8b89-8be52c8ac572",
"ModifiedDate": "2026-10-29T13:23:49.455917-07:00",
"DeletedBy": "bf609c9c-5856-439c-82a2-1f61281b4077",
"DeletedDate": "2026-10-29T13:23:49.455917-07:00"
}
],
"Id": "6286efee-bd8f-4019-8b9f-ce8800415f6b",
"Detail": "sample string 5",
"IsActive": true,
"CreatedBy": "f20e2c10-50da-4ebc-8c78-4294b46c2acb",
"CreatedDate": "2026-10-29T13:23:49.455917-07:00",
"ModifiedBy": "770b6a30-f08b-4a35-96bc-117a7da6fc7c",
"ModifiedDate": "2026-10-29T13:23:49.455917-07:00",
"DeletedBy": "e00636e7-8bc4-4fdb-b704-a053bdbf1d24",
"DeletedDate": "2026-10-29T13:23:49.455917-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">f20e2c10-50da-4ebc-8c78-4294b46c2acb</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">e00636e7-8bc4-4fdb-b704-a053bdbf1d24</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-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">6286efee-bd8f-4019-8b9f-ce8800415f6b</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">770b6a30-f08b-4a35-96bc-117a7da6fc7c</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-07:00</ModifiedDate>
<CountryId>3</CountryId>
<ProducList>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">bde383d3-1fa8-4337-8885-d5d874c92e64</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">bf609c9c-5856-439c-82a2-1f61281b4077</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-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">1dc19392-fef7-4a72-bc31-1bd5ca9188e8</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">fe7a175a-8441-4a9e-8b89-8be52c8ac572</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-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>4deb893b-c127-47d4-a3d9-4b8b822a560f</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">bde383d3-1fa8-4337-8885-d5d874c92e64</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">bf609c9c-5856-439c-82a2-1f61281b4077</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-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">1dc19392-fef7-4a72-bc31-1bd5ca9188e8</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">fe7a175a-8441-4a9e-8b89-8be52c8ac572</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-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>4deb893b-c127-47d4-a3d9-4b8b822a560f</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
</ProducList>
<ProvideID>34502c93-a36e-4938-8329-2029aaabcc73</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. |