Order API: Add magic value to keep current file

This commit is contained in:
Raphael Michel
2021-04-16 15:26:49 +02:00
parent 16cd6598b3
commit 294cb65388
3 changed files with 28 additions and 1 deletions
+2 -1
View File
@@ -1629,7 +1629,8 @@ Manipulating individual positions
* ``answers``: If specified, you will need to provide **all** answers for this order position.
Validation is handled the same way as when creating orders through the API. You are therefore
expected to provide ``question``, ``answer``, and possibly ``options``. ``question_identifier``
and ``option_identifiers`` will be ignored.
and ``option_identifiers`` will be ignored. As a special case, you can submit the magic value
``"file:keep"`` as the answer to a file question to keep the current value without re-uploading it.
**Example request**: