Mutation
mutation SaveTaxConfiguration($request: SaveTaxConfigurationCommandRequestInput!) {
SaveTaxConfiguration(request: $request)
}Variables
{
"request": {
"taxZones": [
{
"countries": [
{
"countryIso": "string"
}
],
"taxRates": [
{
"taxRateAssignments": [
{
"lineItemType": "CUSTOM"
}
]
}
]
}
]
}
}Response
{
"data": {
"SaveTaxConfiguration": true
}
}Mutations
SaveTaxConfiguration
Batch saves the entire tax configuration in a single transaction. Zones with an Id are updated, zones without an Id are created, and zones in the database but not in the list are deleted.
If a request with this mutation’s Idempotency-Key was already completed, the response’s extensions contains an idempotency.{responseName} entry with wasReplayed: true.
MUTATION
SaveTaxConfiguration(request: SaveTaxConfigurationCommandRequestInput!): Boolean!Arguments
request
Returns
Boolean!
Mutation
mutation SaveTaxConfiguration($request: SaveTaxConfigurationCommandRequestInput!) {
SaveTaxConfiguration(request: $request)
}Variables
{
"request": {
"taxZones": [
{
"countries": [
{
"countryIso": "string"
}
],
"taxRates": [
{
"taxRateAssignments": [
{
"lineItemType": "CUSTOM"
}
]
}
]
}
]
}
}Response
{
"data": {
"SaveTaxConfiguration": true
}
}Was this page helpful?