Trigger remote price calculation for basket items
Calls BasketItemRemotePriceService.set_remote_prices() to fetch and apply remote prices for basket items that require external price resolution. No input data is required.
Required Fields: (none — submitting with an empty body is sufficient)
State Updates:
pre_order.data['are_remote_prices_set'] = true
Backward Navigation:
When navigating backward, both
has_remote_priceandare_remote_prices_setare removed frompre_order.data.
Next Pages:
ShippingOptionSelectionPage(or the configured shipping option selection variant)
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Remote prices set
POST /orders/checkout/?page=RemotePriceCalculationPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 2
""Remote prices set
{
"context_list": [
{
"page_name": "ShippingOptionSelectionPage",
"page_slug": "shippingoptionselectionpage",
"page_context": {
"shipping_options": [
{
"pk": 1,
"name": "Standard Shipping",
"slug": "standard-shipping"
}
]
}
}
],
"pre_order": {
"user_email": "user@akinon.com"
},
"errors": {},
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

