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": "5260e9f3-003c-4238-a92a-47c20c30fec5", "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": "91e65e87-9e26-4a78-8c6d-95ea0669a7ec", "Id": "2d915d70-455d-4736-9844-de6b71ddb8b3", "Detail": "sample string 10", "IsActive": true, "CreatedBy": "3c7459c5-4076-4b3b-9dcc-4fd6227d1951", "CreatedDate": "2025-10-17T12:56:02.0888549-07:00", "ModifiedBy": "2b0cbc2e-3990-427b-b549-d1e1ef165e6d", "ModifiedDate": "2025-10-17T12:56:02.0888549-07:00", "DeletedBy": "6ee1fd02-6ff5-42be-acbe-b73d618bf93e", "DeletedDate": "2025-10-17T12:56:02.0888549-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": "91e65e87-9e26-4a78-8c6d-95ea0669a7ec", "Id": "2d915d70-455d-4736-9844-de6b71ddb8b3", "Detail": "sample string 10", "IsActive": true, "CreatedBy": "3c7459c5-4076-4b3b-9dcc-4fd6227d1951", "CreatedDate": "2025-10-17T12:56:02.0888549-07:00", "ModifiedBy": "2b0cbc2e-3990-427b-b549-d1e1ef165e6d", "ModifiedDate": "2025-10-17T12:56:02.0888549-07:00", "DeletedBy": "6ee1fd02-6ff5-42be-acbe-b73d618bf93e", "DeletedDate": "2025-10-17T12:56:02.0888549-07:00" } ], "Id": "8d8c3e33-188d-4bb5-970a-5403e6c3c609", "Detail": "sample string 5", "IsActive": true, "CreatedBy": "c4887acf-693b-45ce-a7e0-41420d7f10f3", "CreatedDate": "2025-10-17T12:56:02.0888549-07:00", "ModifiedBy": "8a2f098d-9d64-41ed-bfa7-ab826ec4dd5c", "ModifiedDate": "2025-10-17T12:56:02.0888549-07:00", "DeletedBy": "265269a1-3337-4bd2-97f2-73bf09d30bbb", "DeletedDate": "2025-10-17T12:56:02.0888549-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">c4887acf-693b-45ce-a7e0-41420d7f10f3</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:56:02.0888549-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">265269a1-3337-4bd2-97f2-73bf09d30bbb</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:56:02.0888549-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">8d8c3e33-188d-4bb5-970a-5403e6c3c609</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">8a2f098d-9d64-41ed-bfa7-ab826ec4dd5c</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:56:02.0888549-07:00</ModifiedDate> <CountryId>3</CountryId> <ProducList> <ProductBundleItemModel> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">3c7459c5-4076-4b3b-9dcc-4fd6227d1951</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:56:02.0888549-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">6ee1fd02-6ff5-42be-acbe-b73d618bf93e</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:56:02.0888549-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">2d915d70-455d-4736-9844-de6b71ddb8b3</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">2b0cbc2e-3990-427b-b549-d1e1ef165e6d</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:56:02.0888549-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>91e65e87-9e26-4a78-8c6d-95ea0669a7ec</ProviderID> <SKU>sample string 5</SKU> </ProductBundleItemModel> <ProductBundleItemModel> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">3c7459c5-4076-4b3b-9dcc-4fd6227d1951</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:56:02.0888549-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">6ee1fd02-6ff5-42be-acbe-b73d618bf93e</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:56:02.0888549-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">2d915d70-455d-4736-9844-de6b71ddb8b3</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">2b0cbc2e-3990-427b-b549-d1e1ef165e6d</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:56:02.0888549-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>91e65e87-9e26-4a78-8c6d-95ea0669a7ec</ProviderID> <SKU>sample string 5</SKU> </ProductBundleItemModel> </ProducList> <ProvideID>5260e9f3-003c-4238-a92a-47c20c30fec5</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. |