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": "f1529c1f-e7c7-4707-842f-0445f5d41b32",
"NetworkId": "a1959c70-399a-4af3-9c57-9e0650baaf77",
"Code": "sample string 3",
"Description": "sample string 4",
"Type": 1,
"Mode": 1,
"UseMode": 1,
"Active": true,
"Included": true,
"TaxValidities": [
{
"Id": "f7c16c9a-5fab-4f86-bfb9-8bd2ed89a0fc",
"NetworkId": "c5309bd6-e65d-4a72-9aad-105a10913409",
"TaxId": "4bff5544-ba24-42b5-bd82-97f64500134a",
"Amount": 4.0,
"DateFrom": "2026-04-27T22:48:05.3052281Z",
"DateTo": "2026-04-27T22:48:05.3052281Z",
"DisplayDateFrom": "2026/04/27 22:48:05",
"DisplayDateTo": "2026/04/27 22:48:05"
},
{
"Id": "f7c16c9a-5fab-4f86-bfb9-8bd2ed89a0fc",
"NetworkId": "c5309bd6-e65d-4a72-9aad-105a10913409",
"TaxId": "4bff5544-ba24-42b5-bd82-97f64500134a",
"Amount": 4.0,
"DateFrom": "2026-04-27T22:48:05.3052281Z",
"DateTo": "2026-04-27T22:48:05.3052281Z",
"DisplayDateFrom": "2026/04/27 22:48:05",
"DisplayDateTo": "2026/04/27 22:48:05"
}
],
"TaxBillingConfiguration": {
"Id": "9f80c58a-2364-4cb0-9219-075274525680",
"TaxId": "5f6e33be-aae4-4d51-ae71-d9d795015f8c",
"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>f1529c1f-e7c7-4707-842f-0445f5d41b32</Id>
<Included>true</Included>
<Mode>1</Mode>
<NetworkId>a1959c70-399a-4af3-9c57-9e0650baaf77</NetworkId>
<TaxBillingConfiguration>
<BillingType>64</BillingType>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Factor>64</Factor>
<Id>9f80c58a-2364-4cb0-9219-075274525680</Id>
<TaxId>5f6e33be-aae4-4d51-ae71-d9d795015f8c</TaxId>
</TaxBillingConfiguration>
<TaxValidities>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-04-27T22:48:05.3052281Z</DateFrom>
<DateTo>2026-04-27T22:48:05.3052281Z</DateTo>
<Id>f7c16c9a-5fab-4f86-bfb9-8bd2ed89a0fc</Id>
<NetworkId>c5309bd6-e65d-4a72-9aad-105a10913409</NetworkId>
<TaxId>4bff5544-ba24-42b5-bd82-97f64500134a</TaxId>
</TaxesValidityDto>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-04-27T22:48:05.3052281Z</DateFrom>
<DateTo>2026-04-27T22:48:05.3052281Z</DateTo>
<Id>f7c16c9a-5fab-4f86-bfb9-8bd2ed89a0fc</Id>
<NetworkId>c5309bd6-e65d-4a72-9aad-105a10913409</NetworkId>
<TaxId>4bff5544-ba24-42b5-bd82-97f64500134a</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.