Confirm and place B2B order
Accepts the terms and conditions agreement and places the B2B order. Once accepted, the order is finalised and an invoice-based payment record is created. Card and installment information are cleared since B2B does not use card payment.
Required Fields:
agreement: Must betrue.
Backward Navigation:
No state is reset on backward navigation.
Next Page:
ThankYouPage
available_for_post_order: false
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>)
Input for B2BPage. Accepts the terms and conditions agreement to finalise
the B2B (Business-to-Business) order.
Acceptance of the terms and conditions. Must be true to place the B2B order.
B2B order placed — routes to ThankYouPage
POST /orders/checkout/?page=B2BPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 18
"agreement=true"B2B order placed — routes to ThankYouPage
{
"context_list": [
{
"page_name": "ThankYouPage",
"page_slug": "thankyoupage",
"page_context": {
"redirect_url": "/orders/checkout/success/abc123/",
"order_id": 789,
"order_number": "ORD-789",
"new_user": false,
"token": null,
"campaigns": []
}
}
],
"errors": [],
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

