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

Get Gift Card Update Amount Page context

A management page for adjusting the reserved amount of an already-applied gift card. Returns an empty context. This is an independent step that can be submitted at any point once gift cards are enabled and at least one reservation exists.

Preconditions:

  • At least one gift card reservation must exist

Next Pages (after POST):

  • EmptyPage

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

Gift Card Update Amount Page context retrieved (empty)

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

Gift Card Update Amount Page context retrieved (empty)

{
  "context_list": [
    {
      "page_name": "GiftCardUpdateAmountPage",
      "page_slug": "giftcardupdateamountpage",
      "page_context": {}
    }
  ],
  "pre_order": {
    "user_email": "user@akinon.com"
  },
  "errors": [],
  "template_name": "orders/checkout.html"
}

Last updated

Was this helpful?