POST api/Product/UpdateDiscountBundle
Request Information
URI Parameters
None.
Body Parameters
ProductBundleName | 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": "d5535632-7fda-4b1a-9ffc-5f5ddc03103d", "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": "57386b3c-33ae-4a0b-9ecd-e22915699429", "Id": "d5c61f37-7f65-41d5-8f2e-a7e0c921121d", "Detail": "sample string 10", "IsActive": true, "CreatedBy": "21cdfead-477d-4d68-82c7-f258641bdccd", "CreatedDate": "2025-06-14T22:58:22.171893-07:00", "ModifiedBy": "ef58a491-e899-4c82-9ae3-36ce787e1092", "ModifiedDate": "2025-06-14T22:58:22.171893-07:00", "DeletedBy": "481478a4-50dd-4f03-8e43-e835548e6e95", "DeletedDate": "2025-06-14T22:58:22.171893-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": "57386b3c-33ae-4a0b-9ecd-e22915699429", "Id": "d5c61f37-7f65-41d5-8f2e-a7e0c921121d", "Detail": "sample string 10", "IsActive": true, "CreatedBy": "21cdfead-477d-4d68-82c7-f258641bdccd", "CreatedDate": "2025-06-14T22:58:22.171893-07:00", "ModifiedBy": "ef58a491-e899-4c82-9ae3-36ce787e1092", "ModifiedDate": "2025-06-14T22:58:22.171893-07:00", "DeletedBy": "481478a4-50dd-4f03-8e43-e835548e6e95", "DeletedDate": "2025-06-14T22:58:22.171893-07:00" } ], "Id": "9e8a4a35-e02a-4428-b52a-79d788463d7b", "Detail": "sample string 5", "IsActive": true, "CreatedBy": "a5b7b6f4-b4ea-461e-8663-f154c1a2383a", "CreatedDate": "2025-06-14T22:58:22.171893-07:00", "ModifiedBy": "8170929d-cebd-4e7c-95c2-79393e699599", "ModifiedDate": "2025-06-14T22:58:22.171893-07:00", "DeletedBy": "d65c5910-a2ad-492b-814a-c79291d17614", "DeletedDate": "2025-06-14T22:58:22.171893-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">a5b7b6f4-b4ea-461e-8663-f154c1a2383a</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:58:22.171893-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">d65c5910-a2ad-492b-814a-c79291d17614</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:58:22.171893-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">9e8a4a35-e02a-4428-b52a-79d788463d7b</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">8170929d-cebd-4e7c-95c2-79393e699599</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:58:22.171893-07:00</ModifiedDate> <CountryId>3</CountryId> <ProducList> <ProductBundleItemModel> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">21cdfead-477d-4d68-82c7-f258641bdccd</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:58:22.171893-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">481478a4-50dd-4f03-8e43-e835548e6e95</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:58:22.171893-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">d5c61f37-7f65-41d5-8f2e-a7e0c921121d</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">ef58a491-e899-4c82-9ae3-36ce787e1092</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:58:22.171893-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>57386b3c-33ae-4a0b-9ecd-e22915699429</ProviderID> <SKU>sample string 5</SKU> </ProductBundleItemModel> <ProductBundleItemModel> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">21cdfead-477d-4d68-82c7-f258641bdccd</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:58:22.171893-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">481478a4-50dd-4f03-8e43-e835548e6e95</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:58:22.171893-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">d5c61f37-7f65-41d5-8f2e-a7e0c921121d</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">ef58a491-e899-4c82-9ae3-36ce787e1092</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:58:22.171893-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>57386b3c-33ae-4a0b-9ecd-e22915699429</ProviderID> <SKU>sample string 5</SKU> </ProductBundleItemModel> </ProducList> <ProvideID>d5535632-7fda-4b1a-9ffc-5f5ddc03103d</ProvideID> <ProviderName>sample string 2</ProviderName> </ProductBundle>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |