chore(docs): Generated API Reference (#2882)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
co-authored by
olivermrbl
parent
233d6904f8
commit
4814045036
@@ -108,7 +108,7 @@ get:
|
||||
type: object
|
||||
properties:
|
||||
tax_rate:
|
||||
$ref: ../components/schemas/tax_rate.yaml
|
||||
$ref: ../components/schemas/TaxRate.yaml
|
||||
'400':
|
||||
$ref: ../components/responses/400_error.yaml
|
||||
'401':
|
||||
@@ -155,35 +155,7 @@ post:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
code:
|
||||
type: string
|
||||
description: A code to identify the tax type by
|
||||
name:
|
||||
type: string
|
||||
description: A human friendly name for the tax
|
||||
region_id:
|
||||
type: string
|
||||
description: The ID of the Region that the 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
|
||||
$ref: ../components/schemas/AdminPostTaxRatesTaxRateReq.yaml
|
||||
x-codeSamples:
|
||||
- lang: JavaScript
|
||||
label: JS Client
|
||||
@@ -207,7 +179,7 @@ post:
|
||||
type: object
|
||||
properties:
|
||||
tax_rate:
|
||||
$ref: ../components/schemas/tax_rate.yaml
|
||||
$ref: ../components/schemas/TaxRate.yaml
|
||||
'400':
|
||||
$ref: ../components/responses/400_error.yaml
|
||||
'401':
|
||||
|
||||
Reference in New Issue
Block a user