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".

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

Store unique_id.

Body Params
items
array of objects
length between 1 and 50

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.

items
destination
object
string
string
string | null
shipping_option
object
selected_shipping_option
object

Ignored by the API. Shipping cost is recomputed from the selected courier service and destination.

Headers
string
required

Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes.

uuid

Browser-safe guest cart token returned by the first guest-cart response when no token is sent. Send it on later guest-cart and public checkout calls to keep the same cart after reloads.

Responses

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