Commit 0b3fd8b
authored
docs(checkout): CHECKOUT-9857 Document storefront checkout shipping comparison fields (#1287)
<!-- Ticket number or summary of work -->
# [CHECKOUT-9857]
## What changed?
Updates the Storefront Checkouts spec (reference/checkouts.sf.yml) for
the Get a Checkout response.
- checkout_Full: clarify shippingCostBeforeDiscount (total shipping
before discounts) and document comparisonShippingCost (total shipping
after automatic promotions).
- consignment_Full: add shippingCostBeforeDiscount and
comparisonShippingCost with the same meanings per consignment.
- CheckoutResp example: include the new fields.
## Release notes draft
* The [Storefront Checkout
API](https://developer.bigcommerce.com/docs/rest-storefront/checkouts#get-a-checkout)
response now documents shipping comparison fields so you can show
shoppers the right “original” vs. promotional shipping amounts. Checkout
and each consignment include **shipping cost before discount** and
**shipping cost after automatic promotions**, which makes it easier to
display fair pricing and explain savings at checkout.
## Anything else?
<img width="1678" height="2062" alt="image"
src="https://github.com/user-attachments/assets/bbab3739-17d5-4702-ae64-fc6079a95f9a"
/>
ping @bigcommerce/team-checkout
[CHECKOUT-9857]:
https://bigcommercecloud.atlassian.net/browse/CHECKOUT-9857?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ1 parent d78d46d commit 0b3fd8b
1 file changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
897 | 897 | | |
898 | 898 | | |
899 | 899 | | |
| 900 | + | |
| 901 | + | |
900 | 902 | | |
901 | 903 | | |
902 | 904 | | |
| |||
941 | 943 | | |
942 | 944 | | |
943 | 945 | | |
| 946 | + | |
944 | 947 | | |
945 | 948 | | |
946 | 949 | | |
| |||
1066 | 1069 | | |
1067 | 1070 | | |
1068 | 1071 | | |
1069 | | - | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
1070 | 1078 | | |
1071 | 1079 | | |
1072 | 1080 | | |
| |||
1447 | 1455 | | |
1448 | 1456 | | |
1449 | 1457 | | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
1450 | 1466 | | |
1451 | 1467 | | |
1452 | 1468 | | |
| |||
0 commit comments