PUT Taxes/{id}
Updates the tax.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the tax. |
globally unique identifier |
Required |
Body Parameters
The new data of the tax.
TaxDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| NetworkId | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Description | string |
None. |
|
| Type | integer |
None. |
|
| Mode | integer |
None. |
|
| UseMode | integer |
None. |
|
| Active | boolean |
None. |
|
| Included | boolean |
None. |
|
| TaxValidities | Collection of TaxesValidityDto |
None. |
|
| TaxBillingConfiguration | TaxesBillingConfigurationDto |
None. |
|
| CodeDescription | string |
None. |
|
| TypeDescription | string |
None. |
|
| CurrentValueString | string |
None. |
|
| ModeDescription | string |
None. |
|
| UseModeDescription | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "617e530b-de16-4e3a-bf92-d3251208809b",
"NetworkId": "5f70a00f-e355-4f54-99a8-5cfffd49630f",
"Code": "sample string 3",
"Description": "sample string 4",
"Type": 1,
"Mode": 1,
"UseMode": 1,
"Active": true,
"Included": true,
"TaxValidities": [
{
"Id": "5c1de921-39af-410f-ae71-711d70352de6",
"NetworkId": "3435da6f-90ab-41d5-9f3f-52286f8c5d8d",
"TaxId": "dfc82643-ec1e-4888-b9af-fc7b21ad30c5",
"Amount": 4.0,
"DateFrom": "2026-03-13T12:28:07.1421516Z",
"DateTo": "2026-03-13T12:28:07.1421516Z",
"DisplayDateFrom": "2026/03/13 12:28:07",
"DisplayDateTo": "2026/03/13 12:28:07"
},
{
"Id": "5c1de921-39af-410f-ae71-711d70352de6",
"NetworkId": "3435da6f-90ab-41d5-9f3f-52286f8c5d8d",
"TaxId": "dfc82643-ec1e-4888-b9af-fc7b21ad30c5",
"Amount": 4.0,
"DateFrom": "2026-03-13T12:28:07.1421516Z",
"DateTo": "2026-03-13T12:28:07.1421516Z",
"DisplayDateFrom": "2026/03/13 12:28:07",
"DisplayDateTo": "2026/03/13 12:28:07"
}
],
"TaxBillingConfiguration": {
"Id": "0459fd3c-5936-423a-8147-6ebcd9858e86",
"TaxId": "197697b2-64ae-4164-ba1a-f1c5cb6ecd5a",
"BillingType": 64,
"Factor": 64,
"Code": "sample string 2",
"Description": "sample string 3"
},
"CodeDescription": "sample string 3 - sample string 4",
"TypeDescription": "Fixed Tax",
"CurrentValueString": "",
"ModeDescription": "Perceptions",
"UseModeDescription": "Merchant"
}
application/xml, text/xml
Sample:
<TaxDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
<Active>true</Active>
<Code>sample string 3</Code>
<Description>sample string 4</Description>
<Id>617e530b-de16-4e3a-bf92-d3251208809b</Id>
<Included>true</Included>
<Mode>1</Mode>
<NetworkId>5f70a00f-e355-4f54-99a8-5cfffd49630f</NetworkId>
<TaxBillingConfiguration>
<BillingType>64</BillingType>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Factor>64</Factor>
<Id>0459fd3c-5936-423a-8147-6ebcd9858e86</Id>
<TaxId>197697b2-64ae-4164-ba1a-f1c5cb6ecd5a</TaxId>
</TaxBillingConfiguration>
<TaxValidities>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-03-13T12:28:07.1421516Z</DateFrom>
<DateTo>2026-03-13T12:28:07.1421516Z</DateTo>
<Id>5c1de921-39af-410f-ae71-711d70352de6</Id>
<NetworkId>3435da6f-90ab-41d5-9f3f-52286f8c5d8d</NetworkId>
<TaxId>dfc82643-ec1e-4888-b9af-fc7b21ad30c5</TaxId>
</TaxesValidityDto>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-03-13T12:28:07.1421516Z</DateFrom>
<DateTo>2026-03-13T12:28:07.1421516Z</DateTo>
<Id>5c1de921-39af-410f-ae71-711d70352de6</Id>
<NetworkId>3435da6f-90ab-41d5-9f3f-52286f8c5d8d</NetworkId>
<TaxId>dfc82643-ec1e-4888-b9af-fc7b21ad30c5</TaxId>
</TaxesValidityDto>
</TaxValidities>
<Type>1</Type>
<UseMode>1</UseMode>
</TaxDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.