diff --git a/doc/api/resources/carts.rst b/doc/api/resources/carts.rst index 66feee20f0..cf270edca8 100644 --- a/doc/api/resources/carts.rst +++ b/doc/api/resources/carts.rst @@ -40,6 +40,11 @@ answers list of objects Answers to user seat objects The assigned seat (or ``null``) ├ id integer Internal ID of the seat instance ├ name string Human-readable seat name +├ zone_name string Name of the zone the seat is in +├ row_name string Name/number of the row the seat is in +├ row_label string Additional label of the row (or ``null``) +├ seat_number string Number of the seat within the row +├ seat_label string Additional label of the seat (or ``null``) └ seat_guid string Identifier of the seat within the seating plan ===================================== ========================== ======================================================= diff --git a/doc/api/resources/orders.rst b/doc/api/resources/orders.rst index 91cb580d0c..d6d1671a22 100644 --- a/doc/api/resources/orders.rst +++ b/doc/api/resources/orders.rst @@ -215,6 +215,11 @@ answers list of objects Answers to user seat objects The assigned seat. Can be ``null``. ├ id integer Internal ID of the seat instance ├ name string Human-readable seat name +├ zone_name string Name of the zone the seat is in +├ row_name string Name/number of the row the seat is in +├ row_label string Additional label of the row (or ``null``) +├ seat_number string Number of the seat within the row +├ seat_label string Additional label of the seat (or ``null``) └ seat_guid string Identifier of the seat within the seating plan pdf_data object Data object required for ticket PDF generation. By default, this field is missing. It will be added only if you add the diff --git a/src/pretix/api/serializers/order.py b/src/pretix/api/serializers/order.py index e9f183604b..4898b4e5b3 100644 --- a/src/pretix/api/serializers/order.py +++ b/src/pretix/api/serializers/order.py @@ -165,7 +165,7 @@ class InlineSeatSerializer(I18nAwareModelSerializer): class Meta: model = Seat - fields = ('id', 'name', 'seat_guid') + fields = ('id', 'name', 'seat_guid', 'zone_name', 'row_name', 'row_label', 'seat_label', 'seat_number') class AnswerSerializer(I18nAwareModelSerializer):