Files
medusa-store/www/apps/api-reference/specs/admin/components/schemas/OrderShippingMethodTaxLine.yaml
github-actions[bot] 8209d936a0 chore(docs): Updated API Reference (v2) (#9666)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2024-10-18 17:14:26 +00:00

63 lines
1.5 KiB
YAML

type: object
description: The shipping method tax line's details.
x-schemaName: OrderShippingMethodTaxLine
required:
- shipping_method
- shipping_method_id
- total
- subtotal
- id
- code
- rate
- created_at
- updated_at
properties:
shipping_method:
type: object
shipping_method_id:
type: string
title: shipping_method_id
description: The ID of the shipping method that this tax line is for.
total:
type: number
title: total
description: The shipping method's total including taxes and promotions.
subtotal:
type: number
title: subtotal
description: The shipping method's total excluding taxes, including promotions.
id:
type: string
title: id
description: The tax line's ID.
description:
type: string
title: description
description: The tax line's description.
tax_rate_id:
type: string
title: tax_rate_id
description: The ID of the applied tax rate.
code:
type: string
title: code
description: The code that the tax rate is identified by.
rate:
type: number
title: rate
description: The rate to charge.
provider_id:
type: string
title: provider_id
description: The ID of the tax provider used to calculate taxes.
created_at:
type: string
format: date-time
title: created_at
description: The date the tax line was created.
updated_at:
type: string
format: date-time
title: updated_at
description: The date the tax line was updated.