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

Get Send Barcode SMS Page context

Returns the context for the barcode SMS sending step. This is an independent page — submitting it does not advance the checkout flow state.

Preconditions:

  • SMS must not have been sent within the cooldown period (check_is_sent_sms_before)

  • Request must originate from an in-store client (check_client_type_is_instore)

  • A payment option of type cash_register must be selected (check_payment_option_is_cash_register)

  • A pre-order number must have been generated (check_has_pre_order_number)

SMS Cooldown: Once an SMS is sent, the same SMS cannot be resent until the cooldown period has elapsed. The cooldown duration is configured via the ORDER_BARCODE_SENT_SMS_EXPIRATION_IN_SECONDS setting (default: 1800 seconds).

Page Context: Returns an empty page context. The only required input is the recipient phone number.

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

Send barcode SMS page context retrieved

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

Send barcode SMS page context retrieved

{
  "context_list": [
    {
      "page_name": "SendBarcodeSmsPage",
      "page_slug": "sendbarcodesmspage",
      "page_context": {}
    }
  ]
}

Last updated

Was this helpful?