PUT Common/TaxCategory/Save?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
TaxCategoryViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
StoreId | integer |
None. |
|
Name | string |
Required Max length: 50 |
|
DisplayOrder | integer |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedDate | date |
None. |
|
TaxByCountryStateZips | Collection of TaxByCountryStateZipViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "StoreId": 1, "Name": "sample string 2", "DisplayOrder": 3, "ModifiedBy": "sample string 4", "ModifiedDate": "2025-04-26T16:40:26.7477375+01:00", "TaxByCountryStateZips": [ { "Id": 1, "StoreId": 1, "TaxCategoryId": 2, "TaxCategoryName": "sample string 3", "CountryId": 4, "CountryName": "sample string 5", "StateMasterId": 6, "StateMasterName": "sample string 7", "Zip": "sample string 8", "Percentage": 9.0, "ModifiedBy": "sample string 10", "ModifiedDate": "2025-04-26T16:40:26.7477375+01:00" }, { "Id": 1, "StoreId": 1, "TaxCategoryId": 2, "TaxCategoryName": "sample string 3", "CountryId": 4, "CountryName": "sample string 5", "StateMasterId": 6, "StateMasterName": "sample string 7", "Zip": "sample string 8", "Percentage": 9.0, "ModifiedBy": "sample string 10", "ModifiedDate": "2025-04-26T16:40:26.7477375+01:00" } ] }
application/xml, text/xml
Sample:
<TaxCategoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Service.Common.ViewModel"> <DisplayOrder>3</DisplayOrder> <Id>1</Id> <ModifiedBy>sample string 4</ModifiedBy> <ModifiedDate>2025-04-26T16:40:26.7477375+01:00</ModifiedDate> <Name>sample string 2</Name> <StoreId>1</StoreId> <TaxByCountryStateZips> <TaxByCountryStateZipViewModel> <CountryId>4</CountryId> <CountryName>sample string 5</CountryName> <Id>1</Id> <ModifiedBy>sample string 10</ModifiedBy> <ModifiedDate>2025-04-26T16:40:26.7477375+01:00</ModifiedDate> <Percentage>9</Percentage> <StateMasterId>6</StateMasterId> <StateMasterName>sample string 7</StateMasterName> <StoreId>1</StoreId> <TaxCategoryId>2</TaxCategoryId> <TaxCategoryName>sample string 3</TaxCategoryName> <Zip>sample string 8</Zip> </TaxByCountryStateZipViewModel> <TaxByCountryStateZipViewModel> <CountryId>4</CountryId> <CountryName>sample string 5</CountryName> <Id>1</Id> <ModifiedBy>sample string 10</ModifiedBy> <ModifiedDate>2025-04-26T16:40:26.7477375+01:00</ModifiedDate> <Percentage>9</Percentage> <StateMasterId>6</StateMasterId> <StateMasterName>sample string 7</StateMasterName> <StoreId>1</StoreId> <TaxCategoryId>2</TaxCategoryId> <TaxCategoryName>sample string 3</TaxCategoryName> <Zip>sample string 8</Zip> </TaxByCountryStateZipViewModel> </TaxByCountryStateZips> </TaxCategoryViewModel>
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. |