Test Cases
The following test scenarios has to be done for the connection via API.
Before Go-Live please process the following tests if you connect front- and backend through our API.

A: Partial cancellations

1. Structure the order as follows:
  • 1 x Article A
  • 1 x Article B
  • Shipping costs
  • Discount voucher (e.g. 10% or 5,00 €)
2. Execute a partial cancellation for Article A. (<cancellation>)
3. Cancel Article B, Shipping costs and the voucher. (<cancellation>)

B: Full cancellation

  1. 1.
    Structure the order as follows:
  • 1 x Article A
  • 1 x Article B
  • Shipping costs
2. Cancel the full order. (<cancellation>)

C: Partial deliveries

  1. 1.
    Structure the order as follows:
  • 2 x Article A
  • 1 x Article B
  • Shipping costs
  • Discount voucher (e.g. 10% or 5,00 €)
2. Execute a partial delivery for the following items: (<confirmation_deliver>)
  • 1 x Article A
  • Shipping costs
  • Discount voucher
3. Execute a second delivery for the remaining articles. (<confirmation_deliver>)

D: Partial cancellation & remaining delivery

1. The order should be structured as follows:
  • 1 x Article A
  • 1 x Article B
  • Shipping costs
  • Discount voucher (e.g. 5,00 €)
2. Perform a partial cancellation for article A. (<cancellation>)
3. Execute a delivery for the remaining articles. (<confirmation_deliver>)

E: Partial returns

1. The order should be structured as follows:
  • 2 x Article A
  • 1 x Article B
  • Shipping costs
  • Discount voucher (e. g. 10%)
2. Perform a delivery for all articles. (<confirmation_deliver>)
3. Execute a partial return with the following articles: (<return>)
  • 1 x Article A
4. Finally return the remaining articles: (<return>)
  • 1 x Article A
  • 1 x Article B
  • Shipping costs
  • Discount voucher (e. g. 10%)

F: Full return

1. The order should be structured as follows:
  • 2 x Article A
  • Shipping costs
  • Discount voucher (e.g. 10% or 5,00 €)
2. Perform a full delivery. (<confirmation_deliver>)
3. Finally return all articles. (<return>)

G: Discount before delivery

1. The order should be structured as follows:
  • 1 x Article A
2. Apply a discount with a negative value. (<change-order>)
3. Execute a full delivery. (<confirmation_deliver>)

H: Add article (if contractually agreed)

1. The order should be structured as follows:
  • 1 x Article A
  • 1 x Article B
  • Shipping costs
  • Discount voucher (e.g. 10% or 5,00 €)
2. Add another item in addition. (<change_order>)
3. Execute a full delivery. (<confirmation_deliver>)

I: Exchange article

  1. 1.
    The order should be structured as follows:
  • 1 x Article A
  • 1 x Article B
  • Shipping costs
  • Discount voucher (e. g. 10% or 5,00)
2. Perform a full delivery (<confirmation_deliver>)
3. Return Article A (<return>)
4. Add another item (<change_order>)
  • 1 x Article C
5. Perfom a delivery for Article C (<confirmation_deliver>)

J: Voucher value is higher than remaining receivable

  1. 1.
    The order should be structured as follows:
  • 1 x Article A (e. g. 40,00 €)
  • 1 x Article B (e. g. 20,00 €)
  • 1 x Redeeming of gift voucher in the amount of e. g. 50,00 € (the value of the voucher should be below the order value)
2. Make a delivery for the order. (<confirmation_deliver>)
3.Execute a partial return for article B. (<return>)
Because here in this example a receivable value of -10,00 € arises, a return must be carried out for the entire order.

K: Discount & additional charge (if contractually agreed)

1. The order should be structured as follows:
  • 3 x Article A
  • 3 x Article B
  • Shipping costs
2. Add a discount (discout with negative value) to the order. (<change-order>)
3. Perfom a partial delivery for the following articles: (<confirmation_deliver>)
  • 1 x Article A
  • 1x Article B
  • Discount
4. Add an additional debit / charge (e.g. fee) (<change-order>)
5. Perform a partial delivery for the remaining articles: (<confirmation_deliver>)
  • 2 x Article A
  • 2 x Article B
  • Additional charge
6. Finally, make another discount with a negative value. (<credit>)

L: Partial cancellation & partial return

1. The order should be structured as follows:
  • 2 x Article A
  • 2 x Article B
  • 2 x Article C
  • Shipping costs
2. Perform a partial delivery for 3 articles + shipping costs: (<confirmation_deliver>)
  • 2 x Article A
  • 1 x Article B
  • Shipping costs
3. Perform a partial cancellation for Article C. (<cancellation>)
4. Execute a partial return for the following articles: (<return>)
  • 1 x Article A
  • 1 x Article B
5. Make a partial delivery for the remaining articles: (<confirmation_deliver>)
  • 1 x Article B
  • 1 x Article C
6. Complete a full return for the remaining three articles. (<return>)

M: Rejection

Please transmit orders with the following data to trigger specific result and reason codes:
Result code
Reason code
First name
Last name
City
150
730
Buyer
Ablehnung
Testhausen
401
720
Payment
Ablehnung
Testhausen
401
721
Risk
Ablehnung
Testhausen
401
703
Generic*
Ablehnung
Testhausen
* For a rejection with reason code 703: Request not successful you can freely select a technically valid first name.
Please check whether these transactions were successfully rejected. Further check if the transactions do not appear in your subsequent systems.
Last modified 8mo ago
Copy link
On this page
A: Partial cancellations
B: Full cancellation
C: Partial deliveries
D: Partial cancellation & remaining delivery
E: Partial returns
F: Full return
G: Discount before delivery
H: Add article (if contractually agreed)
I: Exchange article
J: Voucher value is higher than remaining receivable
K: Discount & additional charge (if contractually agreed)
L: Partial cancellation & partial return
M: Rejection