POST updateProduct
Request Information
URI Parameters
None.
Body Parameters
ProductModelName | Description | Type | Additional information |
---|---|---|---|
CategoryId | integer |
None. |
|
ProductId | integer |
None. |
|
ProductImage | string |
None. |
|
ProductImage2 | string |
None. |
|
ProductImage3 | string |
None. |
|
ProductImage4 | string |
None. |
|
ProductCode | string |
None. |
|
ProductName | string |
None. |
|
ProductNameIt | string |
None. |
|
International | integer |
None. |
|
Italy | integer |
None. |
|
Usa | integer |
None. |
|
SearchTitle | string |
None. |
|
SearchTitleIt | string |
None. |
|
Description | string |
None. |
|
DescriptionIt | string |
None. |
|
Specification | string |
None. |
|
SpecificationIt | string |
None. |
|
GlbLink | string |
None. |
|
CaleffiLink | string |
None. |
|
CaleffiLinkUsa | string |
None. |
|
CaleffiLinkIt | string |
None. |
|
CreatedOn | date |
None. |
|
UpdatedOn | date |
None. |
|
Certifications | string |
None. |
|
CategoryName | string |
None. |
|
ShowOnHome | integer |
None. |
|
Visible | integer |
None. |
|
BimFiles | Collection of BimFilesModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "CategoryId": 1, "ProductId": 2, "ProductImage": "sample string 3", "ProductImage2": "sample string 4", "ProductImage3": "sample string 5", "ProductImage4": "sample string 6", "ProductCode": "sample string 7", "ProductName": "sample string 8", "ProductNameIt": "sample string 9", "International": 10, "Italy": 11, "Usa": 12, "SearchTitle": "sample string 13", "SearchTitleIt": "sample string 14", "Description": "sample string 15", "DescriptionIt": "sample string 16", "Specification": "sample string 17", "SpecificationIt": "sample string 18", "GlbLink": "sample string 19", "CaleffiLink": "sample string 20", "CaleffiLinkUsa": "sample string 21", "CaleffiLinkIt": "sample string 22", "CreatedOn": "2025-04-04T03:34:38.16311+02:00", "UpdatedOn": "2025-04-04T03:34:38.16311+02:00", "Certifications": "sample string 23", "CategoryName": "sample string 24", "ShowOnHome": 25, "Visible": 26, "BimFiles": [ { "ProductId": 1, "FileType": "sample string 2", "Link": "sample string 3", "FileName": "sample string 4" }, { "ProductId": 1, "FileType": "sample string 2", "Link": "sample string 3", "FileName": "sample string 4" } ] }
application/xml, text/xml
Sample:
<ProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaleffiAPI.Models"> <BimFiles> <BimFilesModel> <FileName>sample string 4</FileName> <FileType>sample string 2</FileType> <Link>sample string 3</Link> <ProductId>1</ProductId> </BimFilesModel> <BimFilesModel> <FileName>sample string 4</FileName> <FileType>sample string 2</FileType> <Link>sample string 3</Link> <ProductId>1</ProductId> </BimFilesModel> </BimFiles> <CaleffiLink>sample string 20</CaleffiLink> <CaleffiLinkIt>sample string 22</CaleffiLinkIt> <CaleffiLinkUsa>sample string 21</CaleffiLinkUsa> <CategoryId>1</CategoryId> <CategoryName>sample string 24</CategoryName> <Certifications>sample string 23</Certifications> <CreatedOn>2025-04-04T03:34:38.16311+02:00</CreatedOn> <Description>sample string 15</Description> <DescriptionIt>sample string 16</DescriptionIt> <GlbLink>sample string 19</GlbLink> <International>10</International> <Italy>11</Italy> <ProductCode>sample string 7</ProductCode> <ProductId>2</ProductId> <ProductImage>sample string 3</ProductImage> <ProductImage2>sample string 4</ProductImage2> <ProductImage3>sample string 5</ProductImage3> <ProductImage4>sample string 6</ProductImage4> <ProductName>sample string 8</ProductName> <ProductNameIt>sample string 9</ProductNameIt> <SearchTitle>sample string 13</SearchTitle> <SearchTitleIt>sample string 14</SearchTitleIt> <ShowOnHome>25</ShowOnHome> <Specification>sample string 17</Specification> <SpecificationIt>sample string 18</SpecificationIt> <UpdatedOn>2025-04-04T03:34:38.16311+02:00</UpdatedOn> <Usa>12</Usa> <Visible>26</Visible> </ProductModel>
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. |