UpsertTaxRateDTO

The attributes in the tax rate to be created or updated.

idstringOptional
The ID of the tax rate. If not provided, the tax rate is created.
ratenull | numberOptional
The rate to charge
codenull | stringOptional
The code of the tax rate.
namestringOptional
The name of the tax rate.
is_defaultbooleanOptional
Whether the tax rate is default.
created_bynull | stringOptional
Who created the tax rate. For example, the ID of the user that created it.
metadataMetadataTypeOptional
Holds custom data in key-value pairs.
Was this page helpful?
Edit this page
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break