Send Barcode SMS to Customer
Sends the order barcode URL to the specified phone number via SMS. This is an independent page — it does not advance the checkout flow.
Required Fields:
phone_number: The recipient's phone number, validated against the configured phone number format.
SMS Content: The SMS contains a signed URL pointing to the order barcode page. The URL allows the customer to display the barcode on their own device.
Cooldown Enforcement: After a successful send, the SMS cannot be resent until the cooldown period configured by ORDER_BARCODE_SENT_SMS_EXPIRATION_IN_SECONDS has elapsed. Submitting before the cooldown expires will result in a precondition failure.
Client Type Restriction: Only in-store clients (ClientType.instore) are permitted to submit this page.
Navigation After Success: Returns to an empty (no further action) state. The checkout flow position is not changed.
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>)
Recipient phone number for the barcode SMS. Validated against the configured phone number format.
+905551234567Barcode SMS sent successfully
POST /orders/checkout/?page=SendBarcodeSmsPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 32
"phone_number='+905551234567'"Barcode SMS sent successfully
{
"context_list": [],
"errors": {}
}Last updated
Was this helpful?

