Compute an HTML Mode checkout summary
Page-scoped public endpoint used by Scalev.checkout.estimateSummary(payload). It accepts HTML Mode 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.
Request body
Example request
{
"items": [
{
"type": "product",
"variant_unique_id": "variant_x7f2a9",
"bundle_price_option_unique_id": "bundle_price_option_p4k8q2",
"quantity": 1
}
],
"destination": {
"address": "Jl. Kopi No. 1",
"postal_code": "10510"
},
"payment_method": "bank_transfer",
"shipping_option": {
"courier_code": "jne",
"service_code": "REG",
"name": "Regular"
}
}Response
HTML Mode checkout summary
Changes
Changed in 2 of the 4 revisions of this API.4
- ○
added the new optional request property
/new-optional-request-property
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
- ○
added to the
response propertyallOflist for the response statusresponse-property-all-of-added
- ○
removed
subschema #1subschema #2from theresponse propertyoneOflist for the response statusresponse-property-one-of-removed
- ○