PUT inventory/webcategory
By Web Site Name or ID – PUT Web Categories, SubCategories
Request Information
URI Parameters
None.
Body Parameters
Interprise.Web.Services.Models.APIWebCategoryInputName | Description | Type | Additional information |
---|---|---|---|
WebsiteName | string |
None. |
|
Category | string |
None. |
|
ParentCategory | string |
None. |
|
SortOrder | integer |
None. |
|
IsNewCategory | boolean |
None. |
|
IsDelete | boolean |
None. |
|
CustomFields |
Collection of all the custom fields in APIWebCategory_IUK |
Collection of Interprise.Web.Services.Models.CustomField |
None. |
Request Formats
{ "websiteName": "sample string 2", "category": "sample string 3", "parentCategory": "sample string 4", "sortOrder": 1, "isNewCategory": true, "isDelete": true, "customFields": [ { "field": "sample string 1", "value": {} }, { "field": "sample string 1", "value": {} } ] }
<APIWebCategoryInput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <WebsiteCode>1</WebsiteCode> <WebsiteName>sample string 2</WebsiteName> <Category>sample string 3</Category> <ParentCategory>sample string 4</ParentCategory> <SortOrder>1</SortOrder> <IsNewCategory>true</IsNewCategory> <IsDelete>true</IsDelete> <CustomFields> <CustomField> <Field>sample string 1</Field> <Value /> </CustomField> <CustomField> <Field>sample string 1</Field> <Value /> </CustomField> </CustomFields> </APIWebCategoryInput>
Response Information
Resource Description
Interprise.Web.Services.Http.MetadataOfInterprise.Web.Services.Models.APIWebCategoryInputName | Description | Type | Additional information |
---|---|---|---|
data | Interprise.Web.Services.Http.DataNodeOfInterprise.Web.Services.Models.APIWebCategoryInput |
None. |
|
links | Interprise.Web.Services.Http.LinksNode |
None. |
Response Formats
Sample not available.