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": "141a682f-1729-49dd-8a9b-1c51bc54910a",
"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": "98fdb8cf-b0c1-4b1a-98b5-0148808601f4",
"Id": "4689a987-648a-42c7-8338-532bf6a78f0c",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "9bef446a-fbea-4fbc-8abb-2112eb3b34f9",
"CreatedDate": "2026-08-05T17:50:57.5479912-07:00",
"ModifiedBy": "38e7ff3a-a279-404e-ace3-35ccda792e1b",
"ModifiedDate": "2026-08-05T17:50:57.5479912-07:00",
"DeletedBy": "774dfe2f-1619-4062-a6a2-7e42eb9baa4e",
"DeletedDate": "2026-08-05T17:50:57.5479912-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": "98fdb8cf-b0c1-4b1a-98b5-0148808601f4",
"Id": "4689a987-648a-42c7-8338-532bf6a78f0c",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "9bef446a-fbea-4fbc-8abb-2112eb3b34f9",
"CreatedDate": "2026-08-05T17:50:57.5479912-07:00",
"ModifiedBy": "38e7ff3a-a279-404e-ace3-35ccda792e1b",
"ModifiedDate": "2026-08-05T17:50:57.5479912-07:00",
"DeletedBy": "774dfe2f-1619-4062-a6a2-7e42eb9baa4e",
"DeletedDate": "2026-08-05T17:50:57.5479912-07:00"
}
],
"Id": "6d2cf80b-f1b6-4979-9bcc-a7ef8336f24d",
"Detail": "sample string 5",
"IsActive": true,
"CreatedBy": "44b9e082-3d42-419c-90b0-51e3293f6201",
"CreatedDate": "2026-08-05T17:50:57.5479912-07:00",
"ModifiedBy": "12f8b846-964b-412c-a45b-1954b8144e7f",
"ModifiedDate": "2026-08-05T17:50:57.5479912-07:00",
"DeletedBy": "c58de220-e4ed-4647-a0fc-df32d43c9ea5",
"DeletedDate": "2026-08-05T17:50:57.5479912-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">44b9e082-3d42-419c-90b0-51e3293f6201</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:50:57.5479912-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">c58de220-e4ed-4647-a0fc-df32d43c9ea5</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:50:57.5479912-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">6d2cf80b-f1b6-4979-9bcc-a7ef8336f24d</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">12f8b846-964b-412c-a45b-1954b8144e7f</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:50:57.5479912-07:00</ModifiedDate>
<CountryId>3</CountryId>
<ProducList>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">9bef446a-fbea-4fbc-8abb-2112eb3b34f9</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:50:57.5479912-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">774dfe2f-1619-4062-a6a2-7e42eb9baa4e</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:50:57.5479912-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">4689a987-648a-42c7-8338-532bf6a78f0c</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">38e7ff3a-a279-404e-ace3-35ccda792e1b</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:50:57.5479912-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>98fdb8cf-b0c1-4b1a-98b5-0148808601f4</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">9bef446a-fbea-4fbc-8abb-2112eb3b34f9</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:50:57.5479912-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">774dfe2f-1619-4062-a6a2-7e42eb9baa4e</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:50:57.5479912-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">4689a987-648a-42c7-8338-532bf6a78f0c</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">38e7ff3a-a279-404e-ace3-35ccda792e1b</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:50:57.5479912-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>98fdb8cf-b0c1-4b1a-98b5-0148808601f4</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
</ProducList>
<ProvideID>141a682f-1729-49dd-8a9b-1c51bc54910a</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. |