All checkout requests must be AJAX requests with the following header:
x-requested-with: XMLHttpRequest (required for all requests)
XMLHttpRequest
This header ensures that the API returns JSON responses instead of HTML templates.
Last updated 21 days ago
Was this helpful?