From d7922571e7fac095bd8e16319060e70dbf86ec3e Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Tue, 26 Jul 2022 10:59:22 +0200 Subject: [PATCH] Docs: Add missing constraints on order codes --- doc/api/resources/orders.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/resources/orders.rst b/doc/api/resources/orders.rst index 429fdb58b..1282dc3ec 100644 --- a/doc/api/resources/orders.rst +++ b/doc/api/resources/orders.rst @@ -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