PUT api/ProductCategory
Edits an existing product category.
Request Information
URI Parameters
None.
Body Parameters
Product Category.
ProductCategoryName | Description | Type | Additional information |
---|---|---|---|
UpdateType | string |
None. |
|
CategoryId | integer |
None. |
|
CategoryName | string |
None. |
|
ProductCount | integer |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedByName | string |
None. |
|
GlobalId | string |
None. |
|
IsStoreDisplay | boolean |
None. |
|
SortOrder | integer |
None. |
|
OrganizationId | integer |
None. |
|
CreatedBy | string |
None. |
|
Description | string |
None. |
|
DefaultPhotoUrl | string |
None. |
|
DefaultPhotoUrlM | string |
None. |
|
DefaultPhotoUrlS | string |
None. |
|
IsTopLevel | boolean |
None. |
|
ParentId | integer |
None. |
|
ParentName | string |
None. |
|
Code | string |
None. |
|
FullName | string |
None. |
|
ParentSortOrder | integer |
None. |
|
ParentGlobalId | string |
None. |
|
ChildCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "UpdateType": "sample string 1", "CategoryId": 2, "CategoryName": "sample string 3", "ProductCount": 1, "UpdatedDate": "2025-01-16T05:38:38.1287924+00:00", "UpdatedBy": "sample string 4", "UpdatedByName": "sample string 5", "GlobalId": "sample string 6", "IsStoreDisplay": true, "SortOrder": 8, "OrganizationId": 1, "CreatedBy": "sample string 9", "Description": "sample string 10", "DefaultPhotoUrl": "sample string 11", "DefaultPhotoUrlM": "sample string 12", "DefaultPhotoUrlS": "sample string 13", "IsTopLevel": true, "ParentId": 1, "ParentName": "sample string 15", "Code": "sample string 16", "FullName": "sample string 17", "ParentSortOrder": 1, "ParentGlobalId": "sample string 18", "ChildCount": 1 }
application/xml, text/xml
Sample:
<ProductCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <CategoryId>2</CategoryId> <CategoryName>sample string 3</CategoryName> <ChildCount>1</ChildCount> <Code>sample string 16</Code> <CreatedBy>sample string 9</CreatedBy> <DefaultPhotoUrl>sample string 11</DefaultPhotoUrl> <DefaultPhotoUrlM>sample string 12</DefaultPhotoUrlM> <DefaultPhotoUrlS>sample string 13</DefaultPhotoUrlS> <Description>sample string 10</Description> <FullName>sample string 17</FullName> <GlobalId>sample string 6</GlobalId> <IsStoreDisplay>true</IsStoreDisplay> <IsTopLevel>true</IsTopLevel> <OrganizationId>1</OrganizationId> <ParentGlobalId>sample string 18</ParentGlobalId> <ParentId>1</ParentId> <ParentName>sample string 15</ParentName> <ParentSortOrder>1</ParentSortOrder> <ProductCount>1</ProductCount> <SortOrder>8</SortOrder> <UpdateType>sample string 1</UpdateType> <UpdatedBy>sample string 4</UpdatedBy> <UpdatedByName>sample string 5</UpdatedByName> <UpdatedDate>2025-01-16T05:38:38.1287924+00:00</UpdatedDate> </ProductCategory>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ProductCategoryName | Description | Type | Additional information |
---|---|---|---|
UpdateType | string |
None. |
|
CategoryId | integer |
None. |
|
CategoryName | string |
None. |
|
ProductCount | integer |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedByName | string |
None. |
|
GlobalId | string |
None. |
|
IsStoreDisplay | boolean |
None. |
|
SortOrder | integer |
None. |
|
OrganizationId | integer |
None. |
|
CreatedBy | string |
None. |
|
Description | string |
None. |
|
DefaultPhotoUrl | string |
None. |
|
DefaultPhotoUrlM | string |
None. |
|
DefaultPhotoUrlS | string |
None. |
|
IsTopLevel | boolean |
None. |
|
ParentId | integer |
None. |
|
ParentName | string |
None. |
|
Code | string |
None. |
|
FullName | string |
None. |
|
ParentSortOrder | integer |
None. |
|
ParentGlobalId | string |
None. |
|
ChildCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "UpdateType": "sample string 1", "CategoryId": 2, "CategoryName": "sample string 3", "ProductCount": 1, "UpdatedDate": "2025-01-16T05:38:38.1287924+00:00", "UpdatedBy": "sample string 4", "UpdatedByName": "sample string 5", "GlobalId": "sample string 6", "IsStoreDisplay": true, "SortOrder": 8, "OrganizationId": 1, "CreatedBy": "sample string 9", "Description": "sample string 10", "DefaultPhotoUrl": "sample string 11", "DefaultPhotoUrlM": "sample string 12", "DefaultPhotoUrlS": "sample string 13", "IsTopLevel": true, "ParentId": 1, "ParentName": "sample string 15", "Code": "sample string 16", "FullName": "sample string 17", "ParentSortOrder": 1, "ParentGlobalId": "sample string 18", "ChildCount": 1 }
application/xml, text/xml
Sample:
<ProductCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <CategoryId>2</CategoryId> <CategoryName>sample string 3</CategoryName> <ChildCount>1</ChildCount> <Code>sample string 16</Code> <CreatedBy>sample string 9</CreatedBy> <DefaultPhotoUrl>sample string 11</DefaultPhotoUrl> <DefaultPhotoUrlM>sample string 12</DefaultPhotoUrlM> <DefaultPhotoUrlS>sample string 13</DefaultPhotoUrlS> <Description>sample string 10</Description> <FullName>sample string 17</FullName> <GlobalId>sample string 6</GlobalId> <IsStoreDisplay>true</IsStoreDisplay> <IsTopLevel>true</IsTopLevel> <OrganizationId>1</OrganizationId> <ParentGlobalId>sample string 18</ParentGlobalId> <ParentId>1</ParentId> <ParentName>sample string 15</ParentName> <ParentSortOrder>1</ParentSortOrder> <ProductCount>1</ProductCount> <SortOrder>8</SortOrder> <UpdateType>sample string 1</UpdateType> <UpdatedBy>sample string 4</UpdatedBy> <UpdatedByName>sample string 5</UpdatedByName> <UpdatedDate>2025-01-16T05:38:38.1287924+00:00</UpdatedDate> </ProductCategory>