Registration ID
This is a plugin for pretix.
Adds an automatic, sequential registration ID (1, 2, 3, …) to orders. The ID is shown on the order page in the backend and, unless you hide it, to the customer.
Configure it under Settings → Registration ID in your event:
Select the products that should get a registration ID. Orders that contain none of them don’t get one.
Choose when the ID is assigned: when the order is placed, approved or paid. You can additionally have it assigned when an order is changed.
Optionally hide the ID from customers. It is then only shown in the backend and the API, and on tickets or badges if you add it to their layout.
Nothing is assigned until at least one product and a moment to assign it are selected. Orders placed before the plugin was configured don’t get a registration ID retroactively.
REST API
Look up an order by its registration ID:
GET /api/v1/organizers/<organizer>/events/<event>/regid/<registration ID>/
The response is the same as pretix’s GET .../orders/<code>/ (including positions with their question answers), with an additional regid field. The include and exclude query parameters of the order endpoint work here too. It requires the “view orders” permission and works with team API tokens, OAuth and devices with full device access. Devices with a pretixSCAN security profile are not allowed to use it.
Look up the registration ID of an order by its order code:
GET /api/v1/organizers/<organizer>/events/<event>/regid/by-order/<order code>/
This returns {"order": "<order code>", "regid": 42}, or "regid": null if the order has no registration ID. Unknown order codes return 404. The same permissions apply as above.
To install: pip3 install pretix-regid && python3 -m pretix migrate && python3 -m pretix rebuild && service pretix-web restart
Then just activate it in your event config.
Development setup
Make sure that you have a working pretix development setup.
Clone this repository.
Activate the virtual environment you use for pretix development.
Execute pip3 install -e . within this directory to register this application with pretix’s plugin registry.
Execute make within this directory to compile translations.
Restart your local pretix server. You can now use the plugin from this repository for your events by enabling it in the ‘plugins’ tab in the settings.
This plugin has CI set up to enforce a few code style rules. To check locally, you need these packages installed:
pip install flake8 isort black docformatter
To check your plugin for rule violations, run:
docformatter --check -r . black --check . isort -c . flake8 .
You can auto-fix some of these issues by running:
docformatter -r . isort . black .
To automatically check for these issues before you commit, you can run .install-hooks.
License
Copyright 2022 Christiaan de Die le Clercq (techwolf12)
Released under the terms of the Apache License 2.0
Metadata
Release files for pretix-regid 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pretix_regid-0.3.1.tar.gz | 19.2 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pretix_regid-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.6 kB
Release files / pretix_regid-0.3.1.tar.gz
| Download URL | pretix_regid-0.3.1.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9405ba515c84d0502f08188ae1f94ec20eb0fe74827c5ae8a7554d87515cd05
|
|
BLAKE2b-256 checksum How to use checksums |
6b79546920f581826139070dbcbd52c0e810b77e1849b9f82b523efcd834aef7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logRelease files / pretix_regid-0.3.1-py3-none-any.whl
| Download URL | pretix_regid-0.3.1-py3-none-any.whl |
|---|---|
| Size | 26.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
67263ceabf1a782af834d5dfa61b67f3900866421d38fe527b2b3e15e0e40b7a
|
|
BLAKE2b-256 checksum How to use checksums |
874ce2319ff87f4232a1af3f86c2b8dc869be3ae9565e6321c4282eaf52f77e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logSecurity for pretix-regid 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pretix_regid-0.3.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.