API: add api_meta to order

This commit is contained in:
Richard Schreiber
2024-07-18 10:01:03 +02:00
committed by GitHub
parent 9e61f7f978
commit 22e2143623
11 changed files with 70 additions and 10 deletions

View File

@@ -170,6 +170,17 @@ You will receive the request triggering the order creation as the ``request`` ke
As with all event-plugin signals, the ``sender`` keyword argument will contain the event.
"""
order_api_meta_from_request = EventPluginSignal()
"""
Arguments: ``request``
This signal is sent before an order is created through the pretixpresale frontend. It allows you
to return a dictionary that will be merged in the api_meta attribute of the order.
You will receive the request triggering the order creation as the ``request`` keyword argument.
As with all event-plugin signals, the ``sender`` keyword argument will contain the event.
"""
checkout_confirm_page_content = EventPluginSignal()
"""
Arguments: ``request``