PUT api/shopcategory
Request Information
URI Parameters
None.
Body Parameters
ShopCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryId | integer |
None. |
|
| ParentId | integer |
None. |
|
| CategoryName | string |
None. |
|
| CategorySlug | string |
None. |
|
| ShowOnSite | boolean |
None. |
|
| OrderBy | integer |
None. |
|
| SourceId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CategoryId": 1,
"ParentId": 2,
"CategoryName": "sample string 3",
"CategorySlug": "sample string 4",
"ShowOnSite": true,
"OrderBy": 6,
"SourceId": 7
}
application/xml, text/xml
Sample:
<ShopCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdmApi.Marindepan2015.Models.WebShop"> <CategoryId>1</CategoryId> <CategoryName>sample string 3</CategoryName> <CategorySlug>sample string 4</CategorySlug> <OrderBy>6</OrderBy> <ParentId>2</ParentId> <ShowOnSite>true</ShowOnSite> <SourceId>7</SourceId> </ShopCategory>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ShopCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryId | integer |
None. |
|
| ParentId | integer |
None. |
|
| CategoryName | string |
None. |
|
| CategorySlug | string |
None. |
|
| ShowOnSite | boolean |
None. |
|
| OrderBy | integer |
None. |
|
| SourceId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"CategoryId": 1,
"ParentId": 2,
"CategoryName": "sample string 3",
"CategorySlug": "sample string 4",
"ShowOnSite": true,
"OrderBy": 6,
"SourceId": 7
}
application/xml, text/xml
Sample:
<ShopCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdmApi.Marindepan2015.Models.WebShop"> <CategoryId>1</CategoryId> <CategoryName>sample string 3</CategoryName> <CategorySlug>sample string 4</CategorySlug> <OrderBy>6</OrderBy> <ParentId>2</ParentId> <ShowOnSite>true</ShowOnSite> <SourceId>7</SourceId> </ShopCategory>