Save or clear the order note
Accepts an optional note for the order and stores it in pre_order.data['notes']. Submitting a blank or null value removes any previously stored note. This is an independent page — submitting it does not advance the checkout flow.
Fields:
notes: Free-text note for the order. Maximum 320 characters.nullor empty string clears the note.
State Update:
If
notesis a non-empty string: stored inpre_order.data['notes'].If
notesisnullor empty:noteskey is removed frompre_order.data.
Backward Navigation:
When navigating backward,
notesis removed frompre_order.data.
Next Pages:
No further checkout page (
EmptyPage)
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>)
Free-text note to attach to the order. Maximum 320 characters.
Submitting null or an empty string clears any previously stored note.
Please leave at the door.Note saved or cleared
POST /orders/checkout/?page=OrderNotePage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 37
"notes='Please leave at the door.'"Note saved or cleared
{
"context_list": [
{
"page_name": "OrderNotePage",
"page_slug": "ordernotepage",
"page_context": {
"notes": "Please leave at the door."
}
}
],
"pre_order": {
"user_email": "user@akinon.com"
},
"errors": {},
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

