Files
medusa-store/www/apps/docs/content/references/js-client/classes/internal-8.internal.AdminPostTaxRatesTaxRateReq.md
github-actions[bot] daea35fe73 chore(docs): Generated JS Client Reference (#5334)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-10-10 17:47:07 +00:00

2.0 KiB

displayed_sidebar
displayed_sidebar
jsClientSidebar

Class: AdminPostTaxRatesTaxRateReq

internal.internal.AdminPostTaxRatesTaxRateReq

Schema

AdminPostTaxRatesTaxRateReq type: object 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 product types associated with this tax rate" items: type: string

Properties

code

Optional code: string

Defined in

packages/medusa/dist/api/routes/admin/tax-rates/update-tax-rate.d.ts:118


name

Optional name: string

Defined in

packages/medusa/dist/api/routes/admin/tax-rates/update-tax-rate.d.ts:119


product_types

Optional product_types: string[]

Defined in

packages/medusa/dist/api/routes/admin/tax-rates/update-tax-rate.d.ts:124


products

Optional products: string[]

Defined in

packages/medusa/dist/api/routes/admin/tax-rates/update-tax-rate.d.ts:122


rate

Optional rate: null | number

Defined in

packages/medusa/dist/api/routes/admin/tax-rates/update-tax-rate.d.ts:121


region_id

Optional region_id: string

Defined in

packages/medusa/dist/api/routes/admin/tax-rates/update-tax-rate.d.ts:120


shipping_options

Optional shipping_options: string[]

Defined in

packages/medusa/dist/api/routes/admin/tax-rates/update-tax-rate.d.ts:123