From 26257f082987b0ac334f20141db0161de86f94b4 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Fri, 22 Mar 2019 23:42:07 +0100 Subject: [PATCH] Refs #1195 -- Fix missing null annotations in the API --- doc/api/resources/items.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/resources/items.rst b/doc/api/resources/items.rst index 76096268b..a8b1d5679 100644 --- a/doc/api/resources/items.rst +++ b/doc/api/resources/items.rst @@ -36,7 +36,7 @@ admission boolean ``True`` for it (such as add-ons or merchandise). position integer An integer, used for sorting picture string A product picture to be displayed in the shop - (read-only). + (read-only, can be ``null``). sales_channels list of strings Sales channels this product is available on, such as ``"web"`` or ``"resellers"``. Defaults to ``["web"]``. available_from datetime The first date time at which this item can be bought @@ -60,7 +60,7 @@ checkin_attention boolean If ``True``, th that this ticket requires special attention if such a product is being scanned. original_price money (string) An original price, shown for comparison, not used - for price calculations. + for price calculations (or ``null``). require_approval boolean If ``True``, orders with this product will need to be approved by the event organizer before they can be paid.