docs: fix total descriptions across docs (#14366)
This commit is contained in:
@@ -205,26 +205,26 @@ The returned `order` object will look like this:
|
||||
|
||||
The order will include the following total fields:
|
||||
|
||||
- `total`: The grand total of the order, including all line items, shipping methods, taxes, and discounts.
|
||||
- `subtotal`: The order's total excluding taxes, including promotions.
|
||||
- `tax_total`: The order's tax total including promotions.
|
||||
- `original_total`: The order's total including taxes, excluding promotions.
|
||||
- `original_subtotal`: The order's total excluding taxes, including promotions.
|
||||
- `original_tax_total`: The order's tax total excluding promotions.
|
||||
- `discount_total`: The order's discount or promotions total.
|
||||
- `discount_tax_total`: The tax total of the order's discount or promotion.
|
||||
- `shipping_total`: The order's shipping total including taxes and promotions.
|
||||
- `shipping_subtotal`: The order's shipping total excluding taxes, including promotions.
|
||||
- `shipping_tax_total`: The tax total of the order's shipping.
|
||||
- `original_shipping_total`: The order's shipping total including taxes, excluding promotions.
|
||||
- `original_shipping_subtotal`: The order's shipping total excluding taxes, including promotions.
|
||||
- `original_shipping_tax_total`: The tax total of the order's shipping excluding promotions.
|
||||
- `item_total`: The total of all line items in the order, including taxes and promotions.
|
||||
- `item_tax_total`: The tax total of all line items in the order, including promotions.
|
||||
- `item_subtotal`: The subtotal of all line items in the order, excluding taxes, including promotions.
|
||||
- `original_item_total`: The total of all line items in the order, including taxes, excluding promotions.
|
||||
- `original_item_tax_total`: The tax total of all line items in the order, excluding promotions.
|
||||
- `original_item_subtotal`: The subtotal of all line items in the order, excluding taxes, including promotions.
|
||||
- `total`: The order's final total after discounts and credit lines, including taxes.
|
||||
- `subtotal`: The order's subtotal before discounts, excluding taxes. Calculated as the sum of `item_subtotal` and `shipping_subtotal`.
|
||||
- `tax_total`: The order's tax total after discounts. Calculated as the sum of `item_tax_total` and `shipping_tax_total`.
|
||||
- `original_total`: The order's total before discounts, including taxes. Calculated as the sum of `original_item_total` and `original_shipping_total`.
|
||||
- `original_subtotal`: The order's subtotal before discounts, excluding taxes. Calculated as the sum of `original_item_subtotal` and `original_shipping_subtotal`.
|
||||
- `original_tax_total`: The order's tax total before discounts. Calculated as the sum of `original_item_tax_total` and `original_shipping_tax_total`.
|
||||
- `discount_total`: The total amount of discounts applied to the order, including the tax portion of discounts.
|
||||
- `discount_tax_total`: The total amount of discounts applied to the order's tax. Represents the tax portion of discounts.
|
||||
- `shipping_total`: The sum of all shipping methods' totals after discounts, including taxes.
|
||||
- `shipping_subtotal`: The sum of all shipping methods' subtotals before discounts, excluding taxes.
|
||||
- `shipping_tax_total`: The sum of all shipping methods' tax totals after discounts.
|
||||
- `original_shipping_total`: The sum of all shipping methods' original totals before discounts, including taxes.
|
||||
- `original_shipping_subtotal`: The sum of all shipping methods' original subtotals before discounts, excluding taxes.
|
||||
- `original_shipping_tax_total`: The sum of all shipping methods' original tax totals before discounts.
|
||||
- `item_total`: The sum of all line items' totals after discounts, including taxes.
|
||||
- `item_tax_total`: The sum of all line items' tax totals after discounts.
|
||||
- `item_subtotal`: The sum of all line items' subtotals before discounts, excluding taxes.
|
||||
- `original_item_total`: The sum of all line items' original totals before discounts, including taxes.
|
||||
- `original_item_tax_total`: The sum of all line items' original tax totals before discounts.
|
||||
- `original_item_subtotal`: The sum of all line items' original subtotals before discounts, excluding taxes.
|
||||
- `gift_card_total`: The total amount of gift cards applied to the order.
|
||||
- `gift_card_tax_total`: The tax total of the gift cards applied to the order.
|
||||
|
||||
@@ -233,14 +233,14 @@ The order will include the following total fields:
|
||||
The `items` array in the `order` object contains total fields for each line item:
|
||||
|
||||
- `unit_price`: The price of a single unit of the line item. This field is not calculated and is stored in the database.
|
||||
- `subtotal`: The total price of the line item before any discounts or taxes.
|
||||
- `total`: The total price of the line item after applying discounts and taxes.
|
||||
- `original_total`: The total price of the line item before any discounts.
|
||||
- `discount_total`: The total amount of discounts applied to the line item.
|
||||
- `discount_subtotal`: The total amount of discounts applied to the line item's subtotal.
|
||||
- `discount_tax_total`: The total amount of discounts applied to the line item's tax.
|
||||
- `tax_total`: The total tax amount applied to the line item.
|
||||
- `original_tax_total`: The total tax amount applied to the line item before any discounts.
|
||||
- `subtotal`: The line item's subtotal before discounts, excluding taxes.
|
||||
- `total`: The line item's total after discounts, including taxes.
|
||||
- `original_total`: The line item's original total before discounts, including taxes.
|
||||
- `discount_total`: The total amount of discounts applied to the line item, including the tax portion of discounts.
|
||||
- `discount_subtotal`: The total amount of discounts applied to the line item's subtotal (excluding tax portion).
|
||||
- `discount_tax_total`: The total amount of discounts applied to the line item's tax. Represents the tax portion of discounts.
|
||||
- `tax_total`: The line item's tax total after discounts.
|
||||
- `original_tax_total`: The line item's original tax total before discounts.
|
||||
- `refundable_total_per_unit`: The total amount that can be refunded per unit of the line item.
|
||||
- `refundable_total`: The total amount that can be refunded for the line item.
|
||||
- `fulfilled_total`: The total amount of the line item that has been fulfilled.
|
||||
@@ -257,14 +257,14 @@ The `items` array in the `order` object contains total fields for each line item
|
||||
The `shipping_methods` array in the `order` object contains total fields for each shipping method:
|
||||
|
||||
- `amount`: The amount charged for the shipping method. This field is not calculated and is stored in the database.
|
||||
- `subtotal`: The total price of the shipping method before any discounts or taxes.
|
||||
- `total`: The total price of the shipping method after applying discounts and taxes.
|
||||
- `original_total`: The total price of the shipping method before any discounts.
|
||||
- `discount_total`: The total amount of discounts applied to the shipping method.
|
||||
- `discount_subtotal`: The total amount of discounts applied to the shipping method's subtotal.
|
||||
- `discount_tax_total`: The total amount of discounts applied to the shipping method's tax.
|
||||
- `tax_total`: The total tax amount applied to the shipping method.
|
||||
- `original_tax_total`: The total tax amount applied to the shipping method before any discounts.
|
||||
- `subtotal`: The shipping method's subtotal before discounts, excluding taxes.
|
||||
- `total`: The shipping method's total after discounts, including taxes.
|
||||
- `original_total`: The shipping method's original total before discounts, including taxes.
|
||||
- `discount_total`: The total amount of discounts applied to the shipping method, including the tax portion of discounts.
|
||||
- `discount_subtotal`: The total amount of discounts applied to the shipping method's subtotal (excluding tax portion).
|
||||
- `discount_tax_total`: The total amount of discounts applied to the shipping method's tax. Represents the tax portion of discounts.
|
||||
- `tax_total`: The shipping method's tax total after discounts.
|
||||
- `original_tax_total`: The shipping method's original tax total before discounts.
|
||||
|
||||
### Order Summary Totals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user