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_registermust 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.
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>)
Send barcode SMS page context retrieved
GET /orders/checkout/?page=SendBarcodeSmsPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
Send barcode SMS page context retrieved
{
"context_list": [
{
"page_name": "SendBarcodeSmsPage",
"page_slug": "sendbarcodesmspage",
"page_context": {}
}
]
}Last updated
Was this helpful?

