Files
medusa-store/www/apps/api-reference/specs/admin/components/schemas/AdminPostTaxRatesReq.yaml
Shahed Nasser 7d650771d1 docs: generate medusa-react reference (#6004)
* add new plugin for better organization

* added handling in theme for mutations and query types

* added tsdoc to hooks

* added tsdocs to utility functions

* added tsdoc to providers

* generated reference

* general fixes for generated reference

* generated api reference specs + general fixes

* add missing import react

* split utilities into different directories

* added overview page

* added link to customer authentication section

* fix lint errors

* added changeset

* fix readme

* fixed build error

* added expand fields + other sections to overview

* updated what's new section

* general refactoring

* remove unnecessary query field

* fix links

* added ignoreApi option
2024-01-05 17:03:38 +02:00

35 lines
841 B
YAML

type: object
description: The details of the tax rate to create.
required:
- code
- name
- region_id
properties:
code:
type: string
description: The code of the tax rate.
name:
type: string
description: The name of the tax rate.
region_id:
type: string
description: The ID of the Region that the tax rate belongs to.
rate:
type: number
description: The numeric rate to charge.
products:
type: array
description: The IDs of the products associated with this tax rate.
items:
type: string
shipping_options:
type: array
description: The IDs of the shipping options associated with this tax rate
items:
type: string
product_types:
type: array
description: The IDs of the types of products associated with this tax rate
items:
type: string