---
title: "Compute guest checkout summary"
method: POST
path: "/v3/stores/{store_id}/public/checkout/summary"
tags: ["Storefront"]
---

# Compute guest checkout summary

`POST /v3/stores/{store_id}/public/checkout/summary`

## Request

- Base URL: `https://api.scalev.com`
- URL: `https://api.scalev.com/v3/stores/{store_id}/public/checkout/summary`
- Auth: none required

Public storefront endpoint. Recomputes the selected shipping cost from destination, courier service, warehouse, payment method, and either direct `items` or the guest cart referenced by `X-Scalev-Guest-Token`. Client-supplied `shipping_cost` is ignored. Digital-only carts return `shipping_cost: "0"`. An optional `discount_code_code` is revalidated. Service fees use the current Store customer-fee policy and are returned for display without a confirmation ID.

## Request body

- StorefrontCheckoutSummaryRequest
  - `items` StorefrontCheckoutItem[]: Optional direct item source. If supplied, these items are used for the shipping-options calculation. Otherwise the guest cart referenced by `X-Scalev-Guest-Token` is used.
    - union
      - StorefrontCheckoutVariantItem
        - `type` 'variant', required
        - `variant_id` integer, required
        - `quantity` integer, required
      - StorefrontCheckoutBundlePriceOptionItem
        - `type` 'bundle_price_option', required
        - `bundle_price_option_id` integer, required: Bundle price option ID from the storefront catalog.
        - `quantity` integer, required
  - `destination` StorefrontCheckoutDestination
    - `location_id` union, required
      - integer
      - string
    - `postal_code` string, required
  - `payment_method` string
  - `courier_service_id` union
    - integer
    - string
  - `warehouse_unique_id` string
  - `courier_aggregator_code` string, nullable
  - `shipping_option` StorefrontSelectedShippingOption
    - `courier_service_id` union
      - integer
      - string
    - `warehouse_unique_id` string
    - `courier_aggregator_code` string, nullable
  - `selected_shipping_option` StorefrontSelectedShippingOption
    - `courier_service_id` union
      - integer
      - string
    - `warehouse_unique_id` string
    - `courier_aggregator_code` string, nullable
  - `shipping_cost` union
    - string, nullable
    - number
  - `discount_code_code` string, nullable: Optional discount code to revalidate and apply to this preview. Ineligible codes contribute zero discount.

## Response `200`

Guest checkout summary

- StorefrontCheckoutSummaryResponse
  - `product_price` union, required
    - string, nullable
    - number
  - `shipping_cost` union, required
    - string, nullable
    - number
  - `other_income` union, required
    - string, nullable
    - number
  - `other_income_name` string, nullable, required
  - `service_fee` union, required
    - string, nullable
    - number
  - `gross_revenue` union, required
    - string, nullable
    - number

## Other responses

- `400`: Bad Request
- `404`: Not Found

## Changes

- **2026-08-08** `730030bd6477`: 2 info
  - added the new optional request property `allOf[subschema #2]/discount_code_code`
  - added the required property `service_fee` to the response with the `200` status
- **2026-08-04** `4354959d76dc`: 2 info
  - added `#/components/schemas/StorefrontMoneyValue` to the `other_income` response property `allOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the `other_income` response property `oneOf` list for the response status `200`

[Operation history](https://skmtc.dev/scalev/apis/nexus-commerce-api/changes/v3/stores/:store_id/public/checkout/summary/post.md)

---

[API](https://skmtc.dev/scalev/apis/nexus-commerce-api.md) - [All operations](https://skmtc.dev/scalev/apis/nexus-commerce-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scalev/apis/nexus-commerce-api/revisions/6b9152f04622?raw)
