Get Gift Card Remove Page context
A management page for removing an already-applied gift card reservation. The GET response returns an empty context. This is an independent step that can be submitted at any point once gift cards are enabled.
Preconditions:
None beyond the standard basket and session checks
Next Pages (after POST):
GiftCardPage— so the user can add another card or proceed
get
Header parameters
x-requested-withstring · enumRequiredDefault:
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: CookiestringOptional
Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Responses
200
Gift Card Remove Page context retrieved (empty)
application/json
errorsone of · nullableOptional
or
string[]Optional
template_namestringOptional
get/orders/checkout/?page=GiftCardRemovePage
GET /orders/checkout/?page=GiftCardRemovePage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
200
Gift Card Remove Page context retrieved (empty)
{
"context_list": [
{
"page_name": "GiftCardRemovePage",
"page_slug": "giftcardremovepage",
"page_context": {}
}
],
"pre_order": {
"user_email": "user@akinon.com"
},
"errors": [],
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

