For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Slot Selection Page context

Returns the available delivery time slots for the user to choose from. Slots are generated by SlotService.generate_slots() based on configured slot day counts and the selected delivery option.

Preconditions:

  • Basket must not be empty

  • User email must be set (user_email_not_empty)

  • A shipping address must be selected (check_address_selected)

Skip Conditions:

  • Page is skipped if a delivery range has already been selected (i.e., delivery_range is set in the pre-order)

Next Pages:

  • PaymentOptionSelectionPage

get
Header parameters
x-requested-withstring · enumRequired

Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.

Default: XMLHttpRequestPossible values:
CookiestringOptional

Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)

Responses
200

Slot Selection Page context retrieved

application/json
errorsone of · nullableOptional
or
string[]Optional
template_namestringOptional
get/orders/checkout/?page=SlotSelectionPage
GET /orders/checkout/?page=SlotSelectionPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
200

Slot Selection Page context retrieved

{
  "context_list": [
    {
      "page_name": "SlotSelectionPage",
      "page_slug": "slotselectionpage",
      "page_context": {
        "slots": [
          {
            "date": "2026-05-01",
            "slots": [
              {
                "lower": "2026-05-01T10:00:00+03:00",
                "upper": "2026-05-01T14:00:00+03:00",
                "label": "10:00 - 14:00"
              }
            ]
          }
        ]
      }
    }
  ],
  "pre_order": {
    "user_email": "user@akinon.com",
    "delivery_range": null
  },
  "errors": [],
  "template_name": "orders/checkout.html"
}

Last updated

Was this helpful?