Skip to main content

taxUpdate

Update an existing tax configuration.

Modifies tax rates, zones, or other tax settings. Changes will affect all future tax calculations using this configuration.

Possible errors:

  • TAX_NOT_FOUND_ERROR: Tax configuration with the specified ID does not exist
  • TAX_UPDATE_ERROR: Failed to update the tax configuration
  • TAX_ALREADY_EXISTS_ERROR: Tax configuration with the same shopId, code, and zone already exists

AUTH: Role=[pricing.OWNER,pricing.EDITOR]

taxUpdate(
id: String!
input: TaxUpdateInput!
): Tax!

Arguments

taxUpdate.id ● String! non-null scalar

Unique identifier of the tax configuration to update.

Must be a valid UUID format representing an existing tax configuration.

taxUpdate.input ● TaxUpdateInput! non-null input

Updated tax configuration data.

Only provided fields will be updated, others remain unchanged.

Type

Tax object