Compute a page runtime checkout summary

Page-scoped public endpoint used by Scalev.checkout.estimateSummary(payload). It accepts items, destination, payment_method, shipping_option, and an optional discount_code_code. It recomputes shipping and applies backend-owned Other Income and service fees for display. The current Store settings are the authoritative customer-fee policy; clients do not submit that policy or a fee confirmation ID. Authorized Builder pages use this same runtime API. With allow_incomplete: true, missing delivery selections return an explicitly incomplete product subtotal, never a payable total. For the current published builder form, an unselected postcode alone does not prevent a shipping quote; the form and order endpoint still enforce postcode collection. Authored HTML and storefront rules stay strict. With include_breakdown: true, the response also includes backend-owned receipt lines and discount amounts. Equal-price occurrences of the same variant across selected items and bundles share one receipt line with their combined quantity, retaining first occurrence order. Distinct catalog identities or unit prices remain separate. These flags default to false; omitting them preserves the existing complete-summary response. Published builder forms follow the landing-page draft order policy: insufficient stock alone does not make a quote incomplete. A quote is not inventory authorization; order creation and status transitions enforce the existing inventory policy. Storefront and authored HTML stock checks remain unchanged.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Public page unique ID.

Body Params

Landing page checkout summary payload. Pass the option returned by shippingOptions as shipping_option when the checkout contains physical items.

items
array of objects
length ≥ 1
items
destination
object

Buyer destination submitted by a landing page.

string
boolean
Defaults to false

Return is_complete: false and a product subtotal while required delivery selections are missing. Invalid items, unavailable shipping and payment failures still return normal errors. For the current published builder form, an unselected postcode alone does not prevent quoting shipping and totals; form and order validation still require it. An incomplete result must not enable order submission.

boolean
Defaults to false

With allow_incomplete, include a separate backend-calculated provisional receipt excluding shipping while delivery is missing. For a currently published builder form in the page's store, also return a non-payable receipt for blank, zero or below-minimum whole-IDR customer prices. Such results include invalid_customer_prices. Negative, fractional, excessive amounts and inactive or foreign catalog items still fail validation. This preview never authorizes order creation. Ordinary shipping validation and all order creation keep strict price checks.

boolean
Defaults to false

Include backend-owned receipt lines and product discount. A complete result also includes the applied discount-code amount. This flag affects presentation only; it does not authorize an order or let the client override prices or eligibility.

shipping_option
object
string | null

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

Headers
string
required

Publishable page public API key for the page_unique_id path page. Storefront public API keys are not accepted on page-scoped public routes.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json