Files
medusa-store/www/apps/docs/content/references/js-client/classes/internal-8.internal.AdminPostTaxRatesReq.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: AdminPostTaxRatesReq

internal.internal.AdminPostTaxRatesReq

Schema

AdminPostTaxRatesReq type: object 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

Properties

code

code: string

Defined in

packages/medusa/dist/api/routes/admin/tax-rates/create-tax-rate.d.ts:125


name

name: string

Defined in

packages/medusa/dist/api/routes/admin/tax-rates/create-tax-rate.d.ts:126


product_types

Optional product_types: string[]

Defined in

packages/medusa/dist/api/routes/admin/tax-rates/create-tax-rate.d.ts:131


products

Optional products: string[]

Defined in

packages/medusa/dist/api/routes/admin/tax-rates/create-tax-rate.d.ts:129


rate

Optional rate: null | number

Defined in

packages/medusa/dist/api/routes/admin/tax-rates/create-tax-rate.d.ts:128


region_id

region_id: string

Defined in

packages/medusa/dist/api/routes/admin/tax-rates/create-tax-rate.d.ts:127


shipping_options

Optional shipping_options: string[]

Defined in

packages/medusa/dist/api/routes/admin/tax-rates/create-tax-rate.d.ts:130