- Determining and selecting shipping methods
- Determining and selecting payment methods
- Calculating totals (including taking into account discounts, surcharges, and other price-relevant components)
- Checking and accepting checkout-relevant data (e.g. delivery/billing data, prerequisites, and conditions for order completion)
- Triggering order completion and transitioning into the respective payment flow (depending on the payment method)
This Storefront API is currently still being developed and is at present available only with a limited scope of functions. Which information and endpoints are currently included can be found in the interface description below. The further development of this interface is being continuously continued.
Supported methods
List of all supported methods.| Command | Endpoints | GET | PUT | POST | DELETE |
|---|---|---|---|---|---|
| Retrieve checkout status | checkout/status | ||||
| Set account type | checkout/setAccountType |
Methods for the checkout
The following methods provide information about the current checkout process of the active session.GET checkout/status
The following call returns the total costs for the checkout process (including small-quantity surcharge “surcharge”, shipping and payment method costs, vouchers, etc.). It can be used, for example, to update the total amount in the checkout without reloading the page.
Parameter overview
Header parameters
| Parameter | Description |
|---|---|
x-session | Required field ID of the current session. More information: Storefront API Basics |
Example response
POST checkout/setAccountType
The following call sets the type of account used for the order in the checkout. This determines whether the customer orders as a new customer, existing customer, or guest.Example request
Parameter overview
Header parameters
| Parameter | Description |
|---|---|
x-session | Required field ID of the current session. More information: Storefront API Basics |
Body parameters
| Parameter | Type | Description |
|---|---|---|
accountType | string | Required field Type of customer account. Valid values: - "new" - New customer - "registered" - Registered customer- "guest" - Order without registration |
