API: Support creating cart positions with vouchers (#2635)

This commit is contained in:
Raphael Michel
2022-05-10 12:19:04 +02:00
committed by GitHub
parent 25313bf044
commit 2fcd6bb3f5
5 changed files with 246 additions and 10 deletions

View File

@@ -172,8 +172,6 @@ Cart position endpoints
* does not check or calculate prices but believes any prices you send
* does not support the redemption of vouchers
* does not prevent you from buying items that can only be bought with a voucher
* does not support file upload questions
@@ -191,6 +189,7 @@ Cart position endpoints
* ``expires`` (optional)
* ``includes_tax`` (optional, **deprecated**, do not use, will be removed)
* ``sales_channel`` (optional)
* ``voucher`` (optional, expect a voucher code)
* ``answers``
* ``question``