Docs: Add missing constraints on order codes

This commit is contained in:
Raphael Michel
2022-07-26 10:59:22 +02:00
parent f244c11f5e
commit d7922571e7

View File

@@ -853,7 +853,7 @@ Creating orders
You can supply the following fields of the resource:
* ``code`` (optional)
* ``code`` (optional) Only ``A-Z`` and ``0-9``, but without ``O`` and ``1``.
* ``status`` (optional) Defaults to pending for non-free orders and paid for free orders. You can only set this to
``"n"`` for pending or ``"p"`` for paid. We will create a payment object for this order either in state ``created``
or in state ``confirmed``, depending on this value. If you create a paid order, the ``order_paid`` signal will