v4

latestOpenAPI 3.0.3Proprietary2026-08-083483431.1 MB
Storefront

Compute guest checkout summary

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.

post/v3/stores/{store_id}/public/checkout/summary

Request body

payment_methodstring
warehouse_unique_idstring
courier_aggregator_codestring nullable
discount_code_codestring nullable

Optional discount code to revalidate and apply to this preview. Ineligible codes contribute zero discount.

Example request

{
  "payment_method": "bank_transfer"
}

Response

Guest checkout summary

other_income_namestring nullable required