Here you will find the associated messages and email templates used when adding, removing or updating items as well as when completing an order or during guest registration.
Overview of actions
The actions listed here are grouped thematically to provide a clear overview of the associated error messages and email templates. Actions that thematically belong to a different area can be found in the corresponding sections of this documentation or in the alphabetical overview of actions.Excerpt of the basic actions structure
{
"actions": {
...
"basketItemAdd": {...},
"basketItemDelete": {...},
"basketItemUpdate": {...},
"checkoutAccountTypeSelect": {...},
"checkoutBillAddressSelect": {...},
"checkoutConfirm": {...},
"checkoutPaymentUpdate": {...},
"checkoutPseudoCCSelect": {...},
"checkoutSetFreeFields": {...},
"checkoutSetGuestEmail": {...},
"checkoutShippingAddressSelect": {...},
"checkoutShippingMethodUpdate": {...},
"checkoutUseDifferentShippingAddress": {...},
"guestRegister": {...},
"directOrder": {...},
"voucherAdd": {...},
"voucherDelete": {...},
"inventoryReserve": {...},
...
}
}
Action overview
| Action | Description |
|---|---|
basketItemAdd | Defines error messages when adding an item to the basket. |
basketItemDelete | Defines error messages when removing an item from the basket. |
basketItemUpdate | Defines error messages when changing a basket line item. |
checkoutAccountTypeSelect | Defines error messages for the account type selection in the checkout. |
checkoutBillAddressSelect | Defines error messages when selecting the billing address in the checkout. |
checkoutConfirm | Defines emails and error messages for order completion. |
checkoutPaymentUpdate | Defines error messages when changing the payment method in the checkout. |
checkoutPseudoCCSelect | Defines error messages when selecting a saved (pseudo) credit card in the checkout. |
checkoutSetFreeFields | Defines error messages when checking free-text fields in the checkout. |
checkoutSetGuestEmail | Defines error messages when entering the email address for a guest order. |
checkoutShippingAddressSelect | Defines the error messages when selecting the shipping address in the checkout. |
checkoutShippingMethodUpdate | Defines error messages when changing the shipping method in the checkout. |
guestRegister | Defines emails and error messages for creating a customer account after a guest order. |
directOrder | Defines error messages for direct orders. |
voucherAdd | Defines error messages when adding a voucher to the basket. |
voucherDelete | Defines error messages when removing a voucher from the basket. |
inventoryReserve | Defines error messages when reserving inventory for basket line items. |
actions.basketItem* - Basket line item
actions.basketItemAdd - Add basket line item
The basketItemAdd action controls the error messages when adding an item to the basket.
Example configuration
{
"errorCodes": {
"accountNotVerified": "<Textbaustein>",
"basketLocked": "<Textbaustein>",
"missingProductId": "<Textbaustein>",
"missingQuantity": "<Textbaustein>",
"invalidQuantity": "<Textbaustein>",
"invalidProductId": "<Textbaustein>",
"invalidVariantId": "<Textbaustein>",
"insufficientAmount": "<Textbaustein>",
"quantityExceeded": "<Textbaustein>",
"childProductOnly": "<Textbaustein>",
"expressCheckoutNotAllowed": "<Textbaustein>",
"noVariantFound": "<Textbaustein>",
"invalidStore": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
errorCodes | object | Configures the error codes used for problems during the action. |
accountNotVerified | string | Error message output when the customer account has not yet been verified. |
basketLocked | string | Error message output when the basket is locked and currently cannot be modified (for example during a running express checkout). |
missingProductId | string | Error message output when no product ID was supplied. |
missingQuantity | string | Error message output when no order quantity was supplied. |
invalidQuantity | string | Error message output when the supplied order quantity is invalid. |
invalidProductId | string | Error message output when the supplied product ID is invalid. |
invalidVariantId | string | Error message output when the selected variant is invalid or unavailable. |
insufficientAmount | string | Error message output when there is not enough stock for the requested quantity. |
quantityExceeded | string | Error message output when a defined maximum order quantity is exceeded. |
childProductOnly | string | Error message output when an attempt is made to directly order a product that is only configurable as a “child” product. |
expressCheckoutNotAllowed | string | Error message output when the item may not be placed in the basket during an express checkout. |
noVariantFound | string | Error message output when no matching product variant is found for the selected options. |
invalidStore | string | Error message output when the selected pickup location is invalid or unavailable for the item. |
actions.basketItemDelete - Delete basket line item
The basketItemDelete action controls the error messages when removing an item from the basket.
Example configuration
{
"errorCodes": {
"accountNotVerified": "<Textbaustein>",
"basketLocked": "<Textbaustein>",
"missingBasketItemId": "<Textbaustein>",
"invalidBasketItemId": "<Textbaustein>",
"basketItemIsSetChild": "<Textbaustein>",
"itemNotRemovable": "<Textbaustein>",
"internalError": "<Textbaustein>",
"invalidChildItem": "<Textbaustein>",
"expressCheckoutNotAllowed": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
errorCodes | object | Configures the error codes used for problems during the action. |
accountNotVerified | string | Error message output when the customer account has not yet been verified. |
basketLocked | string | Error message output when the basket is locked and currently cannot be modified (for example during a running express checkout). |
missingBasketItemId | string | Error message output when no basket-item ID was supplied. |
invalidBasketItemId | string | Error message output when the supplied basket line item is invalid or cannot be found. |
basketItemIsSetChild | string | Error message output when an attempt is made to remove a variant that may only be removed via the main product. |
itemNotRemovable | string | Error message output when the corresponding line item may generally not be removed. |
internalError | string | Error message output when an unexpected system error occurs. |
invalidChildItem | string | Error message output when an invalid variant is referenced. |
expressCheckoutNotAllowed | string | Error message output when removing the line item is not allowed during an express checkout. |
actions.basketItemUpdate - Change basket line item
The basketItemUpdate action controls the error messages when changing a basket line item.
Example configuration
{
"errorCodes": {
"accountNotVerified": "<Textbaustein>",
"basketLocked": "<Textbaustein>",
"missingBasketItemId": "<Textbaustein>",
"missingQuantity": "<Textbaustein>",
"invalidBasketItemId": "<Textbaustein>",
"invalidQuantity": "<Textbaustein>",
"invalidProductId": "<Textbaustein>",
"invalidVariantId": "<Textbaustein>",
"insufficientAmount": "<Textbaustein>",
"quantityExceeded": "<Textbaustein>",
"childProductOnly": "<Textbaustein>",
"itemNotChangeable": "<Textbaustein>",
"internalError": "<Textbaustein>",
"invalidChildItem": "<Textbaustein>",
"expressCheckoutNotAllowed": "<Textbaustein>",
"noVariantFound": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
errorCodes | object | Configures the error codes used for problems during the action. |
accountNotVerified | string | Error message output when the customer account has not yet been verified. |
basketLocked | string | Error message output when the basket is locked and currently cannot be modified (for example during a running express checkout). |
missingBasketItemId | string | Error message output when no basket-item ID was supplied. |
missingQuantity | string | Error message output when no order quantity was supplied. |
invalidBasketItemId | string | Error message output when the supplied basket line item is invalid or cannot be found. |
invalidQuantity | string | Error message output when the supplied order quantity is invalid. |
invalidProductId | string | Error message output when the supplied product ID is invalid. |
invalidVariantId | string | Error message output when the selected variant is invalid or unavailable. |
insufficientAmount | string | Error message output when there is not enough stock for the requested quantity. |
quantityExceeded | string | Error message output when a defined maximum order quantity is exceeded. |
childProductOnly | string | Error message output when an attempt is made to directly order a product that is only configurable as a “child” product. |
itemNotChangeable | string | Error message output when the corresponding basket line item may generally not be changed. |
internalError | string | Error message output when an unexpected system error occurs. |
invalidChildItem | string | Error message output when an invalid variant is referenced. |
expressCheckoutNotAllowed | string | Error message output when the item may not be placed in the basket during an express checkout. |
noVariantFound | string | Error message output when no matching product variant is found for the selected options. |
actions.checkout* - Checkout
actions.checkoutAccountTypeSelect - Select account type
Controls the selection between guest order, existing customer and new customer to start the order in the checkout.
Example configuration
{
"errorCodes": {
"missingAccountType": "<Textbaustein>",
"invalidAccountType": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
errorCodes | object | Configures the error codes used for problems during the action. |
missingAccountType | string | Error message output when no account type was selected. |
invalidAccountType | string | Error message output when an invalid or unsupported account type was supplied. |
actions.checkoutBillAddressSelect - Select billing address
The checkoutBillAddressSelect action controls the error messages when selecting the billing address in the checkout.
Example configuration
{
"errorCodes": {
"missingAddressId": "<Textbaustein>",
"invalidAddressId": "<Textbaustein>",
"invalidBillAddress": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
errorCodes | object | Configures the error codes used for problems during the action. |
missingAddressId | string | Error message output when no address ID was supplied. |
invalidAddressId | string | Error message output when the supplied address ID is invalid or the address could not be found. |
invalidBillAddress | string | Error message output when the address may not be used as a billing address. |
actions.checkoutConfirm - Complete order
The checkoutConfirm action controls error messages and emails for order completion.
Example configuration
{
"customerEmail": {
"template": "order_confirmation_customer.htm",
"subject": "Ihre Bestellung bei Mein Onlineshop",
"fromAddress": "noreply@meinshop.de",
"fromName": "Mein Onlineshop",
"merchantEmail": "bestellungen@meinshop.de",
"attachments": [
{
"name": "AGB.pdf",
"file": "/files/agb.pdf"
}
]
},
"paymentFailedEmail": {
"template": "order_payment_failed.htm",
"subject": "Zahlung Ihrer Bestellung fehlgeschlagen",
"fromAddress": "noreply@meinshop.de",
"fromName": "Mein Onlineshop",
"merchantEmail": "zahlung@meinshop.de"
},
"errorCodes": {
"accountNotVerified": "<Textbaustein>",
"invalid": "<Textbaustein>",
"productsNotAvailableForOrder": "<Textbaustein>",
"requiredCheckboxUnchecked": "<Textbaustein>",
"requiredTextfieldEmpty": "<Textbaustein>",
"itemsExpired": "<Textbaustein>",
"expiredReservation": "<Textbaustein>",
"guestAccountsDisabled": "<Textbaustein>",
"inExpressCheckout": "<Textbaustein>",
"paymentBlocked": "<Textbaustein>",
"captchaFailed": "<Textbaustein>",
"clearingFailed": "<Textbaustein>",
"orderCreationFailed": "<Textbaustein>",
"checkoutCompletedError": "<Textbaustein>",
"simulateFailedPayment": "<Textbaustein>",
"noPermission": "<Textbaustein>",
"personalLimitExceeded": "<Textbaustein>",
"paymentLimitExceeded": "<Textbaustein>",
"basketNotVerified": "<Textbaustein>",
"voucherGenerateError": "<Textbaustein>",
"invalidVoucherId": "<Textbaustein>",
"voucherDeactivated": "<Textbaustein>",
"voucherExpired": "<Textbaustein>",
"voucherNotYetValid": "<Textbaustein>",
"voucherValueSpent": "<Textbaustein>",
"voucherInsuffientAmount": "<Textbaustein>",
"voucherCurrencyMismatch": "<Textbaustein>",
"voucherInvalidCustomer": "<Textbaustein>",
"voucherInvalidSubshop": "<Textbaustein>",
"voucherIneffective": "<Textbaustein>",
"voucherRepoUpdateFailed": "<Textbaustein>",
"voucherInvalidVoucherConfiguration": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
customerEmail | object | Configures the order confirmation email sent to the customer (incl. optional copy to the merchant and attachments). Subject, sender and template are controlled via the general email parameters, see here: Email settings |
customerEmail.attachments | array (object) | List of file attachments included in the order confirmation email (for example terms & conditions as PDF). For each attachment, provide name (displayed file name) and file (path to the file in the shop). See also Email settings. |
paymentFailedEmail | object | Configures the email that can be sent when payment fails. Subject, sender and template are controlled via the general email parameters, see here: Email settings |
errorCodes | object | Configures the error codes used for problems during the action. |
accountNotVerified | string | Error message output when the customer account has not yet been verified. |
invalid | string | Error message output when the order cannot be confirmed. |
productsNotAvailableForOrder | string | Error message output when at least one item in the basket is no longer orderable. |
requiredCheckboxUnchecked | string | Error message output when a required checkbox was not ticked. |
requiredTextfieldEmpty | string | Error message output when an input field marked as required is empty. |
itemsExpired | string | Error message output when items in the basket are no longer available in the meantime. |
expiredReservation | string | Error message output when a previously created basket reservation has expired. |
guestAccountsDisabled | string | Error message output when guest orders are disabled and a customer without an account tries to order. |
inExpressCheckout | string | Error message output when the regular order completion is not allowed during a running express checkout. |
paymentBlocked | string | Error message output when the payment is blocked due to a lock (for example IP or session block). |
captchaFailed | string | Error message output when the captcha check during order completion fails. |
clearingFailed | string | Error message output when payment authorization by the payment service provider fails. |
orderCreationFailed | string | Error message output when the order could not be created technically. |
checkoutCompletedError | string | Error message output when the checkout has already been completed and cannot be executed again. |
simulateFailedPayment | string | Error message output when a failed payment is simulated in test mode. |
noPermission | string | Error message output when the (sub-)account is not authorised to place orders. |
personalLimitExceeded | string | Error message output when the personal payment limit per order would be exceeded. |
paymentLimitExceeded | string | Error message output when the total payment limit stored for the account would be exceeded by the order. |
basketNotVerified | string | Error message output when the basket (in a B2B context) has not yet been approved/verified and therefore cannot be ordered. |
voucherGenerateError | string | Error message output when an error occurs while generating a voucher. |
invalidVoucherId | string | Error message output when the entered voucher code does not exist or is not recognised. |
voucherDeactivated | string | Error message output when the voucher is deactivated and can no longer be redeemed. |
voucherExpired | string | Error message output when the voucher has expired. |
voucherNotYetValid | string | Error message output when the voucher is only valid from a later date. |
voucherValueSpent | string | Error message output when the voucher has already been fully used. |
voucherInsuffientAmount | string | Error message output when the voucher amount is not sufficient for this order. |
voucherCurrencyMismatch | string | Error message output when the voucher was issued in a different currency than the one currently used in the basket. |
voucherInvalidCustomer | string | Error message output when the voucher is bound to a different customer. |
voucherInvalidSubshop | string | Error message output when the voucher is not valid in the current subshop. |
voucherIneffective | string | Error message output when a stored voucher has no effect on this order and therefore blocks the order. |
voucherRepoUpdateFailed | string | Error message output when the voucher status could not be updated technically upon redemption. |
voucherInvalidVoucherConfiguration | string | Error message output when the configuration of the voucher is invalid. |
actions.checkoutPaymentUpdate - Change payment method
The checkoutPaymentUpdate action controls the error messages when changing the payment method in the checkout.
Example configuration
{
"errorCodes": {
"missingPaymentId": "<Textbaustein>",
"inactivePayment": "<Textbaustein>",
"invalidPaymentId": "<Textbaustein>",
"expressCheckoutNotAllowed": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
errorCodes | object | Configures the error codes used for problems during the action. |
missingPaymentId | string | Error message output when no payment method was selected. |
inactivePayment | string | Error message output when the selected payment method is disabled in the shop. |
invalidPaymentId | string | Error message output when the supplied payment ID is invalid or the payment method was not found. |
expressCheckoutNotAllowed | string | Error message output when changing the payment method is not allowed during an express checkout. |
actions.checkoutPseudoCCSelect - Select credit card
The checkoutPseudoCCSelect action controls the error messages when selecting a saved credit card in the checkout.
Example configuration
{
"errorCodes": {
"notLoggedIn": "<Textbaustein>",
"missingPseudoId": "<Textbaustein>",
"notAllowed": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
errorCodes | object | Configures the error codes used for problems during the action. |
notLoggedIn | string | Error message output when a user who is not signed in tries to use a saved credit card. |
missingPseudoId | string | Error message output when no card reference (pseudo ID) was supplied. |
notAllowed | string | Error message output when the selected credit card may not be used in the current context. |
actions.checkoutSetFreeFields - Free-text fields in the checkout
The checkoutSetFreeFields action controls the error messages for the check of free-text fields in the checkout.
Example configuration actions.checkoutSetFreeFields
{
"errorCodes": {
"textfieldCheckFailed": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
errorCodes | object | Configures the error codes used for problems during the action. |
textfieldCheckFailed | string | Error message output when the validation of one or more free-text fields fails (for example, required field empty). |
actions.checkoutSetGuestEmail - Guest order
The checkoutSetGuestEmail action controls the error messages when entering the email address for a guest order.
Example configuration
{
"errorCodes": {
"missingGuestEmail": "<Textbaustein>",
"invalidGuestEmail": "<Textbaustein>",
"guestEmailAlreadyUsed": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
errorCodes | object | Configures the error codes used for problems during the action. |
missingGuestEmail | string | Error message output when no email address was entered. |
invalidGuestEmail | string | Error message output when the supplied email address does not match the expected format. |
guestEmailAlreadyUsed | string | Error message output when the email address is already associated with a registered customer account. |
actions.checkoutShippingAddressSelect - Select shipping address
The checkoutShippingAddressSelect action controls the error messages when selecting the shipping address in the checkout.
Example configuration
{
"errorCodes": {
"missingAddressId": "<Textbaustein>",
"invalidAddressId": "<Textbaustein>",
"expressCheckoutNotAllowed": "<Textbaustein>",
"invalidShippingAddress": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
errorCodes | object | Configures the error codes used for problems during the action. |
missingAddressId | string | Error message output when no address ID was supplied. |
invalidAddressId | string | Error message output when the supplied address ID is invalid or the address cannot be found. |
expressCheckoutNotAllowed | string | Error message output when selecting/changing the shipping address is not allowed during an express checkout. |
invalidShippingAddress | string | Error message output when the selected address may not be used as a shipping address. |
actions.checkoutShippingMethodUpdate - Select / change shipping method
The checkoutShippingMethodUpdate action controls the error messages when changing the shipping method in the checkout.
Example configuration
{
"errorCodes": {
"missingShippingMethodId": "<Textbaustein>",
"inactiveShippingMethodId": "<Textbaustein>",
"invalidShippingMethodId": "<Textbaustein>",
"reservationFailed": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
errorCodes | object | Configures the error codes used for problems during the action. |
missingShippingMethodId | string | Error message output when no shipping method was selected or no shipping method ID was supplied. |
inactiveShippingMethodId | string | Error message output when the selected shipping method is disabled in the shop or temporarily unavailable. |
invalidShippingMethodId | string | Error message output when the supplied shipping method ID is invalid or the shipping method cannot be found. |
reservationFailed | string | Error message output when a required reservation for the shipping method fails. |
actions.guestRegister - Registration after a guest order
The guestRegister action controls the error messages and emails when creating a full customer account from a guest order.
Example configuration
{
"verifyEmail": {
"template": "guest_register_verify.htm",
"subject": "Bitte bestätigen Sie Ihre Registrierung",
"fromAddress": "noreply@meinshop.de",
"fromName": "Mein Onlineshop"
},
"errorCodes": {
"nonGuestAccount": "<Textbaustein>",
"duplicateEmail": "<Textbaustein>",
"missingEmail": "<Textbaustein>",
"missingPassword": "<Textbaustein>",
"passwordMismatch": "<Textbaustein>",
"passwordCheckFailed": "<Textbaustein>",
"createError": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
verifyEmail | object | Configures the email through which the former guest customer can confirm their registration or email address. Subject, sender and template are controlled via the general email parameters, see here: Email settings |
errorCodes | object | Configures the error codes used for problems during the action. |
nonGuestAccount | string | Error message output when an attempt is made to register an account that is not a guest account. |
duplicateEmail | string | Error message output when a customer account already exists under the supplied email address. |
missingEmail | string | Error message output when no email address is supplied. |
missingPassword | string | Error message output when no password was supplied for the new customer account. |
passwordMismatch | string | Error message output when the password and password confirmation do not match. |
passwordCheckFailed | string | Error message output when the chosen password does not meet the password rules. |
createError | string | Error message output when the customer account could not be created technically. |
actions.directOrder - Direct order
The directOrder action controls the error messages for direct orders by item number.
Example configuration
{
"errorCodes": {
"invalidId": "<Textbaustein>",
"missingId": "<Textbaustein>",
"invalidQuantity": "<Textbaustein>",
"missingQuantity": "<Textbaustein>",
"productHasNoVariants": "<Textbaustein>",
"variantDoesNotExist": "<Textbaustein>",
"baseProductCanNotBeChosen": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
errorCodes | object | Configures the error codes used for problems during the action. |
invalidId | string | Error message output when the entered item/order number is invalid or no matching item can be found. |
missingId | string | Error message output when no item/order number was entered. |
invalidQuantity | string | Error message output when the supplied quantity is invalid. |
missingQuantity | string | Error message output when no order quantity was supplied. |
productHasNoVariants | string | Error message output when no variants exist for the selected item although a variant was expected. |
variantDoesNotExist | string | Error message output when the supplied variant does not exist. |
baseProductCanNotBeChosen | string | Error message output when the base product cannot be selected directly and a variant must be selected instead. |
actions.voucher* - Voucher
actions.voucherAdd - Redeem / add voucher
The voucherAdd action controls the error messages when adding a voucher to the basket.
Example configuration
{
"errorCodes": {
"missingId": "<Textbaustein>",
"duplicateId": "<Textbaustein>",
"invalidVoucherId": "<Textbaustein>",
"deactivated": "<Textbaustein>",
"expired": "<Textbaustein>",
"notYetValid": "<Textbaustein>",
"maxCountExceeded": "<Textbaustein>",
"valueSpent": "<Textbaustein>",
"insuffientAmount": "<Textbaustein>",
"currencyMismatch": "<Textbaustein>",
"invalidCustomer": "<Textbaustein>",
"invalidSubshop": "<Textbaustein>",
"repoUpdateFailed": "<Textbaustein>",
"invalidVoucherConfiguration": "<Textbaustein>",
"insufficientMinOrderValue": "<Textbaustein>",
"expressCheckoutNotAllowed": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
errorCodes | object | Configures the error codes used for problems during the action. |
missingId | string | Error message output when no voucher code was entered. |
duplicateId | string | Error message output when the same voucher code is already stored in the basket. |
invalidVoucherId | string | Error message output when the voucher code is invalid or no voucher can be found. |
deactivated | string | Error message output when the voucher has been disabled in the system. |
expired | string | Error message output when the validity period of the voucher has expired. |
notYetValid | string | Error message output when the voucher is only valid from a later date. |
maxCountExceeded | string | Error message output when the maximum number of allowed redemptions has been exceeded. |
valueSpent | string | Error message output when the voucher has already been fully redeemed and no residual value remains. |
insuffientAmount | string | Error message output when the voucher value is not sufficient for the current order. |
currencyMismatch | string | Error message output when the voucher was issued in a different currency than the one currently used in the basket. |
invalidCustomer | string | Error message output when the voucher is bound to a different customer than the one currently signed in. |
invalidSubshop | string | Error message output when the voucher may not be redeemed in the current subshop/shop. |
repoUpdateFailed | string | Error message output when the voucher status could not be updated technically upon redemption. |
invalidVoucherConfiguration | string | Error message output when the configuration of the voucher is invalid. |
insufficientMinOrderValue | string | Error message output when the minimum order value for redeeming the voucher is not reached. |
expressCheckoutNotAllowed | string | Error message output when redeeming a voucher is not allowed during an express checkout. |
actions.voucherDelete - Delete voucher
The voucherDelete action controls the error messages when removing a voucher from the basket.
Example configuration
{
"errorCodes": {
"invalidVoucherId": "<Textbaustein>",
"expressCheckoutNotAllowed": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
errorCodes | object | Configures the error codes used for problems during the action. |
invalidVoucherId | string | Error message output when the supplied voucher cannot be found in the basket or cannot be assigned. |
expressCheckoutNotAllowed | string | Error message output when removing a voucher is not allowed during an express checkout. |
actions.inventoryReserve - Reservation in the basket
The inventoryReserve action controls the error messages when reserving inventory for basket line items.
Example configuration
{
"errorCodes": {
"missingBasketItemId": "<Textbaustein>",
"invalidBasketItemId": "<Textbaustein>",
"noReservationFound": "<Textbaustein>",
"insufficientAmount": "<Textbaustein>",
"inventoryInactive": "<Textbaustein>",
"setChildReserveActionInvalid": "<Textbaustein>"
}
}
Parameter overview
| Parameter | Type | Description |
|---|---|---|
errorCodes | object | Configures the error codes used for problems during the action. |
missingBasketItemId | string | Error message output when no basket-item ID was supplied. |
invalidBasketItemId | string | Error message output when the supplied basket line item is invalid or cannot be found. |
noReservationFound | string | Error message output when no matching reservation can be found or created. |
insufficientAmount | string | Error message output when there is not enough stock available for the requested quantity. |
inventoryInactive | string | Error message output when the inventory management or reservation function is disabled in the system. |
setChildReserveActionInvalid | string | Error message output when a reservation of the requested form is not allowed for a set/child line item. |
