Skip to content

Commit

Permalink
Updated following file(s): ecommerce.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GeertWille committed May 27, 2024
1 parent 4252cc6 commit f945e4b
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions ecommerce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1600,8 +1600,10 @@ components:
sub_total: medium
shipping_cost: medium
total_discount: medium
coupon_discount: medium
total_tax: critical
total_amount: critical
refunded_amount: medium
status: critical
payment_status: critical
fulfillment_status: critical
Expand Down Expand Up @@ -1659,6 +1661,12 @@ components:
description: Shipping cost, if any.
example: '5.17'
nullable: true
coupon_discount:
type: string
title: Coupon discount
description: Coupon discount, if any.
example: '5.5'
nullable: true
total_discount:
type: string
title: Total discount
Expand All @@ -1677,6 +1685,12 @@ components:
description: Total amount due.
example: '50.17'
nullable: true
refunded_amount:
type: string
title: Refunded amount
description: Refunded amount, if any.
example: '5.5'
nullable: true
status:
$ref: '#/components/schemas/EcommerceOrderStatus'
payment_status:
Expand Down Expand Up @@ -1758,6 +1772,10 @@ components:
unit_price: critical
tax_rate: medium
tax_amount: medium
is_refunded: medium
refunded_amount: medium
refunded_quantity: medium
sub_total: medium
total_amount: critical
discounts: medium
required:
Expand Down Expand Up @@ -1852,6 +1870,30 @@ components:
description: The total tax amount applied to the product or variant associated with the line item.
example: '1.6'
nullable: true
is_refunded:
type: boolean
title: Is refunded
description: Whether the line item has been refunded.
example: false
nullable: true
refunded_amount:
type: string
title: Refunded amount
description: The amount of the line item that has been refunded.
example: '0'
nullable: true
refunded_quantity:
type: string
title: Refunded quantity
description: The quantity of the line item that has been refunded.
example: '0'
nullable: true
sub_total:
type: string
title: Sub total
description: The sub total for the product(s) or variant associated with the line item, excluding taxes and discounts.
example: '43.18'
nullable: true
total_amount:
type: string
title: Total amount
Expand Down

0 comments on commit f945e4b

Please sign in to comment.