In order to reduce the API calls with the Commerce Platform, there is an easy and more traditional way of integration for most shop systems today. The Commerce Case, Checkout and Order will be created with one request.
High-Level summary:
In this process flow, there is only one request required to create a Commerce Case with a Checkout and to automatically trigger the Order.
Note: for card payments, the retokenization has to be performed before creating the request.
POST Commerce Case
|
|
Note: Redirect / authentication not shown here
After completing the Order (resulting in a successful payment) all the details for the Commerce Case and Checkout can be retrieved.
GET Commerce Case
|
|
Once the items are ready for shipment, the Deliver can be performed to capture the money from the reservation and to mark the items as DELIVERED.
POST Deliver
|
|